Skip to content

Instantly share code, notes, and snippets.

@rahulremanan
Created December 31, 2022 10:13
Show Gist options
  • Save rahulremanan/90caa1b38c137f905c7c14e8d42b42f8 to your computer and use it in GitHub Desktop.
Save rahulremanan/90caa1b38c137f905c7c14e8d42b42f8 to your computer and use it in GitHub Desktop.
Generate private key for the intermediate certificate
!cd /root/ca;\
openssl genrsa -aes256 \
-passout pass:password \
-out intermediate/private/inter.key.pem 4096
!chmod 400 /root/ca/intermediate/private/inter.key.pem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment