SSL support in Java

POSTED BY niklas on Nov 14 under Work

I’m making an XMLRPC server in Python that I need to access from a Java Servlet. But the default security manager is picky about allowing SSL certificates it does not trust (if you were in doubt: this is a good thing! :-) ). The solution (based on this site was:

openssl x509 -in server.crt -out server.crt.der -outform der
keytool -keystore $JAVAHOME/jre/lib/security/cacerts -alias pySSL -import -file server.crt.der

Leave a Comment

If you would like to make a comment, please fill out the form below.

Name (required)

Email (required)

Website

Comments

Copyright Niklas Saers, 2000-2008