File: trust_dir.cnf

package info (click to toggle)
syslog-ng 3.8.1-10
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 47,320 kB
  • ctags: 43,937
  • sloc: ansic: 159,432; yacc: 25,059; sh: 13,574; makefile: 4,669; python: 3,468; java: 3,218; xml: 2,309; perl: 318; lex: 316; awk: 184
file content (84 lines) | stat: -rw-r--r-- 2,006 bytes parent folder | download
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
[ ca ]
default_ca  = CA_default

[ CA_default ]

dir              = tests/trust_dir
certificate      = $dir/signing-ca.crt
cert_opt         = ca_default
certs            = $dir/ca.db.certs
crl_dir          = $dir/crl
database         = $dir/ca.db.index
default_crl_days = 30
default_days     = 365
default_md       = sha1
name_opt         = ca_default
new_certs_dir    = $dir/ca.db.certs
policy           = policy_match
preserve         = no
private_key      = $dir/signing-ca.key
RANDFILE         = $dir/ca.db.rand
serial           = $dir/ca.db.serial
unique_subject   = yes
x509_extensions  = usr_cert

[ policy_match ]
commonName             = supplied
countryName            = match
emailAddress           = optional
localityName           = match
organizationalUnitName = optional
organizationName       = match
stateOrProvinceName    = match

[ policy_anything ]
commonName             = supplied
countryName            = optional
emailAddress           = optional
localityName           = optional
organizationalUnitName = optional
organizationName       = optional
stateOrProvinceName    = optional

[ req ]
attributes         = req_attributes
default_bits       = 4096
default_keyfile    = privkey.pem
distinguished_name = req_distinguished_name
req_extensions     = v3_req
string_mask        = nombstr
x509_extensions    = v3_ca

[ req_distinguished_name ]

[ req_attributes ]

[ usr_cert ]

authorityKeyIdentifier = keyid,issuer:always
basicConstraints       = CA:FALSE
nsComment              = "OpenSSL Generated Certificate"
subjectKeyIdentifier   = hash

[ v3_req ]

basicConstraints = CA:FALSE
keyUsage         = nonRepudiation, digitalSignature, keyEncipherment
subjectAltName   = @alt_names

[ alt_names ]

DNS.1 = alt2.mongodb.com
DNS.2 = *.wild.mongodb.com
IP.1  = 192.168.1.1
IP.2  = 10.0.0.1

[ v3_ca ]

subjectKeyIdentifier   = hash
authorityKeyIdentifier = keyid:always,issuer:always
basicConstraints       = CA:true

[ crl_ext ]

authorityKeyIdentifier = keyid:always,issuer:always