summaryrefslogtreecommitdiff
path: root/jstests/libs/openssl_SAN.cfg
blob: ce2930fda925df2b8f19864b88d456df33331a60 (plain)
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
[ ca ]

default_ca      = CA_default

[ CA_default ]
dir = .
certificate = $dir/ca.pem


[ req ]
default_bits = 4096
default_keyfile = privateKey.pem
distinguished_name = req_distinguished_name
prompt = no
req_extensions = v3_req

[ req_distinguished_name ]
countryName = US
stateOrProvinceName = New York
localityName = New York City
organizationName = MongoDB
organizationalUnitName = Kernel Users
commonName = Kernel Client Peer Role

[ v3_req ]
subjectAltName = @alt_names

[ alt_names ]
DNS.1 = localhost
IP.1 = 127.0.0.1
IP.2 = ::1