Files
strongswan-ext/testing/hosts/winnetou/etc/openssl/ocsp/ocsp.cgi
T
Reto Buerki 766466b8d1 Adapt host configuration
Adapt the configuration of the test hosts to the new Debian-based
system.
2012-12-18 16:00:21 +01:00

12 lines
256 B
Bash
Executable File

#!/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.pem -rsigner ocspCert.pem \
-nmin 5 \
-reqin /dev/stdin -respout /dev/stdout | cat