Created
January 6, 2014 12:26
-
-
Save waja/8282171 to your computer and use it in GitHub Desktop.
Check the status of the ocsp responder (here the class1 startssl variant).
The -header option (supported by recent openssl versions) is needed for fixing HTTP/1.1, see http://www.math.ucla.edu/~jimc/documents/bugfix/21-openssl-ocsp.html!
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/sh | |
wget -q http://www.startssl.com/certs/sub.class1.server.ca.pem -O /tmp/sub.class1.server.ca.pem; \ | |
openssl ocsp -CAfile /tmp/sub.class1.server.ca.pem -issuer /tmp/sub.class1.server.ca.pem \ | |
-url http://ocsp.startssl.com/sub/class1/server/ca -noverify -no_nonce \ | |
-header "HOST" "ocsp.startssl.com" -cert ${1} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you.