src/test/ssl/conf/server-ip-in-dnsname.config
raw| 1 | # An OpenSSL format CSR config file for creating a server certificate. |
| 2 | # |
| 3 | |
| 4 | [ req ] |
| 5 | distinguished_name = req_distinguished_name |
| 6 | req_extensions = v3_req |
| 7 | prompt = no |
| 8 | |
| 9 | [ req_distinguished_name ] |
| 10 | OU = PostgreSQL test suite |
| 11 | |
| 12 | # For Subject Alternative Names |
| 13 | [ v3_req ] |
| 14 | subjectAltName = @alt_names |
| 15 | |
| 16 | # Normally IP addresses should not go into a dNSName. |
| 17 | [ alt_names ] |
| 18 | DNS.1 = 192.0.2.1 |