SSL Certificate Generation in 30 seconds*
Posted on September 18, 2007
Here's my mini guide on creating SSL certificates for use in Apache.
I create a lot of these things, so saving 45 seconds per request really adds up!
* Well, it depends how fast you can type copy and paste. Step 1- create the key and request
openssl req -new > new.cert.csr
Step 2- remove the passphrase from the key
openssl rsa -in privkey.pem -out server.key
Step 3 - convert request into signed cert
openssl x509 -in new.cert.csr -out server.crt -req -signkey server.key -days 365
This will create you a self-signed certificate. It will work fine, but I highly recommend you get it signed by a trusted party if you are using it in a live enviroment.
Related posts
- Cheat Sheet – Seconds to real time
Caching stuff? Expiring stuff? Crap at math(s)? Too lazy to boot up a calculator? Here's... - CAPTCHA Image Generation
I couldn't find a very good CAPTCHA generation script in PHP, all the ones I... - KB_CAPTCHA – CAPTCHA Image Generation in PHP
Introduction KB_Captcha is a simple PHP script to generate reasonably safe CAPTCHA image to secure... - iCalendar Generation
One of my clients requested that the CRM applicationI wrote should interact with Outlook Calender.... - System Monitoring on Ubuntu in 30 seconds
Installing munin has to be the fastest and simplest way of installing a visual system...


