authorities {
  strongswan {
     cacert = strongswanCert.pem
     crl_uris = 'ldap://ldap.strongswan.org/cn=strongSwan Root CA, o=strongSwan Project, c=CH?certificateRevocationList'
  }
  research {
     cacert=researchCert.pem
     crl_uris = 'ldap://ldap.strongswan.org/cn=Research CA, ou=Research, o=strongSwan Project, c=CH?certificateRevocationList'
  }
  sales {
     cacert=salesCert.pem
     crl_uris = 'ldap://ldap.strongswan.org/cn=Sales CA, ou=Sales, o=strongSwan Project, c=CH?certificateRevocationList'
  }
}

connections {

   research {
      local_addrs  = 192.168.0.1

      local {
         auth = pubkey
         certs = moonCert.pem
         id = moon.strongswan.org
      }
      remote {
         auth = pubkey
         cacerts = researchCert.pem
         revocation = strict
      }
      children {
         alice {
            local_ts  = 10.1.0.10/32
            esp_proposals = aes128-sha256-ecp256
         }
      }
      version = 2
      proposals = aes128-sha256-ecp256
   }

   sales {
      local_addrs  = 192.168.0.1

      local {
         auth = pubkey
         certs = moonCert.pem
         id = moon.strongswan.org
      }
      remote {
         auth = pubkey
         cacerts = salesCert.pem
         revocation = strict
      }
      children {
         venus {
            local_ts  = 10.1.0.20/32
            esp_proposals = aes128-sha256-ecp256
         }
      }
      version = 2
      proposals = aes128-sha256-ecp256
   }
}
