src/test/ssl/conf/server-single-alt-name.config
raw| 1 | # An OpenSSL format CSR config file for creating a server certificate. |
| 2 | # |
| 3 | # This certificate has a single SAN, and no CN. |
| 4 | |
| 5 | [ req ] |
| 6 | distinguished_name = req_distinguished_name |
| 7 | req_extensions = v3_req |
| 8 | prompt = no |
| 9 | |
| 10 | [ req_distinguished_name ] |
| 11 | OU = PostgreSQL test suite |
| 12 | |
| 13 | # For Subject Alternative Names |
| 14 | [ v3_req ] |
| 15 | subjectAltName = @alt_names |
| 16 | |
| 17 | [ alt_names ] |
| 18 | DNS.1 = single.alt-name.pg-ssltest.test |