| 1 |
# An OpenSSL format CSR config file for creating a server certificate. |
| 2 |
# |
| 3 |
# This certificate contains both a CN and SANs in IP address format. |
| 4 |
|
| 5 |
|
| 6 |
[ req ] |
| 7 |
distinguished_name = req_distinguished_name |
| 8 |
req_extensions = v3_req |
| 9 |
prompt = no |
| 10 |
|
| 11 |
[ req_distinguished_name ] |
| 12 |
CN = 192.0.2.1 |
| 13 |
OU = PostgreSQL test suite |
| 14 |
|
| 15 |
# For Subject Alternative Names |
| 16 |
[ v3_req ] |
| 17 |
subjectAltName = @alt_names |
| 18 |
|
| 19 |
[ alt_names ] |
| 20 |
DNS.1 = dns1.alt-name.pg-ssltest.test |
| 21 |
DNS.2 = dns2.alt-name.pg-ssltest.test |