summaryrefslogtreecommitdiffstats
path: root/cfg/nexus_cert.cnf
blob: ab8d5477a201d235a6db020b34dc83a392f3b9d9 (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
32
33
[ req ]
default_bits        = 4096
default_keyfile     = server-key.pem
distinguished_name  = dn
#req_extensions      = v3_req
x509_extensions     = v3_req
string_mask         = utf8only
prompt              = no
default_md          = sha256

[ dn ]

countryName = PL
localityName = Krakow
organizationName = Samsung
commonName = registry-1.docker.io
#emailAddress

[ v3_req ]

#subjectKeyIdentifier        = hash
#authorityKeyIdentifier  = keyid,issuer

basicConstraints        = CA:FALSE
keyUsage            = critical, keyAgreement, nonRepudiation, digitalSignature, keyEncipherment
extendedKeyUsage    = serverAuth
# does not work here because of bug in openssl
#subjectAltName          = @alternate_names
nsComment           = "OpenSSL Generated Certificate"

#[ alternate_names ]

#DNS.4       = ftp.example.com