phase2_ca_cert


Description:

[ NoAccessorMethod ]
public Bytes phase2_ca_cert { owned get; set; }

Contains the "phase 2" CA certificate if used by the EAP method specified in the phase2_auth or phase2_autheap properties.

Certificate data is specified using a "scheme"; three are currently supported: blob, path and pkcs#11 URL. When using the blob scheme this property should be set to the certificate's DER encoded data. When using the path scheme, this property should be set to the full UTF-8 encoded path of the certificate, prefixed with the string "file://" and ending with a terminating NUL byte. This property can be unset even if the EAP method supports CA certificates, but this allows man-in-the-middle attacks and is NOT recommended.

Note that enabling NMSetting8021x:system-ca-certs will override this setting to use the built-in path, if the built-in path is not a directory.

Setting this property directly is discouraged; use the set_phase2_ca_cert function instead.