aboutsummaryrefslogtreecommitdiffstats
path: root/testing/hosts/winnetou/etc/openssl/ocsp/ocsp.cgi
blob: cb585ed08581c408378d3428ea4c444b907a35b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash

cd /etc/openssl

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

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