Created
January 18, 2025 10:49
-
-
Save subudear/a73b152f11155765b1dcaedd959279c9 to your computer and use it in GitHub Desktop.
Commands to create CA root keys
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
CA Root public key is added to AWS trust anchor | |
#generate CA Root private key | |
openssl genrsa -out rootCA.key 4096 | |
touch index | |
echo 01 > serial.txt | |
#generate CA Root public key request | |
openssl req -new -key rootCA.key -out rootCA.req -nodes -config root_request.config | |
#generate CA Root public key | |
openssl ca -out rootCA.pem -keyfile rootCA.key -selfsign -config root_certificate.config -in rootCA.req |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment