"description": "Specifies the path the CA certificate used for authentication",
"type": "string"
},
+ "ca_cert2": {
+ "description": "Path to the inner-tunnel (phase 2) CA certificate for EAP-TLS",
+ "type": "string"
+ },
"ca_cert2_usesystem": {
"type": "boolean"
},
"description": "File path to client certificate file (PEM/DER)",
"type": "string"
},
+ "client_cert2": {
+ "description": "File path to the inner-tunnel (phase 2) client certificate for EAP-TLS",
+ "type": "string"
+ },
"dae_client": {
"type": "alias",
"default": "radius_das_client"
"description": "Private key matching with the server certificate for EAP-TLS/PEAP/TTLS",
"type": "string"
},
+ "private_key2": {
+ "description": "Inner-tunnel (phase 2) private key for EAP-TLS",
+ "type": "string"
+ },
"private_key_passwd": {
"description": "Passphrase for private key",
"type": "string"
},
+ "private_key2_passwd": {
+ "description": "Passphrase for the inner-tunnel (phase 2) private key",
+ "type": "string"
+ },
"proxy_arp": {
"description": "Proxy ARP",
"type": "boolean"
config.mcast_rate = ratestr(config.mcast_rate);
+ /*
+ * Certificate constraint lists are semicolon-separated strings in the
+ * wpa_supplicant config, while UCI stores them as arrays. Join them here
+ * so they are emitted as a single quoted value below.
+ */
+ for (let key in [ 'altsubject_match', 'altsubject_match2',
+ 'domain_match', 'domain_match2',
+ 'domain_suffix_match', 'domain_suffix_match2' ])
+ if (type(config[key]) == 'array')
+ config[key] = length(config[key]) ? join(';', config[key]) : null;
+
network_append_string_vars(config, [ 'ssid',
'identity', 'anonymous_identity', 'password',
- 'ca_cert', 'ca_cert2', 'client_cert', 'client_cert2', 'subject_match',
+ 'ca_cert', 'ca_cert2', 'client_cert', 'client_cert2',
+ 'subject_match', 'subject_match2',
+ 'altsubject_match', 'altsubject_match2',
+ 'domain_match', 'domain_match2',
+ 'domain_suffix_match', 'domain_suffix_match2',
'private_key', 'private_key_passwd', 'private_key2', 'private_key2_passwd',
]);
network_append_vars(config, [
'proto', 'mesh_fwding', 'mesh_rssi_threshold', 'frequency', 'fixed_freq',
'disable_ht', 'disable_ht40', 'disable_vht', 'vht', 'max_oper_chwidth',
'ht40', 'beacon_int', 'ieee80211w', 'rates', 'mesh_basic_rates', 'mcast_rate',
- 'altsubject_match', 'domain_match', 'domain_suffix_match',
'bssid_blacklist', 'bssid_whitelist', 'erp', 'eap', 'phase2',
'dpp_connector', 'dpp_csign', 'dpp_netaccesskey',
]);