Last active
July 3, 2018 01:08
-
-
Save franzwong/29f7fb8253af5db0a79addf7ba5fd4d6 to your computer and use it in GitHub Desktop.
Create SSL
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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