Skip to content

Commit 870a2a4

Browse files
committed
docs(test): match TLS regeneration recipe to fixture SANs
1 parent 83e5846 commit 870a2a4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • test/integration/provider-scenarios/fixtures

‎test/integration/provider-scenarios/fixtures/README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Only the test server uses the key. Test clients trust the matching certificate t
77
`ca` option. The fixture does not change a machine trust store or disable certificate verification.
88
Do not use this pair for a deployed service or add it to a shared trust store.
99

10-
The certificate names localhost and loopback addresses. Its validity ends in November 2036.
10+
The certificate covers `localhost` and `127.0.0.1`. Its validity ends in November 2036.
1111
Replace both files together before expiry. Keeping the pair in the fixture avoids an OpenSSL
1212
executable or certificate-generation dependency in the test runner.
1313

@@ -17,7 +17,7 @@ From the repository root, run:
1717
```sh
1818
openssl req -x509 -newkey rsa:2048 -noenc -sha256 -days 3650 \
1919
-subj '/CN=localhost' \
20-
-addext 'subjectAltName=DNS:localhost,IP:127.0.0.1,IP:::1' \
20+
-addext 'subjectAltName=DNS:localhost,IP:127.0.0.1' \
2121
-keyout test/integration/provider-scenarios/fixtures/localhost-key.pem \
2222
-out test/integration/provider-scenarios/fixtures/localhost-cert.pem
2323
```

0 commit comments

Comments
 (0)