akephalos icon indicating copy to clipboard operation
akephalos copied to clipboard

javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated (NativeException)

Open andrewhavens opened this issue 13 years ago • 3 comments

I'm just getting started with Capybara and Akephalos. I ran into this message and I don't know what to do:

javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated (NativeException)
(druby://127.0.0.1:35580) org/jruby/RubyKernel.java:2042:in `send'
(druby://127.0.0.1:35580) org/jruby/RubyKernel.java:1417:in `loop'
(druby://127.0.0.1:35580) org/jruby/RubyProc.java:268:in `call'
(druby://127.0.0.1:35580) org/jruby/RubyProc.java:232:in `call'

andrewhavens avatar Mar 21 '11 17:03 andrewhavens

By the way, we are using a self signed SSL certificate which is probably why we are getting this error. I found this thread about ignoring SSL warnings in HTMLUnit. I'm not sure if this has anything to do with it. I also don't know how we could pass in this sort of parameter.

http://comments.gmane.org/gmane.comp.java.htmlunit.general/7132

andrewhavens avatar Mar 21 '11 19:03 andrewhavens

Would it be possible to add a config option to use setUseInsecureSSL(true)? I've tried modifying this in my local bundle but haven't been able to get it working so far.

estoner avatar Mar 22 '11 00:03 estoner

+1 for estoner's suggestions, I am running into the same issue of not having proper certificate in my dev environment and therefore getting the Exception.

dhenze avatar Jun 06 '11 17:06 dhenze