How To Configure WPA2-Enterprise With Okta
Introduction
Historically, security had to be a trade off with user experience. The iron clad security of certificate-based authentication was often dismissed as more work than it was worth. Today, technology has advanced to the point where certificate-based Wi-Fi authentication is not only more secure than credential-based authentication, but it’s also a significantly better user experience.
In this guide we will show you how to integrate your Okta Identity Provider with SecureW2’s Turnkey PKI and 802.1x Onboarding solution. In less than an hour, your network will be set up with EAP-TLS (802.1x Certificate Authentication), and all end users will have to do is enter their Okta credentials in our dissolvable clients. Then, the software will enroll their device for a certificate and configure it for EAP-TLS WPA2-Enterprise authentication (shown below).
Integration Process Overview
- Add an Identity Provider in SecureW2’s Management Portal
- The Identity Provider will give you context that tells the Cloud Connector system how to connect to the Okta user database, verify users, and issue certificates.
- Create a SAML Application in Okta to connect SecureW2 certificate issuance services with the IDP
- When users enter their Okta credentials during the certificate enrollment process, the IDP verifies the user and sends user attributes to SecureW2 via SAML application. Once the attributes have been sent to SecureW2, the user can be issued a customized certificate tied to their identity and their device’s identity.
- Configure Attribute Mapping and Upload Okta Metadata
- Administration can customize the attribute mapping to segment network users into groups. For example, a university would want separate user groups for students and professors, so they configure the attributes to automatically sort users into either of these groups. After mapping attributes, the Okta metadata is uploaded to segment the network.
- Update Policy Engine Workflows and Enrollment Policies
- With users organized into user groups via Policy Engine Workflows, you can begin to customize policies that dictate the type of certificates that can be enrolled into the devices of these users/groups.
- Configure SecureW2’s Cloud RADIUS with your Access Points / Wireless Controller
- With users organized into user groups via Policy Engine Workflows, you can dictate the network user experience by configuring Network Policies. Administrators can define the level of internet and network group access appropriate for each user group. Cloud RADIUS comes pre-built for certificate authentications. CloudRADIUS configuration shares a couple of IPs and a shared secret for your WiFi Controllers to reach out to for authentication.
Prerequisites
The following prerequisites are required to set up SAML authentication in Okta:
- Active subscription with SecureW2 Cloud Connector.
- Active subscription to the Okta portal to create SAML apps and user groups.
Creating an Identity Provider in the JoinNow Management Portal
An identity provider (IDP) is the system that proves the identity of a user/device. Adding an IDP in the JoinNow Management Portal tells the Cloud Connector system how to connect to your Okta to verify user credentials for certificate issuance.
To add an IDP in SecureW2:
- Log in to the JoinNow Management Portal.
- Navigate to Identity Management > Identity Providers.
- Click Add Identity Provider.
- Under the Basic section, in the Name field, enter the name of the IDP.
- In the Description field, enter a suitable description for the IDP.
- From the Type drop-down list, select SAML.
- From the SAML Vendor drop-down list, select OKTA.
- Click Save.
- The page refreshes and displays the Configuration, Attribute Mapping, and Groups tabs.
- Select the Configuration tab.
- Under the Service Provider (SP) Info section, copy the Entity ID and ACS URL values to your clipboard.
Creating a SAML Application in Okta
The SAML application is a crucial connection between your IDP and SecureW2. The SAML application allows a user to enter their Okta credentials, which are then passed to their IDP for verification. The IDP verifies the user’s identity and then sends attributes to the SAML application, which then passes the attributes to SecureW2 for certificate issuance.
To create a SAML application in Okta:
- Log in to the Okta portal.
- Navigate to Applications > Applications.
- Click Create App Integration.
- In the Create a new app integration pop-up window, select SAML 2.0 as the sign-in method.
- Click Next.
- Under the General Settings tab, in the App name field, enter a unique name for the application.
- Click Next.
- Under the Configure SAML tab, in the SAML Settings section, copy the ACS URL value from the JoinNow Management Portal and paste the value in the Single sign-on URL field (refer to the Creating an Identity Provider in the JoinNow Management Portal section, step 11).
- Copy the Entity ID value from the JoinNow Management Portal and paste the value in the Audience URI (SP Entity ID) field (refer to the Creating an Identity Provider in the JoinNow Management Portal section, step 11).
- Scroll down to the bottom of the page and click Next.
- Enter the optional details on the Feedback page and click Finish.
Configuring Attribute Mapping in the JoinNow Management Portal
Attribute mapping defines the attributes provided by your IDP, which are used to segregate users and their roles. Once your IDP identifies a user, it sends the attributes to your SAML application, which then sends them to the JoinNow Management Portal.
To map attributes in the SAML provider, perform the following steps:
- Log in to the Okta portal.
- Navigate to Applications > Applications.
- On the Applications page, open the newly created app integration and then click the General tab.
- Under the General tab, scroll down to the SAML Settings section and click the Edit link.
- Click Next.
- Under the Configure SAML tab, scroll down to the Attribute Statements (optional) section and enter the following attributes in the fields:
Name Value email user.email firstname user.firstname lastname user.lastname - Scroll down to the Preview the SAML assertion generated from the information above section and click the Preview the SAML Assertion button. The IdP metadata is displayed in a new tab.
- Copy the entire content, paste it into a text editor, and then save the metadata as a .xml file on your computer. You can use this metadata to integrate the JoinNow Management Portal with Okta.
- To configure the JoinNow Management Portal for attribute mapping:
- Navigate to Identity Management > Identity Providers and click the Edit link of the IDP you created earlier (refer to the Creating an Identity Provider in the JoinNow Management Portal section).
- Select the Attribute Mapping tab and then click Add.
- In the Local Attribute field, enter email as the name of the variable.
- From the Remote Attribute drop-down list, select Email.
- Click Next.
- Click Add.
- In the Local Attribute field, enter upn as the name of the variable.
NOTE: User Principal Name (upn) is the first thing authenticated against the RADIUS server. This is useful when a user connects to your network and wants to use the eduroam because then it can find the name of the university in the email address.
- From the Remote Attribute drop-down list, select User Defined. Enter Email in the field that appears next to the Remote Attribute field.
- Click Next.
- Click Add.
- In the Local Attribute field, enter displayName as the variable’s name.
- From the Remote Attribute drop-down list, select User Defined. Enter FirstName in the field that appears next to the Remote Attribute field.
- Click Next.
- Click Update.
- Navigate to Identity Management > Identity Providers and click the Edit link of the IDP you created earlier (refer to the Creating an Identity Provider in the JoinNow Management Portal section).
Configuring the IDP with Okta Metadata
To upload the Okta metadata to the JoinNow Management Portal:
- Log in to the JoinNow Management Portal.
- Navigate to Identity Management > Identity Providers.
- On the Identity Providers page, click the Edit link for the IDP you created earlier (refer to the Creating an Identity Provider in the JoinNow Management Portal section).
- Select the Configuration tab.
- Under the Identity Provider (IDP) Info section, in the Metadata field, click the Choose file button to upload the metadata file obtained from Okta (refer to the Configuring Attribute Mapping in the JoinNow Management Portal section, step 8).
- Click Upload and then click Update.
Adding Users to the SAML Application
To assign a user to the application:
- Log in to the Okta portal.
- Navigate to Applications > Applications and then select the newly created app (refer to the Creating a SAML Application in Okta section).
- Under the Assignments tab, from the Assign drop-down menu, click Assign to People.
- On the pop-up window, click Assign for the corresponding users.
- Under the Assignments tab, from the Assign drop-down menu, click Assign to People.
Configuring Group Mapping in the JoinNow Management Portal
- To create a group in the Okta portal:
- Log in to the Okta portal.
- Navigate to Directory > Groups and click Add group to create a group.
- To assign a group to the application:
- Navigate to Applications > Applications and then select the newly created app (refer to the Creating a SAML Application in Okta section).
- Under the Assignments tab, from the Assign drop-down menu, click Assign to Groups.
- On the pop-up window, click Assign for the corresponding groups.
- To add and map the available groups, perform the following steps:
- Navigate to Identity Management > Identity Providers and click the Edit link of the IDP you created earlier (refer to the Creating an Identity Provider in the JoinNow Management Portal section).
- Select the Groups tab and then click Add.
- In the Local Group field, enter a name for the group. This group name can be used to configure the Network Policies.
- In the Remote Group field, enter the name of your group as it is configured in the Okta portal.
- Click Create.
- Repeat as necessary for any group you wish to create Network Policies around.
- Click Update.
- Navigate to Identity Management > Identity Providers and click the Edit link of the IDP you created earlier (refer to the Creating an Identity Provider in the JoinNow Management Portal section).
Configuring Policies in the JoinNow Management Portal
SecureW2 PKI supports integration with Okta using SAML to authenticate users and issue certificates based on policies configured in the JoinNow Management Portal. The following policy components must be set up: the Authentication Policy for SAML-based user authentication, the Policy Engine Workflow to categorize users and devices, and the Enrollment Policy to manage certificate issuance.
The Authentication Policy links the Identity Provider to the network profile and is required to authenticate users with the specified Identity Provider. The Policy Engine Workflow allows you to define and create roles based on attributes and groups retrieved from the Identity Provider. These roles can then be assigned a unique Enrollment Policy for certificate issuance and used to trigger a Network Policy.
Configuring an Authentication Policy
An Authentication Policy can be created from the Authentication Policies page. If you’ve already set up an authentication policy through Getting Started, you can either edit it with the required values or create a new one.
To create a new Authentication Policy, perform the following steps:
- Navigate to Policy Management > Authentication Policies.
- On the Authentication Policies page, click Add Authentication Policy.
- In the Basic section, enter the name of the Authentication Policy in the Name field.
- In the Display Description field, enter a suitable description for the Authentication Policy.
- Click Save.
- Click the Conditions tab.
- In the Profile drop-down list, ensure that your network profile is selected.
- Select the Settings tab.
- From the Identity Provider drop-down list, select the IDP you created earlier (refer to the Creating an Identity Provider in the JoinNow Management Portal section).
- Select the Enable User Self Service checkbox, if required.
- Click Update.
Configuring a Policy Engine Workflow
To add a Policy Engine Workflow in the JoinNow Management Portal, perform the following steps:
- Navigate to Policy Management > Policy Engine Workflows.
- Click Add Policy Engine Workflows.
- In the Basic section, enter the name of the policy engine workflow in the Name field.
- In the Display Description field, enter a suitable description for the policy engine workflow.
- Click Save.
- Select the Conditions tab.
- From the Identity Provider drop-down list, select the IDP that you created earlier (refer to the Creating an Identity Provider in the JoinNow Management Portal section).
- Click Update.
Creating an Enrollment Policy
To configure an enrollment policy, perform the following steps:
- Navigate to Policy Management > Enrollment Policies.
- Click Add Enrollment Policy.
- In the Basic section, enter the name of the enrollment policy in the Name field.
- In the Display Description field, enter a suitable description for the enrollment policy.
- Click Save.
- The page refreshes, and the Conditions and Settings tabs are displayed.
- Select the Conditions tab.
- In the Conditions section, from the Role list, select the role policy you created earlier (see the Configuring a Policy Engine Workflow section).
- From the Device Role list, select DEFAULT DEVICE ROLE POLICY.
- Click Update.
Creating a Network Policy
A Network Policy helps to configure various network attributes and connection permissions based on the roles and groups defined in the Policy Engine Workflow.
To configure the Network Policy, perform the following steps:
- Navigate to Policy Management > Network Policies.
- Click Add Network Policy.
- In the Basic field, enter the name of the network policy in the Name field.
- In the Display Description field, enter the suitable description for the network policy.
- Click Save.
- The page refreshes and displays the Conditions and Settings tabs.
- Select the Conditions tab.
- Select Match All or Match Any based on your requirement to set authentication criteria. In the case explained here, we are selecting Match All.
- Click Add rule.
- Expand Identity and select the Role option.
- Click Save.
- The Role option appears under the Conditions tab.
- From the Role Equals drop-down list, select the Policy Engine Workflow you created earlier (refer to the Configuring a Policy Engine Workflow section). You can select multiple Policy Engine Workflows to assign to a Network Policy.
- Select the Settings tab.
- Click Add Attribute.
- From the Dictionary drop-down list, select an option: Radius:IETF or Custom.
- From the Attribute drop-down-list, select any of the following options:
- Framed-Protocol
- Framed-IP-Address
- Framed-IP-NetMask
- Framed-Routing
- Filter-Id
- Framed-MTU
- Framed-Compression
- Reply-Message
- Framed-Route
- Framed-IPX-Network
- State
- Class
- Session-Timeout
- Tunnel-Type
- Tunnel-Medium-Type
- Tunnel-Private-Group-ID
- Framed-Pool
- In the Value field, enter the appropriate value for the attribute.
- Click Save.
Configure SecureW2’s Cloud RADIUS with your Access Points / Wireless Controller
SecureW2 is built in with Cloud RADIUS, a turnkey RADIUS Server designed for certificate-based authentication in the cloud. When you use SecureW2’s PKI Services, Cloud RADIUS comes included and works out of the box with the certificates that you generate using SecureW2. All that you need to do is input a shared secret and IP addresses in your AP/Controller and you’re all set.
Our Cloud RADIUS also has the capability to authenticate dynamically. A Dynamic RADIUS server can communicate with the Identity Provider to enforce user and group policies at the time of authentication. Cloud RADIUS is the only RADIUS server that can communicate securely with Cloud Identity Providers and empower organizations with certificate-based authentication. Now, you can change users’ permissions and have network security reflect these changes without having to reissue new certificates.
Integrating Cloud RADIUS Server
The network SSID for onboarding the users should be configured to point to SecureW2 CloudRADIUS for RADIUS authentication.
- Navigate to your Access Point.
- Create a secure SSID with an appropriate name, and configure the redirect URL with the Securew2 landing page, such as https://cloud.securew2.com/public/52094/Secure_Wifi/
- Use the Primary IP Address, Secondary IP Address, and Shared Secret values from RADIUS Configuration in the JoinNow Management Portal to set up the RADIUS Server on the Access Point.
Sample Flow for Configuring the RADIUS Server in Meraki
To set up RADIUS servers:
- Navigate to Wireless > Access Control.
- From the SSID drop-down list, select the required SSID.
- In the Network access section, select the Open (no encryption) radio button.
- Scroll down to the Splash page section and select the Sign-on with radio button.
- From Sign-on with drop-down list, select my RADIUS server.
- In the RADIUS for splash page section, click Add a server.
- Navigate to RADIUS > RADIUS Configuration in the JoinNow Management Portal. Copy the values from the Primary IP Address, Authentication Port, and Shared Secret values.
- Paste the Host (IP Address), Port (Authentication Port), and Secret values in the Meraki Portal.
- From the Walled garden drop-down list, select Walled garden is enabled.
- In the Walled garden ranges field, enter *.securew2.com
- Scroll to the bottom of the page and click Save Changes.
- To configure the redirect URL:
- Navigate to Wireless > Splash Page.
- Under Custom splash URLs, select the Or provide a URL where users will be redirected radio button and enter the Securew2 landing page.
- Scroll to the bottom of the page and click Save Changes.
Conclusion
The enrolled users, devices, and their details can be tracked on the Devices page in the JoinNow Management Portal (navigate to Data and Monitoring > Devices).
Wi-Fi Authentication events of the users are available on the RADIUS Events page. To access the RADIUS Events page, log in to the JoinNow Management Portal and navigate to Data and Monitoring > RADIUS Events.
With SecureW2, using your Okta directory for Secure Wi-Fi access is really easy. With our Turnkey Managed PKI, 802.1x Onboarding, and Cloud RADIUS Server you can take advantage of excellent network security alongside an awesome end user experience. Like to learn more? Click here for a pricing estimate that tailors our cost effective solution to your organization’s needs.
Schedule a Demo
Sign up for a quick demonstration and see how SecureW2 can make your organization simpler, faster, and more secure.
Schedule NowPricing Information
Our solutions scale to fit you. We have affordable options for organizations of any size. Click here to see our pricing.
Check Pricing