Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
andrewhavens opened this issue Mar 21, 2011 · 3 comments

Comments

@andrewhavens
Copy link

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
Copy link
Author

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

@estoner
Copy link

estoner commented Mar 22, 2011

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.

@dhenze
Copy link

dhenze commented Jun 6, 2011

+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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants