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

cd /etc/openssl

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

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