Last active 6 months ago

waja revised this gist 12 years ago. Go to revision

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}
Newer Older