waja

waja / gist:46061d5935e946468c42ab22908d42d9

Last active 3 months ago

Like 0

waja revised this gist 12 years ago · db696ee

1 file changed, 5 insertions

check_ocsp_class1_startssl (file created)
@@ -0,0 +1,5 @@
1 + #!/bin/sh
2 + wget -q http://www.startssl.com/certs/sub.class1.server.ca.pem -O /tmp/sub.class1.server.ca.pem; \
3 + openssl ocsp -CAfile /tmp/sub.class1.server.ca.pem -issuer /tmp/sub.class1.server.ca.pem \
4 + -url http://ocsp.startssl.com/sub/class1/server/ca -noverify -no_nonce \
5 + -header "HOST" "ocsp.startssl.com" -cert ${1}