mirror of
https://github.com/openssl/openssl.git
synced 2024-12-15 06:01:37 +08:00
62 lines
1.8 KiB
Plaintext
62 lines
1.8 KiB
Plaintext
|
|
||
|
## Config file for proxy certificate testing.
|
||
|
|
||
|
[ req ]
|
||
|
default_bits = 2048
|
||
|
default_keyfile = keySS.pem
|
||
|
distinguished_name = req_distinguished_name_p1
|
||
|
encrypt_rsa_key = no
|
||
|
default_md = sha256
|
||
|
|
||
|
[ req_distinguished_name_p1 ]
|
||
|
countryName = Country Name (2 letter code)
|
||
|
countryName_value = AU
|
||
|
organizationName = Organization Name (eg, company)
|
||
|
organizationName_value = Dodgy Brothers
|
||
|
0.commonName = Common Name (eg, YOUR name)
|
||
|
0.commonName_value = Brother 1
|
||
|
1.commonName = Common Name (eg, YOUR name)
|
||
|
1.commonName_value = Brother 2
|
||
|
2.commonName = Common Name (eg, YOUR name)
|
||
|
2.commonName_value = Proxy 1
|
||
|
|
||
|
[ proxy ]
|
||
|
basicConstraints = CA:FALSE
|
||
|
subjectKeyIdentifier = hash
|
||
|
authorityKeyIdentifier = keyid,issuer:always
|
||
|
proxyCertInfo = critical,language:id-ppl-anyLanguage,pathlen:1,policy:text:AB
|
||
|
|
||
|
####################################################################
|
||
|
|
||
|
[ proxy2_req ]
|
||
|
default_bits = 2048
|
||
|
default_keyfile = keySS.pem
|
||
|
distinguished_name = req_distinguished_name_p2
|
||
|
encrypt_rsa_key = no
|
||
|
default_md = sha256
|
||
|
|
||
|
[ req_distinguished_name_p2 ]
|
||
|
countryName = Country Name (2 letter code)
|
||
|
countryName_value = AU
|
||
|
organizationName = Organization Name (eg, company)
|
||
|
organizationName_value = Dodgy Brothers
|
||
|
0.commonName = Common Name (eg, YOUR name)
|
||
|
0.commonName_value = Brother 1
|
||
|
1.commonName = Common Name (eg, YOUR name)
|
||
|
1.commonName_value = Brother 2
|
||
|
2.commonName = Common Name (eg, YOUR name)
|
||
|
2.commonName_value = Proxy 1
|
||
|
3.commonName = Common Name (eg, YOUR name)
|
||
|
3.commonName_value = Proxy 2
|
||
|
|
||
|
[ proxy_2 ]
|
||
|
basicConstraints = CA:FALSE
|
||
|
subjectKeyIdentifier = hash
|
||
|
authorityKeyIdentifier = keyid,issuer:always
|
||
|
proxyCertInfo = critical,@proxy_ext
|
||
|
|
||
|
[ proxy_ext ]
|
||
|
language = id-ppl-anyLanguage
|
||
|
pathlen = 0
|
||
|
policy = text:BC
|