summaryrefslogtreecommitdiff
path: root/testing/tests/ikev2/multi-level-ca-ldap/hosts/moon/etc/ipsec.conf
blob: 46f1030cdc90d7b55cde9a2462ca6fa31cd4e7f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# /etc/ipsec.conf - strongSwan IPsec configuration file

config setup
	crlcheckinterval=180
	strictcrlpolicy=yes
	plutostart=no

ca strongswan
	cacert=strongswanCert.pem
	crluri="ldap://ldap.strongswan.org/cn=strongSwan Root CA, o=Linux strongSwan, c=CH?certificateRevocationList"
	auto=add

ca research 
        cacert=researchCert.pem
	crluri="ldap://ldap.strongswan.org/cn=Research CA, ou=Research, o=Linux strongSwan, c=CH?certificateRevocationList"
	auto=add
	
ca sales 
        cacert=salesCert.pem
	crluri="ldap://ldap.strongswan.org/cn=Sales CA, ou=Sales, o=Linux strongSwan, c=CH?certificateRevocationList"
	auto=add
			
conn %default
	ikelifetime=60m
	keylife=20m
	rekeymargin=3m
	keyingtries=1
	keyexchange=ikev2
	left=PH_IP_MOON
	leftcert=moonCert.pem
	leftid=@moon.strongswan.org
	leftfirewall=yes

conn alice
	leftsubnet=PH_IP_ALICE/32
	right=%any
	rightca="C=CH, O=Linux strongSwan, OU=Research, CN=Research CA"
	auto=add
	
conn venus
	leftsubnet=PH_IP_VENUS/32
	right=%any
	rightca="C=CH, O=Linux strongSwan, OU=Sales, CN=Sales CA"
	auto=add