How to Do Wi-Fi Certificate-Based Authentication Using EAP-TLS and RADIUS
How to Do Wi-Fi Certificate-Based Authentication Using EAP-TLS and RADIUS
Wi-Fi Certificate-Based Authentication uses X.509 certificates to authenticate devices and users to a Wi-Fi network, providing a secure and passwordless authentication method. This is typically implemented using the EAP-TLS (Extensible Authentication Protocol - Transport Layer Security) protocol in conjunction with a RADIUS (Remote Authentication Dial-In User Service) server. EAP-TLS is a widely used authentication method for WPA2 and WPA3 Enterprise Wi-Fi networks, and it is considered one of the most secure authentication methods available for Wi-Fi networks. This method not only enhances security but it also removes the user from the equation, now the user opens their device and it automatically connects to the Wi-Fi network without the need to enter a password, making it a seamless and user-friendly experience.
What is EAP-TLS?
EAP (Extensible Authentication Protocol) is a flexible network access authentication protocol developed by the Internet Engineering Task Force (IETF), as detailed in RFC3748. EAP is particularly useful in scenarios where Internet Protocol (IP) isn’t available, offering a secure means of transmitting identification data for network authentication.
At first, EAP was used primarily in dial-up and wireless networks with username and password-based authentication methods such as PAP and CHAP. However, as the threats evolved, EAP expanded to support more secure authentication methods, including EAP-TLS (Transport Layer Security). EAP-TLS uses both the client certificate and the server certificate for mutual authentication, ensuring a high level of security. It is a widely used authentication method for 802.1x, the protocol used in WPA2 and WPA3 Enterprise Wi-Fi networks, and it is considered one of the most secure authentication methods available for Wi-Fi networks.
How Does Wi-Fi Certificate-Based Authentication with EAP-TLS Work?
To set up large-scale EAP-TLS certificate-based Wi-Fi authentication in your organization, several key components are necessary. These include:
An Internal PKI or Certificate Authority: Think of your Internal PKI as the badge issuer for your organization. You need to issue your digital badges (certificates) to devices and users. Don’t worry, it is no longer impossible to run your own PKI. A modern cloud-based PKI solution (such as EZCA by Keytos) can be created and connected to your RADIUS server in a matter of minutes, without the need for complex infrastructure or deep PKI expertise.
RADIUS Server: Even though networking gear is very powerful these days, most Access Points and Wi-Fi controllers do not have the capability to perform EAP-TLS or any advance authentication method on their own, instead they connect to a RADIUS Server that performs the authentication and authorization of the users and devices. The RADIUS server is responsible for validating the certificates presented by the devices and users, and granting or denying access to the network based on the authentication results. You can use a traditional on-premises RADIUS server such as FreeRADIUS or Microsoft NPS, but if your devices are cloud managed, you will need a cloud managed RADIUS that can connect to Entra ID such as EZRADIUS by Keytos, which integrates seamlessly with your PKI and provides additional features such as Intune device compliance checks.
MDM Service: Though optional (for example EZCA + EZRADIUS can distribute the certificates to your devices using their Keytos Connect App), it’s highly beneficial. A device management platform like Intune or ManageEngine simplifies the deployment of certificates to devices, and can automate the process of enrolling devices for EAP-TLS authentication. MDMs can also help with certificate lifecycle management, such as renewing expiring certificates and revoking certificates for lost or stolen devices. In the video below you can see how you can Enable end to end certificate-based authentication for Wi-Fi with Intune, EZCA, and EZRADIUS in less than 30 minutes.
How to Enable EAP-TLS Wi-Fi Certificate-Based Authentication with Intune, EZCA, and EZRADIUS in Less than 30 Minutes
Check out our video walkthrough where we show you how to set up EAP-TLS Wi-Fi certificate-based authentication using Intune, EZCA, and EZRADIUS in less than 30 minutes:
What is the Workflow For EAP-TLS Wi-Fi Certificate-Based Authentication?
Certificate-based authentication (CBA) with EAP-TLS for WPA2/WPA3-Enterprise Wi-Fi typically involves these steps:
- The client device (laptop, smartphone, etc.) enrolls into Mobile Device Management (MDM) which can control policies and configurations on the device.
- The MDM installs the root CA certificate on the device, along with a SCEP profile that tells the device to request a client certificate from the CA.
- The CA issues a client certificate to the device, which is then stored securely on the device.
- The device attempts to connect to the Wi-Fi network and starts the authentication process with the RADIUS server via the Access Point.
- The device checks that the RADIUS server certificate is valid and not subject to Evil Twin attacks.
- The device uses its client certificate to request network access through the Access Point, which is then forwarded to the RADIUS server.
- The RADIUS server verifies the certificate’s authenticity and its issuance by a recognized CA and checks the certificate’s revocation status. If the certificate is valid and meets the access policies, the RADIUS server grants access to the network.
- The RADIUS server tells the Access Point whether to allow or deny the connection, and the Access Point then allows or denies access to the network accordingly.
What are the Advantages of EAP-TLS Wi-Fi Certificate-Based Authentication?
EAP-TLS Wi-Fi authentication is widely recognized as the most secure method for network authentication in WPA2 and WPA3 Enterprise Wi-Fi environments, especially when compared to the traditional, password-based Wi-Fi authentication methods. This is due to several key advantages that EAP-TLS offers over shared credentials and other authentication methods.
1. EAP-TLS Wi-Fi CBA Offers Enhanced Security Compared to Shared Credentials
Unlike shared credentials, with EAP-TLS, you can tell who is who in your network, and you even enhance your network security by using network access control policies based on the information contained in the certificates, such as device type, user role, or compliance status. This allows you to create granular access policies that determine what resources a device can access once authenticated, providing an additional layer of security to your network. Additionally, EAP-TLS is resistant to common attacks such as password guessing and brute-force attacks, making it a more secure option for Wi-Fi authentication.
2. EAP-TLS Wi-Fi CBA Allows for Quicker Wi-Fi Authentication
Traditional EAP methods can involve up to 22 steps from the initial connection to authorization - EAP-TLS simplifies this process to just 4 steps, significantly accelerating authorization and network access both for first-time connections and when devices roam within a Wi-Fi network. This reduction in steps not only enhances roaming capabilities and reduces latency but also provides a smoother and more efficient experience for networks managing a lot of devices.
3. EAP-TLS Wi-Fi Passwordless Authentication Eliminates User Friction
EAP-TLS Wi-Fi authentication eliminates the need for users interaction, it might be a bit harder to setup, but once you have one device setup, you can roll it out to the rest of your devices and users and they will never have to worry about Wi-Fi authentication again. This is especially beneficial in environments where users must rotate their passwords frequently, as it removes the risk of users forgetting their Wi-Fi passwords or using weak passwords that can be easily compromised. With EAP-TLS, users can simply connect to the Wi-Fi network without the need to enter a password, providing a seamless and user-friendly experience while maintaining a high level of security.
Want to Learn More about EAP-TLS Wi-Fi Certificate-Based Authentication?
If you want to learn more about EAP-TLS Wi-Fi certificate-based authentication, or if you want to see how EZCA and EZRADIUS can help you implement EAP-TLS Wi-Fi authentication in your organization, you can schedule time to chat with one of our identity experts for a free consultation, or you can check out our EZCA product page and EZRADIUS product page to learn more about how our solutions can help you implement EAP-TLS Wi-Fi authentication in your organization.