#!/bin/bash

cd /etc/openssl/sales

echo "Content-type: application/ocsp-response"
echo ""

/usr/bin/openssl ocsp -index index.txt -CA salesCert.pem \
                      -rkey ocspKey.pem -rsigner ocspCert.pem \
		      -nmin 5 \
		      -reqin /dev/stdin -respout /dev/stdout
