Getting Java to trust your SSL protected server on Ubuntu

81 views
Skip to first unread message

Aaron Zirbes

unread,
Feb 3, 2012, 6:04:20 AM2/3/12
to groo...@googlegroups.com
Indirectly related to Groovy/Grails, but I thought others would find this useful...

I just found a slick way to get the JVM on Ubuntu to trust your server(s) SSL cert(s).
I had to add a few of these to get Jenkins to trust my staging servers SSL certs (since there's a new
intermediate cert that Java didn't trust...boom, stacktrace!) and it's pretty painless.

This should work fine for self-signed certs as well.

The magic script is here:


Hope it help someone!

--
Aaron
Reply all
Reply to author
Forward
0 new messages