ocsp.cgi 258 B

1234567891011
  1. #!/bin/bash
  2. cd /etc/ca/research
  3. echo "Content-type: application/ocsp-response"
  4. echo ""
  5. cat | /usr/bin/openssl ocsp -index index.txt -CA researchCert.pem \
  6. -rkey ocspKey.pem -rsigner ocspCert.pem \
  7. -nmin 5 \
  8. -reqin /dev/stdin -respout /dev/stdout | cat