Last active
November 22, 2019 07:59
-
-
Save ledangtuanbk/a4d31aa60343762b56c9909bf5790476 to your computer and use it in GitHub Desktop.
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
1. view ssl certificate text | |
openssl x509 -in cerfile.cer -noout -text | |
2. create private key and cert file | |
openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 365 | |
3. Generate a self-signed certificate | |
openssl req -x509 -sha256 -nodes -days 365 -newkey rsa:2048 -keyout privateKey.key -out certificate.crt | |
https://www.sslshopper.com/article-most-common-openssl-commands.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment