Last active 6 months ago

check_ocsp_class1_startssl Raw
1#!/bin/sh
2wget -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}