testing: Added botan/net2net-pkcs12 scenario

This commit is contained in:
Andreas Steffen
2018-11-12 13:51:01 +01:00
parent 440e6a03c1
commit b5747192bd
11 changed files with 137 additions and 0 deletions
@@ -0,0 +1,6 @@
# /etc/strongswan.conf - strongSwan configuration file
charon {
load = pem nonce revocation botan x509 curl vici kernel-netlink socket-default updown
multiple_authentication = no
}
@@ -0,0 +1,36 @@
connections {
gw-gw {
local_addrs = 192.168.0.1
remote_addrs = 192.168.0.2
local {
auth = pubkey
id = moon.strongswan.org
}
remote {
auth = pubkey
id = sun.strongswan.org
}
children {
net-net {
local_ts = 10.1.0.0/16
remote_ts = 10.2.0.0/16
updown = /usr/local/libexec/ipsec/_updown iptables
esp_proposals = aes128gcm128-modp3072
}
}
version = 2
mobike = no
proposals = aes128-sha256-modp3072
}
}
secrets {
pkcs12-moon {
file = moonCert.p12
secret = "kUqd8O7mzbjXNJKQ"
}
}
@@ -0,0 +1,6 @@
# /etc/strongswan.conf - strongSwan configuration file
charon {
load = pem nonce revocation botan x509 curl vici kernel-netlink socket-default updown
multiple_authentication = no
}
@@ -0,0 +1,36 @@
connections {
gw-gw {
local_addrs = 192.168.0.2
remote_addrs = 192.168.0.1
local {
auth = pubkey
id = sun.strongswan.org
}
remote {
auth = pubkey
id = moon.strongswan.org
}
children {
net-net {
local_ts = 10.2.0.0/16
remote_ts = 10.1.0.0/16
updown = /usr/local/libexec/ipsec/_updown iptables
esp_proposals = aes128gcm128-modp3072
}
}
version = 2
mobike = no
proposals = aes128-sha256-modp3072
}
}
secrets {
pkcs12-sun {
file = sunCert.p12
secret = "IxjQVCF3JGI+MoPi"
}
}