summaryrefslogtreecommitdiff
path: root/src/test/ssl/conf/server-ip-alt-names.config
blob: c22f22951a4c7a89a6afb28fbf6014489330936f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# An OpenSSL format CSR config file for creating a server certificate.
#
# This certificate has a two IP-address 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 ]
IP.1 = 192.0.2.1
IP.2 = 2001:DB8::1