summaryrefslogtreecommitdiffstats
path: root/src/test/ssl/conf/server-ip-in-dnsname.config
blob: b15649aef76360abfa836f8b1b4e280d06159016 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# An OpenSSL format CSR config file for creating a server certificate.
#

[ 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

# Normally IP addresses should not go into a dNSName.
[ alt_names ]
DNS.1 = 192.0.2.1