Skip to content

Instantly share code, notes, and snippets.

@nishim
Last active February 4, 2018 07:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nishim/f39fa9ea1d041de66e83f5267b317ea0 to your computer and use it in GitHub Desktop.
Save nishim/f39fa9ea1d041de66e83f5267b317ea0 to your computer and use it in GitHub Desktop.
[ req ]
default_bits = 4096
default_md = sha512
prompt = no
encrypt_key = no
distinguished_name = req_distinguished_name
x509_extensions = v3_ca
[ req_distinguished_name ]
countryName = "JP"
commonName = "My CA"
[ v3_ca ]
basicConstraints = critical, CA:true
subjectKeyIdentifier = hash
keyUsage = critical, keyCertSign, cRLSign
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment