summaryrefslogtreecommitdiff
path: root/testing/hosts/winnetou/etc/openssl/sales/ocsp/ocsp.cgi
blob: c53cb9a76166372379ae6f0054cd0d59f7c2dff5 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/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