Files
strongswan-ext/testing/hosts/winnetou/etc/ca/ocsp/ocsp.cgi
T
Tobias Brunner c10a13589e testing: Use pki --ocsp as OCSP responder
The only exception is the ikev2/ocsp-no-signer-cert scenario as the
pki command won't sign an OCSP response with a certificate that isn't
the CA certificate or marked as an OCSP signer.
2023-11-13 12:50:47 +01:00

10 lines
221 B
Bash
Executable File

#!/bin/bash
cd /etc/ca
echo "Content-type: application/ocsp-response"
echo ""
cat | pki --ocsp --respond --cacert strongswanCert.pem --index index.txt \
--cert ocspCert.pem --key ocspKey.pem --lifetime 5 --debug 0