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.


About the author... Daniel Huckstep is a software engineer(ing student) at the University of Alberta. He enjoys all aspects of computers and their software, reptiles, guitar and music creation, reading, and macaroni salad.


Posted by darkhelmet under Linux & Programming |

Trackback URI | Comments RSS

Leave a Reply

My wishlist

 Subscribe in a reader
  • Categories

  • Tags

  • Monthly

  • Pages

  • Blogroll

  • Last.fm

  • Einstein@home

  • Word of the Day