Skip to content

Instantly share code, notes, and snippets.

@franzwong
Last active July 3, 2018 01:08
Show Gist options
  • Save franzwong/29f7fb8253af5db0a79addf7ba5fd4d6 to your computer and use it in GitHub Desktop.
Save franzwong/29f7fb8253af5db0a79addf7ba5fd4d6 to your computer and use it in GitHub Desktop.
Create SSL
sudo openssl req -x509 -nodes \
-days 365 \
-newkey rsa:2048 \
-keyout /etc/ssl/mydomain_com.key \
-out /etc/ssl/mydomain_com.crt \
-subj '/CN=mydomain.com'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment