Report this

What is the reason for this report?

Config SSL Certification on my Droplet

Posted on 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?



This textbox defaults to using Markdown to format your 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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.