blob: ab8d5477a201d235a6db020b34dc83a392f3b9d9 [file] [log] [blame]
Samuli Silviusf5534d82018-12-21 16:08:09 +02001[ req ]
2default_bits = 4096
3default_keyfile = server-key.pem
4distinguished_name = dn
5#req_extensions = v3_req
6x509_extensions = v3_req
7string_mask = utf8only
8prompt = no
9default_md = sha256
10
11[ dn ]
12
13countryName = PL
14localityName = Krakow
15organizationName = Samsung
16commonName = registry-1.docker.io
17#emailAddress
18
19[ v3_req ]
20
21#subjectKeyIdentifier = hash
22#authorityKeyIdentifier = keyid,issuer
23
24basicConstraints = CA:FALSE
25keyUsage = critical, keyAgreement, nonRepudiation, digitalSignature, keyEncipherment
26extendedKeyUsage = serverAuth
27# does not work here because of bug in openssl
28#subjectAltName = @alternate_names
29nsComment = "OpenSSL Generated Certificate"
30
31#[ alternate_names ]
32
33#DNS.4 = ftp.example.com