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 RSASSA-PSS private key for CA | |
# The key size is 2048; the exponent is 65537 | |
openssl genpkey -algorithm rsa-pss -pkeyopt rsa_keygen_bits:2048 -out CA.priKey | |
# Generate self-signed RSASSA-PSS CA | |
openssl req -x509 -new -key CA.priKey -subj "/CN=CA" -sha256 -out CA.cer | |
# Generate RSASSA-PSS private key for EE | |
openssl genpkey -algorithm rsa-pss -pkeyopt rsa_keygen_bits:2048 -out EE.priKey |
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
#!/bin/bash | |
# Easily generate a 10 year SSL certificate and key for development. It | |
# creates a configuration file for wild card domains, if no argument is passed | |
# in will fallback to "node.a" as the domain to use. | |
# | |
# Upon completion, these files should now exist:: | |
# | |
# * openssl.cnf | |
# * ssl.key | |
# * ssl.crt |