How to create a self-signed SSL certificate on Ubuntu 12.04 in one command line
My self-signed certificate for this blog just expired and I just created a new one. I remember having to type in multiple commands before to create one, but I found this command in one of my notes in Evernote (don’t remember where I got it from) which lets you create a self-signed certificate by just typing in one command line:
sudo openssl req -x509 -nodes -days 1825 -newkey rsa:2048 -keyout /etc/apache2/ssl/apache.key -out /etc/apache2/ssl/apache.crt
The above …