haproxy/reg-tests/ssl/show_ocsp_server.pem
Remi Tricot-Le Breton 2a77c62c18 REGTESTS: ssl: Add "show ssl ocsp-response" test
This file adds tests for the new "show ssl ocsp-response" command and
the new "show ssl cert foo.pem.ocsp" and "show ssl cert *foo.pem.ocsp"
special cases. They are all used to display information about an OCSP
response, committed or not.
2021-06-10 16:44:11 +02:00

120 lines
6.8 KiB
Plaintext

Certificate:
Data:
Version: 3 (0x2)
Serial Number: 4111 (0x100f)
Signature Algorithm: sha256WithRSAEncryption
Issuer: C=FR, O=HAProxy Technologies, CN=Root CA
Validity
Not Before: Jun 10 08:54:19 2021 GMT
Not After : Oct 26 08:54:19 2048 GMT
Subject: C=FR, O=HAProxy Technologies, CN=Server Certificate
Subject Public Key Info:
Public Key Algorithm: rsaEncryption
RSA Public-Key: (2048 bit)
Modulus:
00:e9:88:7e:5e:ec:81:d0:f7:2b:9b:c9:5d:81:ea:
9c:ff:61:2f:4b:a2:ad:08:4d:44:7c:65:fa:ab:3a:
f2:be:63:ac:34:5c:c4:05:35:be:d4:79:af:a5:fc:
9e:92:10:75:b1:4d:70:d6:82:a3:7e:7e:b0:e6:2c:
ba:ec:1b:e9:7f:55:f3:98:6e:d5:b2:00:37:05:76:
df:28:be:3e:89:52:ec:47:58:45:7a:dd:7d:89:ae:
7f:43:d6:a5:ce:f6:8d:8d:32:fe:33:dc:16:15:01:
82:23:d1:77:12:75:a2:e2:2a:08:eb:cd:32:1e:5b:
54:12:68:83:21:3a:6e:07:f5:99:f4:e7:79:eb:f7:
d0:d9:71:f2:1d:79:08:a2:63:df:ab:59:f3:ac:33:
18:d6:0a:9c:48:0b:9a:b0:ae:79:7b:8e:5a:1d:d2:
fc:5c:6c:a5:d5:61:88:e8:50:c2:0f:f2:5b:0d:0c:
82:18:c8:a1:98:19:8a:fc:28:c6:27:e7:94:de:3d:
13:44:16:12:9e:e1:a8:b0:17:a1:4d:14:84:3e:44:
bc:76:5d:cd:4e:67:9c:e6:69:0b:5a:fe:cf:08:bb:
6d:0b:be:d6:8e:5d:c6:fc:53:e2:ab:34:28:2f:ef:
03:5a:c4:ad:b7:e8:4e:1c:89:67:78:f5:a4:41:fd:
80:f3
Exponent: 65537 (0x10001)
X509v3 extensions:
Authority Information Access:
OCSP - URI:http://ocsp.haproxy.com
Signature Algorithm: sha256WithRSAEncryption
14:c3:1a:2c:37:d4:91:74:10:be:eb:f3:1e:f3:da:cf:ed:0d:
b1:37:8e:e8:0c:44:cb:28:ce:4b:5c:ed:02:35:13:55:e1:34:
93:aa:7d:91:fa:4c:a7:31:09:6a:23:b7:0a:d3:37:70:dd:48:
9c:b6:af:31:d7:28:c1:cf:7d:44:f0:d5:ac:58:56:74:40:48:
a6:21:85:ea:bf:38:52:fc:8e:16:7c:4d:79:d3:b4:18:11:90:
95:a7:f4:b6:5f:91:dc:3e:bd:e7:58:96:ff:c2:d2:59:20:ed:
4e:de:e5:92:c9:a6:5a:37:a1:fd:00:cb:13:51:ef:ce:98:c8:
01:b5:a1:9a:74:63:a0:da:dc:39:1e:08:8b:60:04:7f:96:c8:
02:cd:cc:dc:04:a4:4c:84:8f:a1:30:49:99:e1:6c:0c:39:65:
2c:03:f8:60:46:cb:28:42:6a:c4:b0:bb:7f:be:67:de:1e:55:
10:2a:55:1f:58:d4:fc:b0:74:9e:11:95:0b:c0:cc:f6:fc:6d:
ce:25:17:48:dc:30:5e:b3:29:44:10:11:2d:47:2d:06:81:21:
51:55:4a:4d:72:79:49:ad:29:77:64:92:e7:4e:c9:4f:4c:25:
4d:24:3c:49:07:af:53:74:b5:14:05:e2:f2:fc:ba:d7:a0:db:
e4:e4:38:74:fe:f0:34:98:78:f4:2c:68:2d:a6:1e:2d:16:d6:
2b:1d:95:3c:ac:9d:16:6a:7e:d4:cd:0c:94:2b:f4:94:1c:ef:
3b:23:13:78:14:ea:ea:2f:08:f4:ed:21:3d:50:77:4b:50:fe:
db:47:19:d1:36:92:7d:7e:e3:18:40:1d:65:0e:fe:95:4f:54:
60:15:16:57:72:06:93:03:ee:8c:89:4e:7b:0b:13:a5:ef:52:
c9:53:8d:77:b4:7f:11:f8:03:f1:ce:a0:f8:33:06:89:44:7b:
f7:14:4a:51:ba:0e:35:88:ea:69:44:bd:3f:76:78:23:86:79:
13:00:40:1a:d0:69:42:41:72:e6:81:a7:b2:11:25:37:73:15:
89:a7:36:5d:75:3c:e9:1b:dc:ea:8c:98:6e:24:f9:98:e1:62:
d6:12:34:a4:c1:bc:08:fd:4d:86:8e:43:a9:9a:36:26:ba:f5:
ab:13:9c:08:09:8d:bf:13:84:a0:5f:52:78:fc:1d:11:0c:d6:
e1:a3:0c:ce:4d:21:79:90:2a:bb:04:03:d9:76:71:81:36:2a:
1c:56:79:e7:32:03:d8:41:cc:73:e5:6e:45:4e:2d:c9:b0:cc:
70:6b:47:93:6b:00:d0:6d:94:5f:db:e1:d5:dd:73:11:9f:b7:
c1:75:50:43:17:b5:e6:51
-----BEGIN CERTIFICATE-----
MIIEOjCCAiKgAwIBAgICEA8wDQYJKoZIhvcNAQELBQAwPjELMAkGA1UEBhMCRlIx
HTAbBgNVBAoMFEhBUHJveHkgVGVjaG5vbG9naWVzMRAwDgYDVQQDDAdSb290IENB
MB4XDTIxMDYxMDA4NTQxOVoXDTQ4MTAyNjA4NTQxOVowSTELMAkGA1UEBhMCRlIx
HTAbBgNVBAoMFEhBUHJveHkgVGVjaG5vbG9naWVzMRswGQYDVQQDDBJTZXJ2ZXIg
Q2VydGlmaWNhdGUwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDpiH5e
7IHQ9yubyV2B6pz/YS9Loq0ITUR8ZfqrOvK+Y6w0XMQFNb7Uea+l/J6SEHWxTXDW
gqN+frDmLLrsG+l/VfOYbtWyADcFdt8ovj6JUuxHWEV63X2Jrn9D1qXO9o2NMv4z
3BYVAYIj0XcSdaLiKgjrzTIeW1QSaIMhOm4H9Zn053nr99DZcfIdeQiiY9+rWfOs
MxjWCpxIC5qwrnl7jlod0vxcbKXVYY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