File: proxy.cnf

package info (click to toggle)
openssl 3.0.17-1~deb12u3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm-proposed-updates
  • size: 66,480 kB
  • sloc: ansic: 473,090; perl: 192,620; asm: 6,546; sh: 1,185; makefile: 231; pascal: 43; lisp: 35; python: 29; ruby: 14; cpp: 10; sed: 6
file content (60 lines) | stat: -rw-r--r-- 1,785 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60

## Config file for proxy certificate testing.

# Comment out the next line to ignore configuration errors
config_diagnostics = 1

[ req ]
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 ]
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