mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2026-01-06 14:38:57 +01:00
- Enhanced generation CA script and config to further automate different actions
This commit is contained in:
parent
3681b118ec
commit
b29e23c586
2 changed files with 38 additions and 32 deletions
|
|
@ -25,29 +25,14 @@ policy = my_policy
|
|||
x509_extensions = v3_usr
|
||||
|
||||
[ my_policy ]
|
||||
countryName = optional
|
||||
stateOrProvinceName = optional
|
||||
countryName = supplied
|
||||
organizationName = match
|
||||
organizationalUnitName = optional
|
||||
commonName = supplied
|
||||
emailAddress = optional
|
||||
|
||||
[ req ]
|
||||
distinguished_name = my_req_dn
|
||||
x509_extensions = v3_ca
|
||||
|
||||
[ my_req_dn ]
|
||||
countryName = Country Name..............
|
||||
countryName_min = 2
|
||||
countryName_max = 2
|
||||
stateOrProvinceName = State or Province Name....
|
||||
localityName = Locality Name.............
|
||||
0.organizationName = Organization Name.........
|
||||
organizationalUnitName = Org. Unit Name............
|
||||
commonName = Common Name (required)....
|
||||
commonName_max = 64
|
||||
emailAddress = Email Address.............
|
||||
emailAddress_max = 64
|
||||
prompt = no
|
||||
|
||||
[ v3_ca ]
|
||||
basicConstraints = CA:TRUE
|
||||
|
|
@ -59,3 +44,6 @@ basicConstraints = CA:FALSE
|
|||
subjectKeyIdentifier = hash
|
||||
authorityKeyIdentifier = keyid,issuer
|
||||
|
||||
[ my_req_dn ]
|
||||
C=NL
|
||||
O=PolarSSL
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue