check_ocsp_class1_startssl
· 331 B · Text
Raw
#!/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}
| 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} |