EAP Certificates
The following endpoints manage the certificates and keys used for 802.1X EAP authentication. Two authentication methods are supported:
- EAP-PEAP: uses a CA certificate to validate the authentication server.
- EAP-TLS: uses mutual TLS authentication, requiring a client certificate, a private key, and a CSR (Certificate Signing Request) workflow.
Upload EAP PEAP CA certificate
Uploads the CA certificate used for EAP PEAP (802.1X) authentication. The certificate validates the authentication server's identity.
POST /eap_802_1X_certificate_change.fcgi
Parameters
- Certificate file in binary format, sent as the request body.
Response
- This request has no response.
Request example
$.ajax({
url: "/eap_802_1X_certificate_change.fcgi?session=" + session,
type: 'POST',
contentType: 'application/octet-stream',
data: [bytes of the CA certificate file]
});
Upload EAP PEAP CA certificate for Wi-Fi NEW!
Uploads the CA certificate used by EAP/802.1X authentication on the wireless interface. This is the Wi-Fi counterpart of eap_802_1X_certificate_change, which applies to the wired interface.
Available only on version V8. It will soon be available for iDFace Max devices with firmware V7, through a USB Wi-Fi dongle.
POST /eap_802_1X_certificate_change_wifi.fcgi
Parameters
- The certificate file must be sent as the request body, in binary format, with
Content-Type: application/octet-stream.
Response
- This call has no return.
Request example
$.ajax({
url: "/eap_802_1X_certificate_change_wifi.fcgi?session=" + session,
type: 'POST',
contentType: 'application/octet-stream',
data: [bytes of the certificate file]
});
Upload EAP-TLS client certificate
Uploads the client certificate used for EAP-TLS (802.1X) authentication.
Available on versions V6, V7 and V8.
POST /eap_tls_802_1X_certificate_change.fcgi
Parameters
- Client certificate file in binary format, sent as the request body.
Response
- This request has no response.
Request example
$.ajax({
url: "/eap_tls_802_1X_certificate_change.fcgi?session=" + session,
type: 'POST',
contentType: 'application/octet-stream',
data: [bytes of the client certificate file]
});
Upload EAP-TLS private key
Uploads the private key used for EAP-TLS (802.1X) authentication. Use this endpoint to supply a pre-existing private key. To use a key generated via the CSR workflow, use Persist generated EAP-TLS private key instead.
Available on versions V6, V7 and V8.
POST /eap_tls_802_1X_private_key_change.fcgi
Parameters
- Private key file in binary format, sent as the request body.
Response
- This request has no response.
Request example
$.ajax({
url: "/eap_tls_802_1X_private_key_change.fcgi?session=" + session,
type: 'POST',
contentType: 'application/octet-stream',
data: [bytes of the private key file]
});
Get EAP-TLS CSR file
Returns the Certificate Signing Request (CSR) file for EAP-TLS. If a CSR has not been generated yet, a new private key and CSR are generated using the provided password. If the CSR already exists, the existing file is returned without regenerating.
Available on versions V6, V7 and V8.
POST /get_eap_tls_csr_file.fcgi
Parameters
- password (string): Password used to protect the generated private key. Required only on the first call, when the CSR does not yet exist.
Response
- CSR file content.
Request example
$.ajax({
url: "/get_eap_tls_csr_file.fcgi?session=" + session,
type: 'POST',
contentType: 'application/json',
data: JSON.stringify({
password: "mypassword"
})
});
Persist generated EAP-TLS private key
Persists the private key that was generated during the CSR creation (via Get EAP-TLS CSR file). Call this endpoint after obtaining a signed certificate from a CA and before configuring EAP-TLS authentication.
Available on versions V6, V7 and V8.
POST /eap_tls_802_1X_private_key_persist.fcgi
Parameters
- This request has no parameters.
Response
- This request has no response.
Request example
$.ajax({
url: "/eap_tls_802_1X_private_key_persist.fcgi?session=" + session,
type: 'POST',
contentType: 'application/json'
});