Skip to content

Instantly share code, notes, and snippets.

@hectorperez
Last active August 29, 2015 14:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hectorperez/533f1f6015fa8946d826 to your computer and use it in GitHub Desktop.
Save hectorperez/533f1f6015fa8946d826 to your computer and use it in GitHub Desktop.
Self Signed SSL Certificate
sudo openssl req -x509 -nodes -days 3650 -newkey rsa:2048 -keyout /etc/apache2/ssl/apache.key -out /etc/apache2/ssl/apache.crt
The most important line is "Common Name". Enter your official domain name here or, if you don't have one yet, your site's IP address.
https://www.digitalocean.com/community/articles/how-to-create-a-ssl-certificate-on-apache-for-ubuntu-12-04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment