src/test/ssl/conf/server-ip-cn-and-alt-names.config
raw| 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 | IP.1 = 192.0.2.2 |
| 21 | IP.2 = 2001:DB8::1 |