summaryrefslogtreecommitdiff
path: root/jstests/libs/openssl_config/client.cnf
blob: 208f3a456cd4dd9542bf65d62dd172293df3d881 (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
# This is the openssl config file for generating the CSR for the client.pem certificate

[ req ]
default_bits = 2048
default_keyfile = client.key
encrypt_key = no
default_md = sha256
prompt = no
utf8 = yes
distinguished_name = client_req_distinguished_name
req_extensions = client_extensions

[ client_req_distinguished_name ]
C = US
ST = New York
L = New York City
O  = MongoDB
OU = KernelUser
CN = client

[ client_extensions ]
basicConstraints=CA:FALSE
subjectKeyIdentifier = hash
keyUsage = digitalSignature, keyEncipherment
extendedKeyUsage = clientAuth