strongswan.org
Wiki/Project Management
Downloads
Gitweb
projects
/
strongswan.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
delay OCSP response by 5 seconds
[strongswan.git]
/
testing
/
tests
/
ikev2
/
ocsp-timeouts
/
hosts
/
winnetou
/
etc
/
openssl
/
ocsp
/
ocsp.cgi
1
#!/bin/bash
2
3
cd /etc/openssl
4
5
echo "Content-type: application/ocsp-response"
6
echo ""
7
8
# simulate a delayed response
9
sleep 5
10
11
/usr/bin/openssl ocsp -index index.txt -CA strongswanCert.pem \
12
-rkey ocspKey.pem -rsigner ocspCert.pem \
13
-nmin 5 \
14
-reqin /dev/stdin -respout /dev/stdout