Last active
August 29, 2015 14:22
-
-
Save jcjones/5b131a18c36647ba62f2 to your computer and use it in GitHub Desktop.
Run from the Boulder directory so that ./test/test-ca.pem is available.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# run from Boulder dev directory | |
OCSP="http://ocsp.int-x1.letsencrypt.org/" | |
CA_CERT="test/test-ca.pem" | |
SERIAL=0x02000000000000016DD50EDFA6DAAF26 | |
openssl ocsp -no_nonce -reqout /tmp/ocsp.req \ | |
-issuer ${CA_CERT} \ | |
-serial ${SERIAL} \ | |
-text | |
curl -vv -k ${OCSP} -X POST \ | |
--data-binary @/tmp/ocsp.req \ | |
-H "Content-Type:application/ocsp-request" \ | |
> /tmp/ocsp.rsp | |
openssl ocsp -issuer ${CA_CERT} -CAfile ${CA_CERT} -respin /tmp/ocsp.rsp -text |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment