12 lines
279 B
Bash
Executable File
12 lines
279 B
Bash
Executable File
#!/bin/bash
|
|
|
|
cd /etc/openssl
|
|
|
|
echo "Content-type: application/ocsp-response"
|
|
echo ""
|
|
|
|
/usr/bin/openssl ocsp -index index.txt -CA strongswanCert.pem \
|
|
-rkey ocspKey.pem -rsigner ocspCert.pem \
|
|
-nmin 5 \
|
|
-reqin /dev/stdin -respout /dev/stdout
|