Created
April 21, 2019 19:17
-
-
Save eloylp/36e3320eb947c52fe7890ed6a12949f9 to your computer and use it in GitHub Desktop.
Self signed certificate with own ca
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 -new -x509 -days 720 -extensions v3_ca -keyout my-ca.key -out my-ca.crt | |
openssl genrsa -out server.key | |
openssl req -out server.csr -key server.key -new | |
openssl x509 -req -in server.csr -CA my-ca.crt -CAkey my-ca.key -CAcreateserial -out server.crt -days 720 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment