Put phones and laptops on your enterprise Wi-Fi with their own certificate instead of a password. A phone scans a QR code in the Korthveil phone app and makes its key itself; a laptop gets a profile for Windows, macOS or Linux. Each device can be revoked on its own, and the firewall refuses it at once.
You need:
- the NAC add-in set up for certificates (EAP-TLS), as in the guide Network access control and Enterprise Wi-Fi: its client CA chosen from the certificate store, and a RADIUS server certificate with a DNS name;
- an enterprise (802.1X) Wi-Fi network that uses the firewall as its RADIUS server: the firewall's own access point, or managed access points (Wireless › Wi-Fi networks);
- for phones: the Korthveil phone app (iPhone or Android 11 and later); the phone does not need to be paired with the firewall;
- about 5 minutes per device.
You don't need: a password for the network, an MDM, or any other software on the devices.
Tested so far: the firewall side (codes, certificates, profiles, revocation) is tested automatically. Installing the network on a real iPhone, a real Android phone, Windows, macOS and Linux is still to be tested on real devices before Korthveil claims it works on each one.
How it works
phone (Korthveil app) Korthveil firewall
┌────────────────────┐ QR: address, ┌──────────────────────────────┐
│ scans the QR code │ pin, code (1 h) │ Identity › Network access control › NAC devices │
│ makes its own key │ ◀───────────────── │ "Join Wi-Fi with a │
│ sends a request │ ─────────────────▶ │ certificate" │
│ with the code │ certificate │ NAC's CA signs the key │
│ installs the │ ◀───────────────── │ (the code works once) │
│ network (EAP-TLS) │ │ │
└────────────────────┘ │ RADIUS admits the device │
│ while its certificate is in │
│ the store; Revoke deletes it │
└──────────────────────────────┘
- The QR code holds the console's addresses (IPv4, IPv6 or names), the pin of the console's certificate and a single-use code that works for one hour. Only its SHA-256 is stored on the firewall; the code itself is never logged.
- The phone makes its Wi-Fi key and sends only its public key in a certificate request. The firewall names the certificate itself (
wifi-<id>): a request cannot choose its own name. - The certificate is an issued client certificate of NAC's CA in the certificate store, so the RADIUS server admits it only while it is stored.
- The phone checks the RADIUS server: the network is installed with the authority that signed the server's certificate and the server's name.
About the phone's key: iPhones and Android phones let an app install an enterprise Wi-Fi network only with a key the phone's Wi-Fi can use. On iPhone that is a Keychain key on this device only (the Secure Enclave is not offered to Wi-Fi); on Android the key is handed to the system's Wi-Fi with the certificate (the Keystore is not offered to apps for Wi-Fi). Either way the key is made on the phone and never sent to the firewall.
Step 1: Check that onboarding is ready
Open Identity › Network access control › NAC devices and scroll to Join Wi-Fi with a certificate.
If something is missing, the panel says what to set first, for example choose the client CA from the certificate store in the NAC add-in. Fix each point on Identity › Network access control, commit, and come back.
Step 2: Join a phone
- Under Network (SSID), choose or type the enterprise network, for example
Staff. - Optionally enter a Device name and Owner.
- Under A phone, press Show the QR code.
- On the phone, open the Korthveil app and press Join Wi-Fi with a certificate, then Scan the QR code. Confirm with Face ID, a fingerprint or the passcode.
- The console shows Joined: the phone has its certificate.
On iPhone the network is installed and the phone joins it when in range. On Android the network is suggested: approve it once in the notification or in Settings › Wi-Fi.
The phone must reach the firewall's console while it joins: on the guest network, the home network, or over the VPN.
Step 3: Download a laptop profile
- Choose the Network (SSID) and optionally a Device name and Owner.
- Under A laptop, choose the System: Windows, macOS or Linux.
- Turn on WPA3-Enterprise only only when the network offers WPA3-Enterprise and nothing else.
- Press Download the profile. The certificate file's password is shown once: note it, then hide it.
On the laptop:
- Windows: unzip, open PowerShell in the folder and run
powershell -ExecutionPolicy Bypass -File .\install.ps1. It asks for the password, imports the certificate and the RADIUS server's authority for the current user, and adds the Wi-Fi profile. - macOS: open the
.mobileconfigfile, then approve it in System Settings › Privacy & Security › Profiles. macOS asks for the password. - Linux: unzip and run
sh install.sh. It adds a NetworkManager connection; NetworkManager asks for the password when it connects.
Delete the download afterwards. If the password is lost, revoke the laptop and make a new profile.
Step 4: Revoke a device
In Devices joined with a certificate, press Revoke next to the device and confirm. The firewall:
- deletes the device's certificate from the store;
- applies the NAC add-in again, so the RADIUS server refuses the certificate from now on;
- ends the device's current session (RADIUS Disconnect to the access point or switch), so it cannot stay on.
Revoked devices stay listed for 90 days with who revoked them.
Audit log
Every action is in Monitoring › Logs & audit › Audit log: wifi-cert.code.create, wifi-cert.code.cancel, wifi-cert.enroll (successful and failed joins), wifi-cert.laptop and wifi-cert.revoke. Codes and passwords are never written there.
Troubleshooting
| What you see | What to do |
|---|---|
| The code is not valid or has expired | Codes work once and for one hour: press Show the QR code again. |
| The phone says the firewall can't be reached | The phone must reach the console address in the QR code: join the guest network or turn on the VPN, then scan again. |
| The firewall gave no RADIUS server name to check | Issue the RADIUS server certificate with a DNS name (System › Certificates & encryption › Certificates) and choose it on Identity › Network access control. |
| Too many wrong codes from one phone | Wrong codes count like failed sign-ins: wait a few minutes. |
| The laptop joins but is refused | Check the certificate is still listed as Allowed and that EAP-TLS is on in the NAC add-in. Recent authentications on Identity › Network access control says why a sign-in was refused. |