tests/certs: cleanup

Keep only the generated files needed for tests. Place generated
intermediaries in `tests/certs/gen` where they are ignored by git. No
longer generated `*.dhp` files.

Have a shorter naming scheme: `test-ca` instead of `EdelCurlRoot-ca` and
`test-localhost` instead of `Server-localhost-sv`, etc.

Remove the `stunnel` certificate as it was nearly a duplicate of
`test-localhost`.

No longer copy a generated certificates to `tests/stunnel.pem`. Let test
server default to `certs/test-localhost.pem` instead.

Closes #16593
This commit is contained in:
Stefan Eissing 2025-03-06 11:01:49 +01:00 committed by Daniel Stenberg
parent f5cb83e493
commit 556f722fe3
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
139 changed files with 2109 additions and 2629 deletions

View file

@ -29,13 +29,13 @@ SSL
local-http
</features>
<server>
https Server-localhost-firstSAN-sv.pem
https test-localhost-san-first.pem
</server>
<name>
HTTPS GET to localhost, first subject alt name matches, CN does not match
</name>
<command>
-4 --cacert %SRCDIR/certs/EdelCurlRoot-ca.crt https://localhost:%HTTPSPORT/%TESTNUMBER
-4 --cacert %SRCDIR/certs/test-ca.crt https://localhost:%HTTPSPORT/%TESTNUMBER
</command>
</client>