Merge pull request #719 from chenxiaolong/T4245

T4245: interface-eapol: Update for VyOS 1.4 PKI changes and parent CA behavior
This commit is contained in:
Christian Poessinger 2022-02-20 12:13:53 +01:00 committed by GitHub
commit 2b16f48c31
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,31 +7,35 @@ EAPoL comes with an identify option. We automatically use the interface MAC
address as identity parameter.
.. cfgcmd:: set interfaces {{ var0 }} <interface> {{ var2 }} {{ var3 }}
{{ var5 }} {{ var6 }} eapol ca-cert-file <file>
{{ var5 }} {{ var6 }} eapol ca-certificate <name>
SSL :abbr:`CA (Certificate Authority)` x509 PEM file used afor authentication
of the remote side.
Set the name of the SSL :abbr:`CA (Certificate Authority)` PKI entry used for
authentication of the remote side. If an intermediate CA certificate is
specified, then all parent CA certificates that exist in the PKI, such as the
root CA or additional intermediate CAs, will automatically be used during
certificate validation to ensure that the full chain of trust is available.
Example:
.. code-block:: none
set interfaces {{ var0 }} {{ var1 }} {{ var2 }} {{ var4 }} {{ var5 }} {{ var7 }} eapol ca-cert-file /config/auth/ca.pem
set pki ca eapol-server-intermediate-ca <Server intermediate CA contents>
set pki ca eapol-server-root-ca <Server root CA contents>
set interfaces {{ var0 }} {{ var1 }} {{ var2 }} {{ var4 }} {{ var5 }} {{ var7 }} eapol ca-certificate eapol-server-intermediate-ca
.. cfgcmd:: set interfaces {{ var0 }} <interface> {{ var2 }} {{ var3 }}
{{ var5 }} {{ var6 }} eapol cert-file <file>
{{ var5 }} {{ var6 }} eapol certificate <name>
SSL/x509 public certificate file provided by the client to authenticate
against the 802.1x system.
Set the name of the x509 client keypair used to authenticate against the
802.1x system. All parent CA certificates of the client certificate, such as
intermediate and root CAs, will be sent as part of the EAP-TLS handshake.
Example:
.. code-block:: none
set interfaces {{ var0 }} {{ var1 }} {{ var2 }} {{ var4 }} {{ var5 }} {{ var7 }} eapol cert-file /config/auth/public.pem
.. cfgcmd:: set interfaces {{ var0 }} <interface> {{ var2 }} {{ var3 }}
{{ var5 }} {{ var6 }} eapol key-file <file>
SSL/x509 private certificate file provided by the client to authenticate
against the 802.1x system.
.. code-block:: none
set interfaces {{ var0 }} {{ var1 }} {{ var2 }} {{ var4 }} {{ var5 }} {{ var7 }} eapol key-file /config/auth/private.key
set pki ca eapol-client-intermediate-ca <Client intermediate CA contents>
set pki ca eapol-client-root-ca <Client root CA contents>
set pki certificate eapol-client certificate <Client certificate contents>
set pki certificate eapol-client private key <Client private key contents>
set interfaces {{ var0 }} {{ var1 }} {{ var2 }} {{ var4 }} {{ var5 }} {{ var7 }} eapol certificate eapol-client