diff options
| author | Giga Murphy <giga1699@gmail.com> | 2025-07-24 00:18:27 +0000 |
|---|---|---|
| committer | Christian Breunig <christian@breunig.cc> | 2025-12-29 07:11:33 +0100 |
| commit | bb7476e1a2f61504f274823ced93c5bb608a76c6 (patch) | |
| tree | 75db95dca7a1be5d70d2ffa45a19b961bfd4c193 /interface-definitions | |
| parent | 51036f9d188bd7e0061a6c8c4798fb2b0ce63297 (diff) | |
| download | vyos-1x-bb7476e1a2f61504f274823ced93c5bb608a76c6.tar.gz vyos-1x-bb7476e1a2f61504f274823ced93c5bb608a76c6.zip | |
T7635: OpenConnect Certificate Authentication
Diffstat (limited to 'interface-definitions')
| -rw-r--r-- | interface-definitions/vpn_openconnect.xml.in | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/interface-definitions/vpn_openconnect.xml.in b/interface-definitions/vpn_openconnect.xml.in index a2f040b2f..085f181fd 100644 --- a/interface-definitions/vpn_openconnect.xml.in +++ b/interface-definitions/vpn_openconnect.xml.in @@ -69,6 +69,37 @@ <valueless/> </properties> </leafNode> + <node name="certificate"> + <properties> + <help>Use certificate based authentication</help> + </properties> + <children> + <leafNode name="user-identifier-field"> + <properties> + <help>Defines what field in the certificate identifies the username</help> + <valueHelp> + <format>cn</format> + <description>OID 2.5.4.3 - Common Name</description> + </valueHelp> + <valueHelp> + <format>uid</format> + <description>OID 0.9.2342.19200300.100.1.1 - UID</description> + </valueHelp> + <valueHelp> + <format>x.x.xx.xxx</format> + <description>Custom OID in dotted decimal format</description> + </valueHelp> + <constraint> + <regex>(^\d{1,5}(?:\.\d{1,5})*$|cn|uid)</regex> + </constraint> + <constraintErrorMessage>Invalid OID selection. Must be cn, uid, or a valid OID format.</constraintErrorMessage> + <completionHelp> + <list>cn uid x.x.xx.xxx</list> + </completionHelp> + </properties> + </leafNode> + </children> + </node> </children> </node> <node name="identity-based-config"> |
