summaryrefslogtreecommitdiff
path: root/testing/tests/tnc/tnccs-20-pdp-eap/hosts/alice/etc/strongswan.conf
blob: 72dbbfa528a2dddcb02d328ab8991f665de88b00 (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/strongswan.conf - strongSwan configuration file

charon-systemd {
  load = random nonce aes sha1 sha2 md5 pem pkcs1 gmp hmac x509 revocation curl vici socket-default kernel-netlink eap-identity eap-ttls eap-md5 eap-tnc tnc-pdp tnc-imv tnc-tnccs tnccs-20 sqlite

  syslog {
    daemon {
      tnc = 2
      imv = 3
    }
  }
  plugins {
    eap-ttls {
      phase2_method = md5
      phase2_piggyback = yes
      phase2_tnc = yes
      max_message_count = 0
    }
    eap-tnc {
      max_message_count = 0
    }
    tnc-pdp {
      server = aaa.strongswan.org
      radius {
        secret = gv6URkSs
      }
    }
  }
}

libimcv {
  debug_level = 3
  database = sqlite:///etc/db.d/config.db
  policy_script = /usr/local/libexec/ipsec/imv_policy_manager

  plugins {
    imv-swima {
      rest_api
      {
        uri = http://admin-user:strongSwan@tnc.strongswan.org/api/
      }
    }
  }
}