akephalos
akephalos copied to clipboard
javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated (NativeException)
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'
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
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.
+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.