Allowed fields:
- Type: Service type. We currently only support wifi.
- SSID: An hexadecimal or a string representation of a 802.11 SSID.
-- EAP: EAP type. We currently only support tls or peap.
+- EAP: EAP type. We currently only support tls, ttls or peap.
- CACertFile: File path to CA certificate file (PEM/DER).
- ClientCertFile: File path to client certificate file (PEM/DER).
- PrivateKeyFile: File path to client private key file (PEM/DER/PFX).
Example
=======
-This is a configuration file for a network providing both EAP-TLS and
+This is a configuration file for a network providing EAP-TLS, EAP-TTLS and
EAP-PEAP services.
-The respective SSIDs are tls_ssid and peap_ssid and the file name is
-example.config.
+The respective SSIDs are tls_ssid, ttls_ssid and peap_ssid and the file name
+is example.config.
example@example:[~]$ cat /var/lib/connman/example.config
[global]
PrivateKeyPassphraseType = fsid
Identity = user
+[service_ttls]
+Type = wifi
+Name = ttls_ssid
+EAP = ttls
+CACertFile = /home/user/.cert/ca.pem
+Phase2 = MSCHAPV2
+Identity = user
+
[service_peap]
Type = wifi
Name = peap_ssid
dbus_message_unref(message);
return err;
}
- } else if (g_strcmp0(eap, "peap") == 0) {
+ } else if (g_strcmp0(eap, "peap") == 0 ||
+ g_strcmp0(eap, "ttls") == 0) {
int err;
err = set_network_peap(network, &dict, passphrase);