summaryrefslogtreecommitdiffstats
path: root/certs/localhost.conf
blob: 02cfc8b2f049a20ac3ff480121a7367cfd14d8e1 (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
[req]
default_bits       = 2048
default_keyfile    = localhost.key
distinguished_name = req_distinguished_name
req_extensions     = req_ext
x509_extensions    = v3_ca

[req_distinguished_name]
countryName                 = Country Name (2 letter code)
countryName_default         = DE
stateOrProvinceName         = State or Province Name (full name)
stateOrProvinceName_default = BW
localityName                = Locality Name (eg, city)
localityName_default        = Karlsruhe
organizationName            = Organization Name (eg, company)
organizationName_default    = IPE
organizationalUnitName      = organizationalunit
organizationalUnitName_default = PDV
commonName                  = Common Name (e.g. server FQDN or YOUR name)
commonName_default          = localhost
commonName_max              = 64

[req_ext]
subjectAltName = @alt_names

[v3_ca]
subjectAltName = @alt_names

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