SSL: Apache CRT => Pound PEM

Written by: | Posted on:

To convert a certificate generated for Apache to a PEM file usable for Pound, do this:

openssl x509 -in mycert.crt -out mycert.pem
openssl rsa -in mycert.key >> mycert.pem

Now your certificate that was generated for Apache's SSL is ready to be used by Pound

SSL support in Java

Written by: | Posted on:

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
Image Image

Father, husband, software developer, musician and photographer.


Get to know what I'm up to

© 2020 Niklas Saers Contact Me