2018-11-21 18:13:37 -05:00
|
|
|
[req]
|
|
|
|
default_bits = 4096
|
|
|
|
prompt = no
|
|
|
|
default_md = sha256
|
|
|
|
req_extensions = v3_req
|
|
|
|
distinguished_name = dn
|
|
|
|
|
2021-10-18 14:32:41 -04:00
|
|
|
[ca]
|
|
|
|
default_ca=ca_pgbackrest
|
|
|
|
|
|
|
|
[ca_pgbackrest]
|
|
|
|
database=index.txt
|
|
|
|
unique_subject=no
|
|
|
|
default_md=sha256
|
|
|
|
|
2018-11-21 18:13:37 -05:00
|
|
|
[ dn ]
|
|
|
|
C=US
|
|
|
|
ST=All
|
|
|
|
L=All
|
|
|
|
O=pgBackRest
|
|
|
|
OU=Unit Testing Domain
|
|
|
|
CN = test.pgbackrest.org
|
|
|
|
|
|
|
|
[ v3_req ]
|
|
|
|
basicConstraints = CA:FALSE
|
|
|
|
keyUsage = nonRepudiation, digitalSignature, keyEncipherment
|
|
|
|
subjectAltName = @alt_names
|
|
|
|
|
|
|
|
[ alt_names ]
|
2021-10-18 14:32:41 -04:00
|
|
|
# Used in container unit tests
|
2018-11-21 18:13:37 -05:00
|
|
|
DNS.1 = test.pgbackrest.org
|
|
|
|
DNS.2 = *.test.pgbackrest.org
|
2021-10-18 14:32:41 -04:00
|
|
|
DNS.3 = *.test2.pgbackrest.org
|
|
|
|
|
2024-07-10 22:54:20 -05:00
|
|
|
# Test IP matching
|
2018-11-21 18:13:37 -05:00
|
|
|
IP.1 = 127.0.0.1
|
2024-07-10 22:54:20 -05:00
|
|
|
IP.2 = ::1
|
|
|
|
|
|
|
|
# Unused alt name type for coverage
|
|
|
|
email.0 = email@email.com
|
2021-10-18 14:32:41 -04:00
|
|
|
|
|
|
|
# Used in integration tests
|
2024-03-06 11:00:09 +13:00
|
|
|
DNS.5 = pg1
|
|
|
|
DNS.6 = pg2
|
|
|
|
DNS.7 = repo
|