curl/tests/certs/Server-localhost0h-sv.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

100 lines
5.2 KiB
Plaintext

Certificate:
Data:
Version: 3 (0x2)
Serial Number: 16717980979573 (0xf3475515175)
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:37 2022 GMT
Not After : Mar 11 12:21:37 2031 GMT
Subject:
countryName = NN
organizationName = Edel Curl Arctic Illudium Research Cloud
commonName = localhost
Subject Public Key Info:
Public Key Algorithm: rsaEncryption
Public-Key: (2048 bit)
Modulus:
00:df:29:93:58:82:1d:a2:b8:07:2a:b2:8f:93:0e:
df:15:49:72:06:93:19:4a:2d:c5:bd:56:92:5a:da:
f4:d3:9a:01:1c:ee:47:57:0e:9e:d8:d7:0d:c4:ce:
4b:a2:f0:fc:07:ec:91:e9:95:08:f4:e9:5d:f2:49:
f3:0b:98:f0:d8:c7:d4:67:2f:fb:f2:94:3b:14:c8:
06:da:39:70:8a:f9:4b:70:a8:74:6b:3f:5b:d1:a4:
1c:ea:bd:f1:9e:c1:e2:e7:98:88:4f:e9:4b:b6:c8:
d6:9e:01:f3:b7:c9:ee:cd:e2:d7:96:68:14:d7:44:
c6:11:13:9f:6c:06:4e:57:98:53:c8:40:de:9d:44:
1f:6a:f4:01:b0:56:47:5e:3b:b5:3c:29:9b:96:f3:
9a:5a:78:d1:11:51:25:0e:43:82:4a:d3:df:54:5a:
46:00:de:b0:a2:2e:65:54:44:40:9c:64:d3:e8:3f:
e8:ac:e3:0c:fb:36:0a:c5:79:37:a9:a2:ef:06:14:
43:ac:9e:20:de:30:d2:ea:79:7d:ef:f2:0c:93:70:
8d:bb:14:ff:4c:56:41:e4:2a:de:92:0a:ce:65:2c:
d3:fb:29:0f:4f:f9:16:d7:62:54:4e:4c:a8:05:34:
5d:e6:20:e3:89:bc:7b:1f:df:21:57:66:a9:20:ce:
e6:b3
Exponent: 65537 (0x10001)
X509v3 extensions:
X509v3 Subject Alternative Name:
0
..localhost.h
X509v3 Key Usage:
Digital Signature, Key Encipherment, Key Agreement
X509v3 Extended Key Usage:
TLS Web Server Authentication
X509v3 Subject Key Identifier:
6B:56:00:F3:01:BC:16:8B:EB:CF:75:A1:89:DB:26:B1:C4:ED:71:64
X509v3 Authority Key Identifier:
87:CB:B1:33:2E:C1:67:7E:71:E3:E5:2B:4C:4D:A4:B3:6E:D2:5B:A9
X509v3 Basic Constraints:
CA:FALSE
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:
5a:b2:83:c0:94:ce:25:aa:a0:f4:b6:71:fb:16:b4:e0:10:3c:
9c:a0:db:2a:fc:b7:f8:97:64:cc:19:92:56:63:a9:e6:50:d6:
6d:79:b6:a3:62:23:d2:48:21:37:46:46:3e:9d:cd:1f:55:18:
77:fd:7f:35:ea:d8:68:9c:1c:2f:c8:23:43:a2:cd:77:3c:5c:
21:94:93:80:84:d0:6a:8a:5b:ae:11:be:79:3e:80:17:32:9e:
73:0b:dd:0d:f5:f6:4f:3f:1b:a3:eb:aa:21:06:a7:ef:c7:bf:
e5:87:67:2c:38:a3:c1:d4:f2:b4:ce:72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