Self Signed SSL Certificates
April 29th 2007 02:31 am
I’ve been running around trying to find how to make self signed SSL certificates, since for some reason apache2 on Ubuntu Feisty is missing the apache2-ssl-cert executable, and some other junk.
Anyway, this is how you do it:
openssl req -new -x509 -days 365 -nodes -out out.pem -keyout out.pem
Replace the days argument with something you want, and replace the out.pem with something you want too. Make sure you the out and keyout are the same. The x509 argument might be changeable to other things, but I don’t know…this just works and I’m tired so I’ll look into it later.

