curl/tests/certs
Viktor Szakats 9b0c0d6ade
tests: let openssl generate random cert serials
Generate the certificate serial numbers automatically instead of doing
from shell (or Perl earlier).

Fixes intermittent CI failures due to the shell-based random generator
generating the same serial number twice:
```
$ openssl ca -config EdelCurlRoot-ca.cnf -revoke Server-localhost0h-sv.crt
Using configuration from EdelCurlRoot-ca.cnf
ERROR:Already revoked, serial number 66FDB23A
make: *** [../../../tests/certs/Server-localhost0h-sv.pem] Error 1
```
https://github.com/curl/curl/actions/runs/11151401083/job/30994755798?pr=15128#step:10:498

Follow-up to fa461b4eff #14486
Follow-up to fa69b41c77 #13307
Closes #15129
2024-10-03 01:17:40 +02:00
..
scripts tests: let openssl generate random cert serials 2024-10-03 01:17:40 +02:00
.gitignore copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
CMakeLists.txt GHA/macos: enable HTTPS tests with stunnel 2024-08-23 11:06:50 +02:00
EdelCurlRoot-ca.cacert tests: avoid use of sha1 in certificates 2022-12-26 09:47:43 +01:00
EdelCurlRoot-ca.cnf tests: avoid use of sha1 in certificates 2022-12-26 09:47:43 +01:00
EdelCurlRoot-ca.crt tests: avoid use of sha1 in certificates 2022-12-26 09:47:43 +01:00
EdelCurlRoot-ca.csr tests: avoid use of sha1 in certificates 2022-12-26 09:47:43 +01:00
EdelCurlRoot-ca.der tests: avoid use of sha1 in certificates 2022-12-26 09:47:43 +01:00
EdelCurlRoot-ca.key tests: avoid use of sha1 in certificates 2022-12-26 09:47:43 +01:00
EdelCurlRoot-ca.prm CI: add whitespace checker 2024-06-27 13:33:30 +02:00
Makefile.am GHA/macos: enable HTTPS tests with stunnel 2024-08-23 11:06:50 +02:00
Makefile.inc GHA/macos: enable HTTPS tests with stunnel 2024-08-23 11:06:50 +02:00
Server-localhost0h-sv.crl tests: avoid use of sha1 in certificates 2022-12-26 09:47:43 +01:00
Server-localhost0h-sv.crt tests: avoid use of sha1 in certificates 2022-12-26 09:47:43 +01:00
Server-localhost0h-sv.csr tests: avoid use of sha1 in certificates 2022-12-26 09:47:43 +01:00
Server-localhost0h-sv.der tests: avoid use of sha1 in certificates 2022-12-26 09:47:43 +01:00
Server-localhost0h-sv.dhp
Server-localhost0h-sv.key tests: avoid use of sha1 in certificates 2022-12-26 09:47:43 +01:00
Server-localhost0h-sv.pem CI: add whitespace checker 2024-06-27 13:33:30 +02:00
Server-localhost0h-sv.prm CI: add whitespace checker 2024-06-27 13:33:30 +02:00
Server-localhost0h-sv.pub.der tests: avoid use of sha1 in certificates 2022-12-26 09:47:43 +01:00
Server-localhost0h-sv.pub.pem tests: avoid use of sha1 in certificates 2022-12-26 09:47:43 +01:00
Server-localhost0h-sv.pubkey-pinned tests: avoid use of sha1 in certificates 2022-12-26 09:47:43 +01:00
Server-localhost-firstSAN-sv.crl tests: avoid use of sha1 in certificates 2022-12-26 09:47:43 +01:00
Server-localhost-firstSAN-sv.crt tests: avoid use of sha1 in certificates 2022-12-26 09:47:43 +01:00
Server-localhost-firstSAN-sv.csr tests: avoid use of sha1 in certificates 2022-12-26 09:47:43 +01:00
Server-localhost-firstSAN-sv.der tests: avoid use of sha1 in certificates 2022-12-26 09:47:43 +01:00
Server-localhost-firstSAN-sv.dhp
Server-localhost-firstSAN-sv.key tests: avoid use of sha1 in certificates 2022-12-26 09:47:43 +01:00
Server-localhost-firstSAN-sv.pem CI: add whitespace checker 2024-06-27 13:33:30 +02:00
Server-localhost-firstSAN-sv.prm CI: add whitespace checker 2024-06-27 13:33:30 +02:00
Server-localhost-firstSAN-sv.pub.der tests: avoid use of sha1 in certificates 2022-12-26 09:47:43 +01:00
Server-localhost-firstSAN-sv.pub.pem tests: avoid use of sha1 in certificates 2022-12-26 09:47:43 +01:00
Server-localhost-firstSAN-sv.pubkey-pinned tests: avoid use of sha1 in certificates 2022-12-26 09:47:43 +01:00
Server-localhost-lastSAN-sv.crl tests: avoid use of sha1 in certificates 2022-12-26 09:47:43 +01:00
Server-localhost-lastSAN-sv.crt tests: avoid use of sha1 in certificates 2022-12-26 09:47:43 +01:00
Server-localhost-lastSAN-sv.csr tests: avoid use of sha1 in certificates 2022-12-26 09:47:43 +01:00
Server-localhost-lastSAN-sv.der tests: avoid use of sha1 in certificates 2022-12-26 09:47:43 +01:00
Server-localhost-lastSAN-sv.dhp
Server-localhost-lastSAN-sv.key tests: avoid use of sha1 in certificates 2022-12-26 09:47:43 +01:00
Server-localhost-lastSAN-sv.pem CI: add whitespace checker 2024-06-27 13:33:30 +02:00
Server-localhost-lastSAN-sv.prm CI: add whitespace checker 2024-06-27 13:33:30 +02:00
Server-localhost-lastSAN-sv.pub.der tests: avoid use of sha1 in certificates 2022-12-26 09:47:43 +01:00
Server-localhost-lastSAN-sv.pub.pem tests: avoid use of sha1 in certificates 2022-12-26 09:47:43 +01:00
Server-localhost-lastSAN-sv.pubkey-pinned tests: avoid use of sha1 in certificates 2022-12-26 09:47:43 +01:00
Server-localhost-sv.crl tests: avoid use of sha1 in certificates 2022-12-26 09:47:43 +01:00
Server-localhost-sv.crt tests: avoid use of sha1 in certificates 2022-12-26 09:47:43 +01:00
Server-localhost-sv.csr tests: avoid use of sha1 in certificates 2022-12-26 09:47:43 +01:00
Server-localhost-sv.der tests: avoid use of sha1 in certificates 2022-12-26 09:47:43 +01:00
Server-localhost-sv.dhp
Server-localhost-sv.key tests: avoid use of sha1 in certificates 2022-12-26 09:47:43 +01:00
Server-localhost-sv.pem CI: add whitespace checker 2024-06-27 13:33:30 +02:00
Server-localhost-sv.prm CI: add whitespace checker 2024-06-27 13:33:30 +02:00
Server-localhost-sv.pub.der tests: avoid use of sha1 in certificates 2022-12-26 09:47:43 +01:00
Server-localhost-sv.pub.pem tests: avoid use of sha1 in certificates 2022-12-26 09:47:43 +01:00
Server-localhost-sv.pubkey-pinned tests: avoid use of sha1 in certificates 2022-12-26 09:47:43 +01:00
Server-localhost.nn-sv.crl tests: avoid use of sha1 in certificates 2022-12-26 09:47:43 +01:00
Server-localhost.nn-sv.crt tests: avoid use of sha1 in certificates 2022-12-26 09:47:43 +01:00
Server-localhost.nn-sv.csr tests: avoid use of sha1 in certificates 2022-12-26 09:47:43 +01:00
Server-localhost.nn-sv.der tests: avoid use of sha1 in certificates 2022-12-26 09:47:43 +01:00
Server-localhost.nn-sv.dhp
Server-localhost.nn-sv.key tests: avoid use of sha1 in certificates 2022-12-26 09:47:43 +01:00
Server-localhost.nn-sv.pem CI: add whitespace checker 2024-06-27 13:33:30 +02:00
Server-localhost.nn-sv.prm CI: add whitespace checker 2024-06-27 13:33:30 +02:00
Server-localhost.nn-sv.pub.der tests: avoid use of sha1 in certificates 2022-12-26 09:47:43 +01:00
Server-localhost.nn-sv.pub.pem tests: avoid use of sha1 in certificates 2022-12-26 09:47:43 +01:00
Server-localhost.nn-sv.pubkey-pinned tests: avoid use of sha1 in certificates 2022-12-26 09:47:43 +01:00
srp-verifier-conf
srp-verifier-db
stunnel-sv.crl tests: avoid use of sha1 in certificates 2022-12-26 09:47:43 +01:00
stunnel-sv.crt tests: avoid use of sha1 in certificates 2022-12-26 09:47:43 +01:00
stunnel-sv.csr tests: avoid use of sha1 in certificates 2022-12-26 09:47:43 +01:00
stunnel-sv.der tests: avoid use of sha1 in certificates 2022-12-26 09:47:43 +01:00
stunnel-sv.dhp tests: add authorityInfoAccess to generated certs 2022-11-26 00:11:57 +01:00
stunnel-sv.key tests: avoid use of sha1 in certificates 2022-12-26 09:47:43 +01:00
stunnel-sv.pem CI: add whitespace checker 2024-06-27 13:33:30 +02:00
stunnel-sv.prm CI: add whitespace checker 2024-06-27 13:33:30 +02:00
stunnel-sv.pub.der tests: avoid use of sha1 in certificates 2022-12-26 09:47:43 +01:00
stunnel-sv.pub.pem tests: avoid use of sha1 in certificates 2022-12-26 09:47:43 +01:00
stunnel-sv.pubkey-pinned tests: avoid use of sha1 in certificates 2022-12-26 09:47:43 +01:00