-
Notifications
You must be signed in to change notification settings - Fork 1
/
openssl.csr.cnf
60 lines (49 loc) · 1.6 KB
/
openssl.csr.cnf
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
##
## Openssl CNF for CSR
##
# SHA-1 is deprecated, so use SHA-2 instead.
default_md = sha256
default_days = 375
preserve = no
[ req ]
default_bits = 2048
default_md = sha256
distinguished_name = req_distinguished_name
string_mask = utf8only
attributes = req_attributes
# x509_extensions = v3_ca
req_extensions = v3_req
[ req_distinguished_name ]
# See <https://en.wikipedia.org/wiki/Certificate_signing_request>.
countryName = Country Name (2 letter code)
stateOrProvinceName = State or Province Name
localityName = Locality Name
0.organizationName = Organization Name
organizationalUnitName = Organizational Unit Name
commonName = Common Name
commonName_max = 64
emailAddress = Email Address
emailAddress_max = 64
# Optionally, specify some defaults.
countryName_default = CA
stateOrProvinceName_default = British Columbia
localityName_default = Vancouver
0.organizationName_default = Microbiome Insights
organizationalUnitName_default = DevOps
emailAddress_default = [email protected]
[ req_attributes ]
challengePassword = A challenge password
challengePassword_min = 4
challengePassword_max = 20
# [ v3_ca ]
# subjectKeyIdentifier=hash
# authorityKeyIdentifier=keyid:always,issuer
# basicConstraints = CA:false
[ v3_req ]
subjectAltName = @alt_names
[ alt_names ]
DNS.1 = tiller.internal.alvus-ibd.com
DNS.2 = tiller.x.alvus-ibd.com
DNS.3 = tiller.ops.alvus-ibd.com
DNS.4 = localhost
IP.1 = 127.0.0.1