Question

Config SSL Certification on my Droplet

  • Posted August 8, 2014

Hello I follow the tutorial https://www.digitalocean.com/community/tutorials/how-to-create-a-ssl-certificate-on-apache-for-ubuntu-12-04 to configure my SSL Certification, but when I try to reload my Apache Service it can’t be possible, I see the directory of certification and only see a file called ssl-cert-snakeoil.pem but the file ssl-cert-snakeoil.key not exist. How I can create it and reload my apache service well?

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Check Step Three of that article. To generate a self-signed cert the following command is used:

sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/apache2/ssl/apache.key -out /etc/apache2/ssl/apache.crt