# Certificates

**URL:** <https://community.gatling.io/t/certificates/56>\
**Category:** Gatling (Open-Source)\
**Created:** [March 29, 2012, 7:16pm UTC](https://community.gatling.io/t/certificates/56 "2012-03-29T19:16:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bombay](https://avatars.discourse-cdn.com/v4/letter/b/958977/32.png) [@Bombay](https://community.gatling.io/u/Bombay)\
**Post date:** [March 29, 2012, 7:16pm UTC](https://community.gatling.io/t/certificates/56/1 "2012-03-29T19:16:23Z")

</div>

I seem to be having issues recording a site that uses a certificate. Firefox does not ask me to accept the certificate, because it already has been accepted. Yet, I cannot get past the login when the recorder is running. This is what is shown in the console:

13:09:15.105 [pool-2-thread-6][WARN] c.e.e.g.r.h.h.BrowserHttpsRequestHandler - Trying to connect to [https://eoctest.louisianaeoc.org:443](https://eoctest.louisianaeoc.org:443), make sure you’ve accepted the recorder certificate for this site  
13:09:30.245 [pool-2-thread-6][WARN] c.e.e.g.r.h.h.BrowserHttpsRequestHandler - Trying to connect to [https://eoctest.louisianaeoc.org:443](https://eoctest.louisianaeoc.org:443), make sure you’ve accepted the recorder certificate for this site  
Mar 29, 2012 1:09:30 PM org.jboss.netty.channel.SimpleChannelHandler  
WARNING: EXCEPTION, please implement com.excilys.ebi.gatling.recorder.http.handler.ServerHttpResponseHandler.exceptionCaught() for proper handling.  
org.jboss.netty.handler.codec.embedder.CodecEmbedderException: java.lang.NullPointerException  
at org.jboss.netty.handler.codec.embedder.AbstractCodecEmbedder$EmbeddedChannelPipeline.notifyHandlerException(AbstractCodecEmbedder.java:245)  
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:268)  
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:255)  
at org.jboss.netty.handler.codec.embedder.DecoderEmbedder.offer(DecoderEmbedder.java:70)  
at org.jboss.netty.handler.codec.http.HttpContentDecoder.decode(HttpContentDecoder.java:158)  
at org.jboss.netty.handler.codec.http.HttpContentDecoder.messageReceived(HttpContentDecoder.java:86)  
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:296)  
at org.jboss.netty.handler.codec.replay.ReplayingDecoder.unfoldAndFireMessageReceived(ReplayingDecoder.java:563)  
at org.jboss.netty.handler.codec.replay.ReplayingDecoder.callDecode(ReplayingDecoder.java:547)  
at org.jboss.netty.handler.codec.replay.ReplayingDecoder.messageReceived(ReplayingDecoder.java:441)  
at org.jboss.netty.handler.codec.http.HttpClientCodec.handleUpstream(HttpClientCodec.java:72)  
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:296)  
at org.jboss.netty.handler.codec.frame.FrameDecoder.unfoldAndFireMessageReceived(FrameDecoder.java:321)  
at org.jboss.netty.handler.codec.frame.FrameDecoder.callDecode(FrameDecoder.java:303)  
at org.jboss.netty.handler.codec.frame.FrameDecoder.messageReceived(FrameDecoder.java:208)  
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:268)  
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:255)  
at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:89)  
at org.jboss.netty.channel.socket.nio.AbstractNioWorker.processSelectedKeys(AbstractNioWorker.java:343)  
at org.jboss.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:226)  
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)  
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)  
at java.lang.Thread.run(Thread.java:662)  
Caused by: java.lang.NullPointerException  
at org.jboss.netty.util.internal.jzlib.InfCodes.proc(InfCodes.java:178)  
at org.jboss.netty.util.internal.jzlib.InfBlocks.proc(InfBlocks.java:538)  
at org.jboss.netty.util.internal.jzlib.Inflate.inflate(Inflate.java:283)  
at org.jboss.netty.util.internal.jzlib.ZStream.inflate(ZStream.java:89)  
at org.jboss.netty.handler.codec.compression.ZlibDecoder.decode(ZlibDecoder.java:123)  
at org.jboss.netty.handler.codec.oneone.OneToOneDecoder.handleUpstream(OneToOneDecoder.java:67)  
… 22 more

Any help is appreciated. Thank you.

---

<div class="post-metadata">

**Author:** ![Excilys](https://avatars.discourse-cdn.com/v4/letter/e/8797f3/32.png) [@Excilys](https://community.gatling.io/u/Excilys)\
**Post date:** [March 30, 2012, 6:25am UTC](https://community.gatling.io/t/certificates/56/2 "2012-03-30T06:25:56Z")

</div>

Hi,

Strange that Firefox doesn’t ask you for accepting the self-signed Gatling certificate, because that’s exactly what the stacktrace is about.

What is your firefox version?  
Could you have a look into Advanced \> Option \> Encryption \> Show certificates \> Servers and tell me what you see for [https://eoctest.louisianaeoc.org](https://eoctest.louisianaeoc.org/), please?  
Could you try with a fresh Firefox install? Sometimes certificates are not properly deleted.

I’m perfectly able to login to https:[github.com](http://github.com) with the recorder, so if the problem is indeed in Gatling and not in your Firefox, I’m afraid it’s not a simple one and I won’t be able to help you without reproducing extractly what you’re doing and though having an account for your website…

Cheers,

Stephane

2012/3/29 Bombay \<[wsstillman@gmail.com](mailto:wsstillman@gmail.com)\>
