summaryrefslogtreecommitdiffstats
path: root/src/test/ssl/server-multiple-alt-names.config
blob: fe230df5665f274df363560565a1c77ccae19739 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# An OpenSSL format CSR config file for creating a server certificate.
#
# This certificate contains multiple SANs, and no CN.

[ req ]
distinguished_name     = req_distinguished_name
req_extensions         = v3_req
prompt                 = no

[ req_distinguished_name ]
OU = PostgreSQL test suite

# For Subject Alternative Names
[ v3_req ]
subjectAltName = @alt_names

[ alt_names ]
DNS.1 = dns1.alt-name.pg-ssltest.test
DNS.2 = dns2.alt-name.pg-ssltest.test
DNS.3 = *.wildcard.pg-ssltest.test