ocsp-no-signer-cert added

This commit is contained in:
Andreas Steffen
2007-04-20 14:49:50 +00:00
parent cb5485318f
commit ce9b4ea6e6
8 changed files with 101 additions and 0 deletions
@@ -0,0 +1,27 @@
# /etc/ipsec.conf - strongSwan IPsec configuration file
config setup
strictcrlpolicy=yes
plutostart=no
ca strongswan
cacert=strongswanCert.pem
ocspuri=http://ocsp.strongswan.org:8880
auto=add
conn %default
keyexchange=ikev2
ikelifetime=60m
keylife=20m
rekeymargin=3m
keyingtries=1
conn home
left=PH_IP_CAROL
leftnexthop=%direct
leftcert=carolCert.pem
[email protected]
right=PH_IP_MOON
rightsubnet=10.1.0.0/16
[email protected]
auto=add
@@ -0,0 +1,26 @@
# /etc/ipsec.conf - strongSwan IPsec configuration file
config setup
strictcrlpolicy=yes
plutostart=no
ca strongswan-ca
cacert=strongswanCert.pem
ocspuri=http://ocsp.strongswan.org:8880
auto=add
conn %default
keyexchange=ikev2
ikelifetime=60m
keylife=20m
rekeymargin=3m
keyingtries=1
conn rw
left=PH_IP_MOON
leftnexthop=%direct
leftcert=moonCert.pem
[email protected]
leftsubnet=10.1.0.0/16
right=%any
auto=add
@@ -0,0 +1,11 @@
#!/bin/bash
cd /etc/openssl
echo "Content-type: application/ocsp-response"
echo ""
/usr/bin/openssl ocsp -index index.txt -CA strongswanCert.pem \
-rkey winnetouKey.pem -rsigner winnetouCert.pem \
-nmin 5 \
-reqin /dev/stdin -respout /dev/stdout