Created
October 23, 2015 05:45
-
-
Save ViKingIX/4730b30a3e07347e2e4d to your computer and use it in GitHub Desktop.
Create a self signed certificate in one line
This file contains 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
openssl req -x509 -newkey rsa:2048 -keyout $NAME.key -out $NAME.pem -days 365 -nodes \ | |
-subj "/C=TW/ST=Taiwan/L=Taipei/O=$ORG/OU=$UNIT/CN=$NAME" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment