From 55fc514ed20c204a0e0f34c1068beda5dba856e4 Mon Sep 17 00:00:00 2001 From: Martin Willi Date: Thu, 28 Nov 2019 10:20:50 +0100 Subject: [PATCH] swanctl: Document the remote ca_id option for identity based CA constraints --- src/swanctl/swanctl.opt | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/swanctl/swanctl.opt b/src/swanctl/swanctl.opt index f7801b3c3..0ae9d4579 100644 --- a/src/swanctl/swanctl.opt +++ b/src/swanctl/swanctl.opt @@ -593,6 +593,16 @@ connections..remote.cacert.slot = connections..remote.cacert.module = Optional PKCS#11 module name. +connections..remote.ca_id = + Identity in CA certificate to accept for authentication. + + The specified identity must be contained in one (intermediate) CA + of the remote peer trustchain, either as subject or as subjectAltName. + This has the same effect as specifying _cacerts_ to force clients under + a CA to specific connections; it does not require the CA certificate to + be available locally, and can be received from the peer during the + IKE exchange. + connections..remote.pubkeys = Comma separated list of raw public keys to accept for authentication.