Skip to content

Instantly share code, notes, and snippets.

@maximkott
Last active August 26, 2015 08:28
Show Gist options
  • Save maximkott/45af53b0e7dcd122acc3 to your computer and use it in GitHub Desktop.
Save maximkott/45af53b0e7dcd122acc3 to your computer and use it in GitHub Desktop.
Create an ssh certificate
sudo openssl genrsa -out example.key 2048
sudo openssl req -new -key example.key -out example.csr
# or
sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout example.key -out example.crt
# https://www.digitalocean.com/community/tutorials/how-to-create-an-ssl-certificate-on-nginx-for-ubuntu-14-04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment