curl/tests/certs/EdelCurlRoot-ca.crt
Paul Howarth ef07452a5c
tests: avoid use of sha1 in certificates
The SHA-1 algorithm is deprecated (particularly for security-sensitive
applications) in a variety of OS environments. This already affects
RHEL-9 and derivatives, which are not willing to use certificates using
that algorithm. The fix is to use sha256 instead, which is already used
for most of the other certificates in the test suite.

Fixes #10135

This gets rid of issues related to sha1 signatures.

Manual steps after "make clean-certs" and "make build-certs":

- Copy tests/certs/stunnel-sv.pem to tests/stunnel.pem
  (make clean-certs does not remove the original tests/stunnel.pem)

- Copy tests/certs/Server-localhost-sv.pubkey-pinned into --pinnedpubkey
  options of tests/data/test2041 and tests/data/test2087

Closes #10153
2022-12-26 09:47:43 +01:00

96 lines
5.1 KiB
Plaintext

Certificate:
Data:
Version: 3 (0x2)
Serial Number: 16717980969522 (0xf3475512a32)
Signature Algorithm: sha256WithRSAEncryption
Issuer:
countryName = NN
organizationName = Edel Curl Arctic Illudium Research Cloud
commonName = Northern Nowhere Trust Anchor
Validity
Not Before: Dec 23 12:21:36 2022 GMT
Not After : May 28 12:21:36 2039 GMT
Subject:
countryName = NN
organizationName = Edel Curl Arctic Illudium Research Cloud
commonName = Northern Nowhere Trust Anchor
Subject Public Key Info:
Public Key Algorithm: rsaEncryption
Public-Key: (2048 bit)
Modulus:
00:a1:d8:60:15:d1:5b:09:3b:d1:4e:79:40:0a:03:
81:07:60:ba:6b:03:f4:87:4e:1e:e9:77:b1:ea:83:
66:56:c4:6c:19:5e:cf:64:23:44:03:f5:d0:27:e1:
1d:a5:05:dd:a5:f2:c1:9a:28:e2:31:66:a2:7b:e0:
3b:bb:f3:b4:06:b4:43:97:7b:80:3c:96:1b:ed:85:
7c:8b:2e:0f:62:b9:53:69:3d:2b:19:af:16:d3:e2:
a9:d3:2d:f2:ec:b1:31:76:2d:d9:78:67:91:ce:16:
52:e3:68:34:f1:bc:f0:5e:99:bf:28:cf:91:88:31:
a6:48:cc:fb:84:a1:87:85:8b:08:18:eb:39:e9:34:
ee:1b:3a:a3:bd:2a:77:63:50:c8:88:6b:f1:d3:c4:
b7:25:db:7f:eb:b9:84:73:a8:86:8a:69:7d:40:5a:
c3:24:81:10:8d:97:ae:ce:45:eb:5d:fb:14:31:5b:
a1:c2:d1:aa:2f:44:a0:42:28:38:16:c7:42:1e:dd:
db:0f:a9:d9:70:25:cc:da:be:e9:8c:8c:84:48:a3:
ab:af:20:7a:7e:b3:09:a9:05:0d:ce:f8:9b:c2:77:
e8:82:f8:6a:56:21:db:92:a7:0a:3c:f1:0c:a0:d4:
9c:8c:c0:62:2b:62:bc:5e:c4:ba:5e:3a:fc:1a:05:
49:ef
Exponent: 65537 (0x10001)
X509v3 extensions:
X509v3 Basic Constraints: critical
CA:TRUE
X509v3 Key Usage: critical
Certificate Sign, CRL Sign
X509v3 Subject Key Identifier:
87:CB:B1:33:2E:C1:67:7E:71:E3:E5:2B:4C:4D:A4:B3:6E:D2:5B:A9
X509v3 Authority Key Identifier:
87:CB:B1:33:2E:C1:67:7E:71:E3:E5:2B:4C:4D:A4:B3:6E:D2:5B:A9
Authority Information Access:
CA Issuers - URI:http://test.curl.se/ca/EdelCurlRoot.cer
X509v3 CRL Distribution Points:
Full Name:
URI:http://test.curl.se/ca/EdelCurlRoot.crl
Signature Algorithm: sha256WithRSAEncryption
Signature Value:
86:19:bd:3d:12:4f:6b:8c:8e:1b:72:db:8f:9b:67:68:96:f8:
f4:ad:d9:a0:b5:48:0e:19:f6:34:09:92:a5:b8:ab:70:c6:6b:
44:be:f7:fd:a4:75:ad:16:c4:ad:54:aa:c4:36:e6:86:87:84:
0d:d9:1f:ea:b5:95:3a:69:60:02:2f:5c:a2:a3:1d:c9:28:f6:
78:22:cd:e3:1d:47:37:a0:a0:a4:8a:3b:da:50:a9:12:e0:e4:
e7:1f:b6:bc:7e:e8:b6:a1:b7:99:9f:98:2c:c1:70:db:32:ea:
82:45:ff:71:ea:36:34:65:bd:ad:cd:c5:2b:a2:a1:6b:2e:a3:
30:b2:95:ea:77:a9:17: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