12 lines
256 B
Bash
Executable File
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
|