aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-scanner-engine/src/test/resources/ssl/openssl.conf
blob: dc674dbbbe98d1863498330c0954bb57d0bfbb14 (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
34
HOME            = .

[ req ]
default_bits       = 4096
distinguished_name = req_distinguished_name
req_extensions     = req_extensions

[ req_distinguished_name ]
countryName                   = Country Name (2-letter code)
countryName_default           = CH
stateOrProvinceName           = State or Province Name (full name)
stateOrProvinceName_default   = Geneva
localityName                  = Locality (e.g. city name)
localityName_default          = Geneva
organizationName              = Organization (e.g. company name)
organizationName_default      = SonarSource SA
commonName                    = Common Name (your.domain.com)
commonName_default            = localhost

[ req_extensions ]
subjectAltName    = @alt_names
keyUsage          = keyEncipherment, dataEncipherment, digitalSignature
extendedKeyUsage  = serverAuth

[ ca_extensions ]
basicConstraints        = CA:FALSE
keyUsage                = keyEncipherment, dataEncipherment, keyCertSign, cRLSign, digitalSignature
extendedKeyUsage        = serverAuth
subjectKeyIdentifier    = hash
authorityKeyIdentifier  = keyid:always, issuer
basicConstraints        = critical, CA:true

[ alt_names ]
DNS.1 = localhost