osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: svn commit: r1843478 - /httpd/test/framework/trunk/t/ssl/ocsp.t


On 10/14/2018 05:45 PM, William A Rowe Jr wrote:
Dennis, just to confirm ...  is this build ocsp enabled..

Enabled and broken. At least on Solaris 10 sparc with recent patches.

OpenSSL 1.1.1 works just fine.  See below.

OpenSSL 1.0.2n also blows up :

$ /usr/bin/openssl version
OpenSSL 1.0.2n  7 Dec 2017
$ /usr/bin/openssl ocsp -issuer /tmp/foo_chain -cert /tmp/foo_cert -text -url http://ocsp.int-x3.letsencrypt.org
OCSP Request Data:
    Version: 1 (0x0)
    Requestor List:
        Certificate ID:
          Hash Algorithm: sha1
          Issuer Name Hash: 7EE66AE7729AB3FCF8A220646C16A12D6071085D
          Issuer Key Hash: A84A6A63047DDDBAE6D139B7A64565EFF3A8ECA1
          Serial Number: 039048428EE710E751C1EC96E355B05FADF7
    Request Extensions:
        OCSP Nonce:
            041027F5719EF8A6D928B5A5AC8CC46BA10C
Error querying OCSP responder
4275879124:error:27076072:OCSP routines:PARSE_HTTP_LINE1:server response error:ocsp_ht.c:314:Code=400,Reason=Bad Request
$

Not really a blow up .. just an "oops .. don't touch me" result.

OpenSSL 1.1.1 is happy all day long :

$ openssl ocsp -issuer /tmp/foo_chain -cert /tmp/foo_cert -text -url http://ocsp.int-x3.letsencrypt.org
OCSP Request Data:
    Version: 1 (0x0)
    Requestor List:
        Certificate ID:
          Hash Algorithm: sha1
          Issuer Name Hash: 7EE66AE7729AB3FCF8A220646C16A12D6071085D
          Issuer Key Hash: A84A6A63047DDDBAE6D139B7A64565EFF3A8ECA1
          Serial Number: 039048428EE710E751C1EC96E355B05FADF7
    Request Extensions:
        OCSP Nonce:
            0410AF283079082966EF04E8805C8D9215EB
OCSP Response Data:
    OCSP Response Status: successful (0x0)
    Response Type: Basic OCSP Response
    Version: 1 (0x0)
Responder Id: C = US, O = Let's Encrypt, CN = Let's Encrypt Authority X3
    Produced At: Oct 12 02:56:00 2018 GMT
    Responses:
    Certificate ID:
      Hash Algorithm: sha1
      Issuer Name Hash: 7EE66AE7729AB3FCF8A220646C16A12D6071085D
      Issuer Key Hash: A84A6A63047DDDBAE6D139B7A64565EFF3A8ECA1
      Serial Number: 039048428EE710E751C1EC96E355B05FADF7
    Cert Status: good
    This Update: Oct 12 02:00:00 2018 GMT
    Next Update: Oct 19 02:00:00 2018 GMT

    Signature Algorithm: sha256WithRSAEncryption
         76:f4:7f:ff:4a:c5:26:c2:60:88:fe:ef:90:dd:c7:0a:39:fd:
         d0:df:fe:17:4b:71:78:08:60:e0:ee:14:4b:98:91:ef:77:59:
         81:51:ee:cc:b6:16:99:92:7d:98:64:e2:a7:be:f2:cb:24:61:
         47:67:0c:62:2c:06:95:4b:73:34:0c:7a:ce:ce:1c:27:85:14:
         97:f7:2e:76:3e:21:8b:83:ab:29:1f:55:48:25:f4:61:6a:d8:
         bf:65:10:90:71:04:10:45:4d:9a:37:84:02:9e:eb:06:45:3f:
         85:4c:e4:a4:b6:3f:54:fa:4d:4b:9e:d4:8f:1b:44:4f:fb:6c:
         e3:18:11:ba:3c:e1:21:64:97:4b:4a:28:d7:c5:b1:b3:46:fe:
         36:99:da:da:aa:e4:32:57:a1:14:d5:54:b9:6d:e4:49:59:a2:
         77:d4:87:97:95:8d:e6:7c:5b:64:db:60:ab:3e:e3:a7:a6:bc:
         00:0e:b8:dd:0c:42:a0:18:f8:d5:73:16:80:50:3c:b3:24:d0:
         01:da:3d:09:29:4e:93:d7:81:27:91:39:9c:67:99:53:d4:5f:
         ab:6a:42:67:1e:ca:9d:4c:40:a7:f8:71:e4:bf:43:e8:a0:20:
         62:9c:d5:25:16:8a:41:f5:70:85:c4:e4:45:9d:b6:95:4f:4f:
         79:3f:84:53
