mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-08-09 07:23:56 +08:00
Add gmca
gmca is a command line tool to make CA maintaining easier.
This commit is contained in:
26
apps/gmca/setup.cnf
Normal file
26
apps/gmca/setup.cnf
Normal file
@@ -0,0 +1,26 @@
|
||||
|
||||
[ req ]
|
||||
prompt = no
|
||||
distinguished_name = req_distinguished_name
|
||||
attributes = req_attributes
|
||||
req_extensions = v3_ca
|
||||
dirstring_type = nobmp
|
||||
|
||||
[ req_distinguished_name ]
|
||||
C=CN
|
||||
ST=BJ
|
||||
L=BJ
|
||||
O=PKU
|
||||
OU=CA
|
||||
CN=PKUCA
|
||||
|
||||
[ req_attributes ]
|
||||
challengePassword = A challenge password
|
||||
challengePassword_min = 4
|
||||
challengePassword_max = 20
|
||||
|
||||
[ v3_ca ]
|
||||
|
||||
subjectKeyIdentifier=hash
|
||||
authorityKeyIdentifier=keyid:always,issuer:always
|
||||
basicConstraints = critical, CA:true
|
||||
Reference in New Issue
Block a user