blob: 72aa7a6c49f0ef73e5f341e61a6f87cec96b7102 (
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 \
-nmin 5 \
-reqin /dev/stdin -respout /dev/stdout | cat
|