WARNING: no nonce in response
Response verify OK
/tmp/foo_cert: good
        This Update: Oct 12 02:00:00 2018 GMT
        Next Update: Oct 19 02:00:00 2018 GMT
$
$

Ye old old OpenSSL 0.9.7d 17 Mar 2004 tries and then dumps core :

$
$ /usr/sfw/bin/openssl ocsp -issuer /tmp/foo_chain -cert /tmp/foo_cert -text -url http://ocsp.int-x3.letsencrypt.org
OCSP Request Data:
    Version: 1 (0x0)
    Requestor List:
        Certificate ID:
          Hash Algorithm: sha1
          Issuer Name Hash: 7EE66AE7729AB3FCF8A220646C16A12D6071085D
          Issuer Key Hash: A84A6A63047DDDBAE6D139B7A64565EFF3A8ECA1
          Serial Number: 039048428EE710E751C1EC96E355B05FADF7
    Request Extensions:
        OCSP Nonce:
            04109FDC7D814DC7A57BFDB2ACB6C906247B
Error querying OCSP responsder
1035:error:27070072:OCSP routines:OCSP_sendreq_bio:server response error:/on10/build-nd/ON10_P042/usr/src/common/openssl/crypto/ocsp/ocsp_ht.c:147:Code=400,Reason=Bad Request
Segmentation Fault(coredump)
$

So the feature is there ... just broken.




How I tested this was :

$ openssl version
OpenSSL 1.1.1  11 Sep 2018

$ openssl s_client -connect node000.genunix.com:443 < /dev/null 2>&1
CONNECTED(00000005)
depth=2 O = Digital Signature Trust Co., CN = DST Root CA X3
verify return:1
depth=1 C = US, O = Let's Encrypt, CN = Let's Encrypt Authority X3
verify return:1
depth=0 CN = *.genunix.com
verify return:1
---
Certificate chain
 0 s:CN = *.genunix.com
   i:C = US, O = Let's Encrypt, CN = Let's Encrypt Authority X3
 1 s:C = US, O = Let's Encrypt, CN = Let's Encrypt Authority X3
   i:O = Digital Signature Trust Co., CN = DST Root CA X3
---
Server certificate
-----BEGIN CERTIFICATE-----
MIIGBDCCBOygAwIBAgISA5BIQo7nEOdRweyW41WwX633MA0GCSqGSIb3DQEBCwUA
MEoxCzAJBgNVBAYTAlVTMRYwFAYDVQQKEw1MZXQncyBFbmNyeXB0MSMwIQYDVQQD
ExpMZXQncyBFbmNyeXB0IEF1dGhvcml0eSBYMzAeFw0xODA4MDQwMTU2MDZaFw0x
ODExMDIwMTU2MDZaMBgxFjAUBgNVBAMMDSouZ2VudW5peC5jb20wggEiMA0GCSqG
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vbGV0c2VuY3J5cHQub3JnL3JlcG9zaXRvcnkvMIIB
AwYKKwYBBAHWeQIEAgSB9ASB8QDvAHUA23Sv7ssp7LH+yj5xbSzluaq7NveEcYPH
XZ1PN7Yfv2QAAAFlAt0Q+gAABAMARjBEAiA+t4J1uZItOOTamCF9XsE+9S2hPpNN
bCsqHcn42p8b5AIgVi5jlTH5bSjiBkweb/nRExf6PpFZhvrb20hojYweFWwAdgAp
PFGWVMg5ZbqqUPxYB9S3b79Yeily3KTDDPTlRUf0eAAAAWUC3REOAAAEAwBHMEUC
IHd8ktNpgmeQkZQ9y+3I0o8IKJKyu9VkZ065or7lZSkIAiEA5t7ThHkcqY9QPPul
wsvQrCeMlgYfjNTSASJ5cycvUCMwDQYJKoZIhvcNAQELBQADggEBAJQ/FAbIBkXF
AkfSKWlJISTKowXmE0STjadhO3Q7NdfYQ9BnoozHdEr7I/v+r6lf3SkHJDQ+Vs2k
AHP2awPtziE70G9lWbyKDMeJtyM6k8l9PMAmcMVlXbdNyPiUgkpM1Vg31dZTIgJ/
RmpMiimcaSEtzJt7A7cWi+jkYc+lWNQ1EK73CKK6m7MqJiU/djjeyRb0rO7+YwLr
8p3+tf4rv2UM4gQ5b+TxACawAC+16r4ZJa9AO611teB8B/TztWSnnOl30W8ayfqp
PDPIWfODr5kFS9lVbRCXclD7Bqq7IEzXxSBKKgdszDvVJMjUNsRQiecaQ0yXx/Ai
Bd5OWdX5les=
-----END CERTIFICATE-----
subject=CN = *.genunix.com

issuer=C = US, O = Let's Encrypt, CN = Let's Encrypt Authority X3

---
No client certificate CA names sent
Peer signing digest: SHA512
Peer signature type: RSA
Server Temp Key: X25519, 253 bits
---
SSL handshake has read 3414 bytes and written 414 bytes
Verification: OK
---
New, TLSv1.2, Cipher is ECDHE-RSA-AES256-GCM-SHA384
Server public key is 2048 bit
Secure Renegotiation IS supported
Compression: NONE
Expansion: NONE
No ALPN negotiated
SSL-Session:
    Protocol  : TLSv1.2
    Cipher    : ECDHE-RSA-AES256-GCM-SHA384
Session-ID: C267C4D567384E4F4F43E100AF0AC05674118581C3F06B599436F49F9CCA3969
    Session-ID-ctx:
Master-Key: 2E4E35B2B65B5A708CBD957680851B3217E121D570F7EBEF987E9BBE402660EC9DF8C7219BE30FBEFE5DF819A4F66471
    PSK identity: None
    PSK identity hint: None
    SRP username: None
    TLS session ticket lifetime hint: 300 (seconds)
    TLS session ticket:
0000 - 17 68 c9 86 d7 75 0d 7b-2b 76 fd 64 bd c5 19 9b .h...u.{+v.d.... 0010 - 9a 09 9c d4 6c 30 e7 22-97 2b c6 c7 cc 6f 4d bc ....l0.".+...oM. 0020 - dd 6b 3e 7e f5 8d 1c 4a-97 97 14 b3 e7 ba a9 56 .k>~...J.......V 0030 - c9 4a a4 2c f9 85 15 cc-db 7a 1a 0d 92 df 2f c0 .J.,.....z..../. 0040 - 0e e5 29 57 71 56 aa 5f-84 22 51 a4 4f 4d 00 3e ..)WqV._."Q.OM.> 0050 - cd 8f 48 85 76 c6 7c a9-46 1f e3 25 15 3b 8b 35 ..H.v.|.F..%.;.5 0060 - 56 14 f0 ed d4 6d ba 3a-a7 ac ad 8b d9 15 6a a5 V....m.:......j. 0070 - 7e fd e6 46 11 f8 03 49-c7 f9 f6 d4 22 9c 4a f7 ~..F...I....".J. 0080 - 52 ae 56 9a 3f 5e 69 41-57 13 ce d1 a6 c5 5f 83 R.V.?^iAW....._. 0090 - 52 c5 1c 0c 89 7d 71 d8-7f b3 c8 99 bc aa cf 49 R....}q........I 00a0 - b8 c8 7c f2 8e 63 57 6c-20 2c e8 99 c2 55 43 ab ..|..cWl ,...UC. 00b0 - 78 d6 da 4f a0 22 3e e8-d5 58 1c 2e 38 f1 de 7d x..O.">..X..8..} 00c0 - 20 1b ee 41 18 1f 8a 4e-dc 17 cd 90 c2 2b c4 af ..A...N.....+.. 00d0 - d5 dc 45 ca 37 4d 21 db-84 fb 04 24 55 6c 45 a2 ..E.7M!....$UlE.

    Start Time: 1539558601
    Timeout   : 7200 (sec)
    Verify return code: 0 (ok)
    Extended master secret: yes
---
DONE
$


Stuff the cert into /tmp/foo_cert




$ openssl s_client -showcerts -connect node000.genunix.com:443 < /dev/null 2>&1
CONNECTED(00000005)
depth=2 O = Digital Signature Trust Co., CN = DST Root CA X3
verify return:1
depth=1 C = US, O = Let's Encrypt, CN = Let's Encrypt Authority X3
verify return:1
depth=0 CN = *.genunix.com
verify return:1
---
Certificate chain
 0 s:CN = *.genunix.com
   i:C = US, O = Let's Encrypt, CN = Let's Encrypt Authority X3
-----BEGIN CERTIFICATE-----
MIIGBDCCBOygAwIBAgISA5BIQo7nEOdRweyW41WwX633MA0GCSqGSIb3DQEBCwUA
MEoxCzAJBgNVBAYTAlVTMRYwFAYDVQQKEw1MZXQncyBFbmNyeXB0MSMwIQYDVQQD
ExpMZXQncyBFbmNyeXB0IEF1dGhvcml0eSBYMzAeFw0xODA4MDQwMTU2MDZaFw0x
ODExMDIwMTU2MDZaMBgxFjAUBgNVBAMMDSouZ2VudW5peC5jb20wggEiMA0GCSqG
SIb3DQEBAQUAA4IBDwAwggEKAoIBAQDOi3zn/l9/7shHNxXF2aUlv1Cy+lze/QFE
enan5hjsv52lCmiibZlwf0/3M8uQCazhaznHVMYiaBX5h3vAhR6/t47ckMlBows8
X4AP9PvvAR+zdS2EFWQ+bwAGMwuD/q7ZDoT0tyV6KIS7W9xZjd9SVleTyIAFH/rN
WRJxq80jJRpVX3gBdN8crM/rxgp98PJYorfCrF7EeDdGqRrzO/Q3BueCuU51a8kJ
Idbh7uIwUcyzPNdNMI7IJy2TxnKbb+ocg03ounWa42VBnfkeK1GM+t1r62zWyHs1
R9CetTpnmKNUWInZaHb142tjz/ZHxWpvz6wWLiDAUg9hokDI1Ld5AgMBAAGjggMU
MIIDEDAOBgNVHQ8BAf8EBAMCBaAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUF
BwMCMAwGA1UdEwEB/wQCMAAwHQYDVR0OBBYEFCCTnlBN2NePVn8eZBqdj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9lWbyKDMeJtyM6k8l9PMAmcMVlXbdNyPiUgkpM1Vg31dZTIgJ/
RmpMiimcaSEtzJt7A7cWi+jkYc+lWNQ1EK73CKK6m7MqJiU/djjeyRb0rO7+YwLr
8p3+tf4rv2UM4gQ5b+TxACawAC+16r4ZJa9AO611teB8B/TztWSnnOl30W8ayfqp
PDPIWfODr5kFS9lVbRCXclD7Bqq7IEzXxSBKKgdszDvVJMjUNsRQiecaQ0yXx/Ai
Bd5OWdX5les=
-----END CERTIFICATE-----
 1 s:C = US, O = Let's Encrypt, CN = Let's Encrypt Authority X3
   i:O = Digital Signature Trust Co., CN = DST Root CA X3
-----BEGIN CERTIFICATE-----
MIIEkjCCA3qgAwIBAgIQCgFBQgAAAVOFc2oLheynCDANBgkqhkiG9w0BAQsFADA/
MSQwIgYDVQQKExtEaWdpdGFsIFNpZ25hdHVyZSBUcnVzdCBDby4xFzAVBgNVBAMT
DkRTVCBSb290IENBIFgzMB4XDTE2MDMxNzE2NDA0NloXDTIxMDMxNzE2NDA0Nlow
SjELMAkGA1UEBhMCVVMxFjAUBgNVBAoTDUxldCdzIEVuY3J5cHQxIzAhBgNVBAMT
GkxldCdzIEVuY3J5cHQgQXV0aG9yaXR5IFgzMIIBIjANBgkqhkiG9w0BAQEFAAOC
AQ8AMIIBCgKCAQEAnNMM8FrlLke3cl03g7NoYzDq1zUmGSXhvb418XCSL7e4S0EF
q6meNQhY7LEqxGiHC6PjdeTm86dicbp5gWAf15Gan/PQeGdxyGkOlZHP/uaZ6WA8
SMx+yk13EiSdRxta67nsHjcAHJyse6cF6s5K671B5TaYucv9bTyWaN8jKkKQDIZ0
Z8h/pZq4UmEUEz9l6YKHy9v6Dlb2honzhT+Xhq+w3Brvaw2VFn3EK6BlspkENnWA
a6xK8xuQSXgvopZPKiAlKQTGdMDQMc2PMTiVFrqoM7hD8bEfwzB/onkxEz0tNvjj
/PIzark5McWvxI0NHWQWM6r6hCm21AvA2H3DkwIDAQABo4IBfTCCAXkwEgYDVR0T
AQH/BAgwBgEB/wIBADAOBgNVHQ8BAf8EBAMCAYYwfwYIKwYBBQUHAQEEczBxMDIG
CCsGAQUFBzABhiZodHRwOi8vaXNyZy50cnVzdGlkLm9jc3AuaWRlbnRydXN0LmNv
bTA7BggrBgEFBQcwAoYvaHR0cDovL2FwcHMuaWRlbnRydXN0LmNvbS9yb290cy9k
c3Ryb290Y2F4My5wN2MwHwYDVR0jBBgwFoAUxKexpHsscfrb4UuQdf/EFWCFiRAw
VAYDVR0gBE0wSzAIBgZngQwBAgEwPwYLKwYBBAGC3xMBAQEwMDAuBggrBgEFBQcC
ARYiaHR0cDovL2Nwcy5yb290LXgxLmxldHNlbmNyeXB0Lm9yZzA8BgNVHR8ENTAz
MDGgL6AthitodHRwOi8vY3JsLmlkZW50cnVzdC5jb20vRFNUUk9PVENBWDNDUkwu
Y3JsMB0GA1UdDgQWBBSoSmpjBH3duubRObemRWXv86jsoTANBgkqhkiG9w0BAQsF
AAOCAQEA3TPXEfNjWDjdGBX7CVW+dla5cEilaUcne8IkCJLxWh9KEik3JHRRHGJo
uM2VcGfl96S8TihRzZvoroed6ti6WqEBmtzw3Wodatg+VyOeph4EYpr/1wXKtx8/
wApIvJSwtmVi4MFU5aMqrSDE6ea73Mj2tcMyo5jMd6jmeWUHK8so/joWUoHOUgwu
X4Po1QYz+3dszkDqMp4fklxBwXRsW10KXzPMTZ+sOPAveyxindmjkW8lGy+QsRlG
PfZ+G6Z6h7mjem0Y+iWlkYcV4PIWL1iwBi8saCbGS5jN2p8M+X+Q7UNKEkROb3N6
KOqkqm57TH2H3eDJAkSnh6/DNFu0Qg==
-----END CERTIFICATE-----
---
Server certificate
subject=CN = *.genunix.com

issuer=C = US, O = Let's Encrypt, CN = Let's Encrypt Authority X3

---
No client certificate CA names sent
Peer signing digest: SHA512
Peer signature type: RSA
Server Temp Key: X25519, 253 bits
---
SSL handshake has read 3414 bytes and written 414 bytes
Verification: OK
---
New, TLSv1.2, Cipher is ECDHE-RSA-AES256-GCM-SHA384
Server public key is 2048 bit
Secure Renegotiation IS supported
Compression: NONE
Expansion: NONE
No ALPN negotiated
SSL-Session:
    Protocol  : TLSv1.2
    Cipher    : ECDHE-RSA-AES256-GCM-SHA384
Session-ID: 8B9486CA5C5B5ACBB01413C6B441031CDC6596C638CED1D1050630B73B493276
    Session-ID-ctx:
Master-Key: 3724378CD3C231BDE6C1AAA15C7DCA53180F6F16EF1B1A52BB6B831D29E1BE6240B64E7A781B6393EB813B68685EE369
    PSK identity: None
    PSK identity hint: None
    SRP username: None
    TLS session ticket lifetime hint: 300 (seconds)
    TLS session ticket:
