]> git.ipfire.org Git - thirdparty/strongswan.git/blob - testing/hosts/winnetou/etc/openssl/sales/ocsp/ocsp.cgi
testing: Build data.sql files for SQL test cases
[thirdparty/strongswan.git] / testing / hosts / winnetou / etc / openssl / sales / ocsp / ocsp.cgi
1 #!/bin/bash
2
3 cd /etc/openssl/sales
4
5 echo "Content-type: application/ocsp-response"
6 echo ""
7
8 cat | /usr/bin/openssl ocsp -index index.txt -CA salesCert.pem \
9 -rkey ocspKey.pem -rsigner ocspCert.pem \
10 -nmin 5 \
11 -reqin /dev/stdin -respout /dev/stdout | cat