ajikeshi:~/dev/ocspd/src/example$ ocsptool --inder --ask --load-cert cert.pem --load-issuer root-ca.pem --load-signer root-ca.pem
Connecting to OCSP server: localhost...
Resolving 'localhost:8080'...
Connecting to '::1:8080'...
Connecting to '127.0.0.1:8080'...
OCSP Response Information:
        Response Status: Successful
        Response Type: Basic OCSP Response
        Version: 1
        Responder Key ID: 3dcfa9052946c95dcbf6bb32074a518ae305eabc
        Produced At: Sat Aug 31 13:18:29 UTC 2019
        Responses:
                Certificate ID:
                        Hash Algorithm: SHA1
                        Issuer Name Hash: 53de14f83dfd9ffc7cf7a018adc90b35f1aa05fb
                        Issuer Key Hash: 3dcfa9052946c95dcbf6bb32074a518ae305eabc
                        Serial Number: 01fbb629e04218f8d4d4860606fe050aaf9c6390
                Certificate Status: revoked
                Revocation time: Sat Aug 24 12:48:51 UTC 2019
                This Update: Sat Aug 31 13:18:25 UTC 2019
                Next Update: Sun Sep 01 13:18:25 UTC 2019
        Extensions:
        Signature Algorithm: ECDSA-SHA256

-----BEGIN OCSP RESPONSE-----
MIIBOgoBAKCCATMwggEvBgkrBgEFBQcwAQEEggEgMIIBHDCBvqIWBBQ9z6kFKUbJ
Xcv2uzIHSlGK4wXqvBgPMjAxOTA4MzExMzE4MjlaMIGOMIGLME0wCQYFKw4DAhoF
AAQUU94U+D39n/x896AYrckLNfGqBfsEFD3PqQUpRsldy/a7MgdKUYrjBeq8AhQB
+7Yp4EIY+NTUhgYG/gUKr5xjkKEWGA8yMDE5MDgyNDEyNDg1MVqgAwoBARgPMjAx
OTA4MzExMzE4MjVaoBEYDzIwMTkwOTAxMTMxODI1WqECMAAwDAYIKoZIzj0EAwIF
AANHADBEAiA84s48Hvyfwt0llFSiepw5W694f7HkS+PIkJK0DVzExQIgIC4dW8dp
qxt0cUtRgR7kRbq/XJkxWwWNJ/FaZlqDeUagAjAA
-----END OCSP RESPONSE-----

Verifying OCSP Response: Success.

ajikeshi:~/dev/ocspd/src/example$ openssl ocsp -host localhost -port 8080 -VAfile root-ca.pem -issuer root-ca.pem -cert cert.pem
WARNING: no nonce in response
Response verify OK
cert.pem: revoked
        This Update: Aug 31 13:18:25 2019 GMT
        Next Update: Sep  1 13:18:25 2019 GMT
        Reason: keyCompromise
        Revocation Time: Aug 24 12:48:51 2019 GMT