0000 - 17 68 c9 86 d7 75 0d 7b-2b 76 fd 64 bd c5 19 9b .h...u.{+v.d.... 0010 - 4a 40 7b 57 c3 db 64 37-15 a1 ef 25 95 99 8b bc J@{W..d7...%.... 0020 - 8f 49 b1 7a dc 58 74 72-2e 96 fd 05 23 01 05 07 .I.z.Xtr....#... 0030 - 29 76 e5 92 63 28 c0 a1-65 46 83 dd 3f 2d bb b8 )v..c(..eF..?-.. 0040 - 2f 43 b9 52 80 e7 b0 0f-16 2b 75 ab 3f 5f be 3e /C.R.....+u.?_.> 0050 - d5 b8 19 0b 45 10 13 e9-7e f4 53 92 61 e9 70 9d ....E...~.S.a.p. 0060 - bc 5f 8a 28 70 68 b6 3c-fd 8a be e1 d8 6a fb 0d ._.(ph.<.....j.. 0070 - 4c 58 70 fe 76 3b db ad-03 be d4 fa 9f b6 71 76 LXp.v;........qv 0080 - 15 ac 62 f7 0f a2 f3 bd-a5 7f 6a 5a fe 44 2c 48 ..b.......jZ.D,H 0090 - c9 b6 99 cd 32 a5 58 a9-46 89 4c 6b dc 8d 9b e8 ....2.X.F.Lk.... 00a0 - 07 55 34 a2 b4 f4 81 13-a7 4e 2e 4c e1 b3 35 b3 .U4......N.L..5. 00b0 - 37 ed 7c a6 d3 94 8c 12-94 22 89 12 46 26 20 19 7.|......"..F& . 00c0 - c8 e4 bb 75 41 aa 54 ef-49 db 29 e2 06 4a 37 be ...uA.T.I.)..J7. 00d0 - 29 75 ce ea b0 22 33 d8-d4 17 48 fc 1e 94 d5 c7 )u..."3...H.....

    Start Time: 1539558661
    Timeout   : 7200 (sec)
    Verify return code: 0 (ok)
    Extended master secret: yes
---
DONE
$



Stuff the chain bits into  /tmp/foo_chain

Do the goodness OCSP responder staple check :

$ openssl x509 -noout -ocsp_uri -in /tmp/foo_cert
http://ocsp.int-x3.letsencrypt.org
$

$ openssl x509 -text -noout -in /tmp/foo_cert
Certificate:
    Data:
        Version: 3 (0x2)
        Serial Number:
            03:90:48:42:8e:e7:10:e7:51:c1:ec:96:e3:55:b0:5f:ad:f7
        Signature Algorithm: sha256WithRSAEncryption
        Issuer: C = US, O = Let's Encrypt, CN = Let's Encrypt Authority X3
        Validity
            Not Before: Aug  4 01:56:06 2018 GMT
            Not After : Nov  2 01:56:06 2018 GMT
        Subject: CN = *.genunix.com
        Subject Public Key Info:
            Public Key Algorithm: rsaEncryption
                RSA Public-Key: (2048 bit)
                Modulus:
                    00:ce:8b:7c:e7:fe:5f:7f:ee:c8:47:37:15:c5:d9:
                    a5:25:bf:50:b2:fa:5c:de:fd:01:44:7a:76:a7:e6:
                    18:ec:bf:9d:a5:0a:68:a2:6d:99:70:7f:4f:f7:33:
                    cb:90:09:ac:e1:6b:39:c7:54:c6:22:68:15:f9:87:
                    7b:c0:85:1e:bf:b7:8e:dc:90:c9:41:a3:0b:3c:5f:
                    80:0f:f4:fb:ef:01:1f:b3:75:2d:84:15:64:3e:6f:
                    00:06:33:0b:83:fe:ae:d9:0e:84:f4:b7:25:7a:28:
                    84:bb:5b:dc:59:8d:df:52:56:57:93:c8:80:05:1f:
                    fa:cd:59:12:71:ab:cd:23:25:1a:55:5f:78:01:74:
                    df:1c:ac:cf:eb:c6:0a:7d:f0:f2:58:a2:b7:c2:ac:
                    5e:c4:78:37:46:a9:1a:f3:3b:f4:37:06:e7:82:b9:
                    4e:75:6b:c9:09:21:d6:e1:ee:e2:30:51:cc:b3:3c:
                    d7:4d:30:8e:c8:27:2d:93:c6:72:9b:6f:ea:1c:83:
                    4d:e8:ba:75:9a:e3:65:41:9d:f9:1e:2b:51:8c:fa:
                    dd:6b:eb:6c:d6:c8:7b:35:47:d0:9e:b5:3a:67:98:
                    a3:54:58:89:d9:68:76:f5:e3:6b:63:cf:f6:47:c5:
                    6a:6f:cf:ac:16:2e:20:c0:52:0f:61:a2:40:c8:d4:
                    b7:79
                Exponent: 65537 (0x10001)
        X509v3 extensions:
            X509v3 Key Usage: critical
                Digital Signature, Key Encipherment
            X509v3 Extended Key Usage:
TLS Web Server Authentication, TLS Web Client Authentication
            X509v3 Basic Constraints: critical
                CA:FALSE
            X509v3 Subject Key Identifier:
                20:93:9E:50:4D:D8:D7:8F:56:7F:1E:64:1A:9D:8F:27:C2:EE:B1:0C
            X509v3 Authority Key Identifier:

keyid:A8:4A:6A:63:04:7D:DD:BA:E6:D1:39:B7:A6:45:65:EF:F3:A8:EC:A1

            Authority Information Access:
                OCSP - URI:http://ocsp.int-x3.letsencrypt.org
                CA Issuers - URI:http://cert.int-x3.letsencrypt.org/

            X509v3 Subject Alternative Name:
                DNS:*.genunix.com
            X509v3 Certificate Policies:
                Policy: 2.23.140.1.2.1
                Policy: 1.3.6.1.4.1.44947.1.1.1
                  CPS: http://cps.letsencrypt.org
                  User Notice:
Explicit Text: This Certificate may only be relied upon by Relying Parties and only in accordance with the Certificate Policy found at https://letsencrypt.org/repository/

            CT Precertificate SCTs:
                Signed Certificate Timestamp:
                    Version   : v1 (0x0)
Log ID : DB:74:AF:EE:CB:29:EC:B1:FE:CA:3E:71:6D:2C:E5:B9:

AA:BB:36:F7:84:71:83:C7:5D:9D:4F:37:B6:1F:BF:64
                    Timestamp : Aug  4 02:56:06.906 2018 GMT
                    Extensions: none
                    Signature : ecdsa-with-SHA256

30:44:02:20:3E:B7:82:75:B9:92:2D:38:E4:DA:98:21:

7D:5E:C1:3E:F5:2D:A1:3E:93:4D:6C:2B:2A:1D:C9:F8:

DA:9F:1B:E4:02:20:56:2E:63:95:31:F9:6D:28:E2:06:

4C:1E:6F:F9:D1:13:17:FA:3E:91:59:86:FA:DB:DB:48:
                                68:8D:8C:1E:15:6C
                Signed Certificate Timestamp:
                    Version   : v1 (0x0)
Log ID : 29:3C:51:96:54:C8:39:65:BA:AA:50:FC:58:07:D4:B7:

6F:BF:58:7A:29:72:DC:A4:C3:0C:F4:E5:45:47:F4:78
                    Timestamp : Aug  4 02:56:06.926 2018 GMT
                    Extensions: none
                    Signature : ecdsa-with-SHA256

30:45:02:20:77:7C:92:D3:69:82:67:90:91:94:3D:CB:

ED:C8:D2:8F:08:28:92:B2:BB:D5:64:67:4E:B9:A2:BE:

E5:65:29:08:02:21:00:E6:DE:D3:84:79:1C:A9:8F:50:

3C:FB:A5:C2:CB:D0:AC:27:8C:96:06:1F:8C:D4:D2:01:
                                22:79:73:27:2F:50:23
    Signature Algorithm: sha256WithRSAEncryption
         94:3f:14:06:c8:06:45:c5:02:47:d2:29:69:49:21:24:ca:a3:
         05:e6:13:44:93:8d:a7:61:3b:74:3b:35:d7:d8:43:d0:67:a2:
         8c:c7:74:4a:fb:23:fb:fe:af:a9:5f:dd:29:07:24:34:3e:56:
         cd:a4:00:73:f6:6b:03:ed:ce:21:3b:d0:6f:65:59:bc:8a:0c:
         c7:89:b7:23:3a:93:c9:7d:3c:c0:26:70:c5:65:5d:b7:4d:c8:
         f8:94:82:4a:4c:d5:58:37:d5:d6:53:22:02:7f:46:6a:4c:8a:
         29:9c:69:21:2d:cc:9b:7b:03:b7:16:8b:e8:e4:61:cf:a5:58:
         d4:35:10:ae:f7:08:a2:ba:9b:b3:2a:26:25:3f:76:38:de:c9:
         16:f4:ac:ee:fe:63:02:eb:f2:9d:fe:b5:fe:2b:bf:65:0c:e2:
         04:39:6f:e4:f1:00:26:b0:00:2f:b5:ea:be:19:25:af:40:3b:
         ad:75:b5:e0:7c:07:f4:f3:b5:64:a7:9c:e9:77:d1:6f:1a:c9:
         fa:a9:3c:33:c8:59:f3:83:af:99:05:4b:d9:55:6d:10:97:72:
         50:fb:06:aa:bb:20:4c:d7:c5:20:4a:2a:07:6c:cc:3b:d5:24:
         c8:d4:36:c4:50:89:e7:1a:43:4c:97:c7:f0:22:05:de:4e:59:
         d5:f9:95:eb
$

ta da ...


$ openssl ocsp -issuer /tmp/foo_chain -cert /tmp/foo_cert -text -url http://ocsp.int-x3.letsencrypt.org
OCSP Request Data:
    Version: 1 (0x0)
    Requestor List:
        Certificate ID:
          Hash Algorithm: sha1
          Issuer Name Hash: 7EE66AE7729AB3FCF8A220646C16A12D6071085D
          Issuer Key Hash: A84A6A63047DDDBAE6D139B7A64565EFF3A8ECA1
          Serial Number: 039048428EE710E751C1EC96E355B05FADF7
    Request Extensions:
        OCSP Nonce:
            0410AF283079082966EF04E8805C8D9215EB
OCSP Response Data:
    OCSP Response Status: successful (0x0)
    Response Type: Basic OCSP Response
    Version: 1 (0x0)
Responder Id: C = US, O = Let's Encrypt, CN = Let's Encrypt Authority X3
    Produced At: Oct 12 02:56:00 2018 GMT
    Responses:
    Certificate ID:
      Hash Algorithm: sha1
      Issuer Name Hash: 7EE66AE7729AB3FCF8A220646C16A12D6071085D
      Issuer Key Hash: A84A6A63047DDDBAE6D139B7A64565EFF3A8ECA1
      Serial Number: 039048428EE710E751C1EC96E355B05FADF7
    Cert Status: good
    This Update: Oct 12 02:00:00 2018 GMT
    Next Update: Oct 19 02:00:00 2018 GMT

    Signature Algorithm: sha256WithRSAEncryption
         76:f4:7f:ff:4a:c5:26:c2:60:88:fe:ef:90:dd:c7:0a:39:fd:
         d0:df:fe:17:4b:71:78:08:60:e0:ee:14:4b:98:91:ef:77:59:
         81:51:ee:cc:b6:16:99:92:7d:98:64:e2:a7:be:f2:cb:24:61:
         47:67:0c:62:2c:06:95:4b:73:34:0c:7a:ce:ce:1c:27:85:14:
         97:f7:2e:76:3e:21:8b:83:ab:29:1f:55:48:25:f4:61:6a:d8:
         bf:65:10:90:71:04:10:45:4d:9a:37:84:02:9e:eb:06:45:3f:
         85:4c:e4:a4:b6:3f:54:fa:4d:4b:9e:d4:8f:1b:44:4f:fb:6c:
         e3:18:11:ba:3c:e1:21:64:97:4b:4a:28:d7:c5:b1:b3:46:fe:
         36:99:da:da:aa:e4:32:57:a1:14:d5:54:b9:6d:e4:49:59:a2:
         77:d4:87:97:95:8d:e6:7c:5b:64:db:60:ab:3e:e3:a7:a6:bc:
         00:0e:b8:dd:0c:42:a0:18:f8:d5:73:16:80:50:3c:b3:24:d0:
         01:da:3d:09:29:4e:93:d7:81:27:91:39:9c:67:99:53:d4:5f:
         ab:6a:42:67:1e:ca:9d:4c:40:a7:f8:71:e4:bf:43:e8:a0:20:
         62:9c:d5:25:16:8a:41:f5:70:85:c4:e4:45:9d:b6:95:4f:4f:
         79:3f:84:53
WARNING: no nonce in response
Response verify OK
/tmp/foo_cert: good
        This Update: Oct 12 02:00:00 2018 GMT
        Next Update: Oct 19 02:00:00 2018 GMT
$
$

I am sure that OpenSSL 1.1.1 would have no issues with www.tls13.net but anything less won't grok that at all.

Dennis