Last active
April 29, 2022 20:42
-
-
Save kenjij/354e8073cfde3b86dfc8 to your computer and use it in GitHub Desktop.
OpenSSL SSL certificate generation process
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
# Generate private key with passphrase | |
openssl genrsa -des3 -out server.key 2048 | |
# Private key without passpharase; UNDERSTAND THE RISK! | |
openssl rsa -in server.key -out server.key-nopass | |
# Generate CSR to submit to CA | |
openssl req -new -sha256 -key server.key -out server.csr | |
# Check/view CSR | |
openssl req -text -noout -verify -in server.csr |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment