Introduction
WSTEP Gateway uses token-based authentication (an API Key ID and API Secret) to enable domain-joined devices to auto-enroll certificates via GPO. This guide demonstrates how to integrate the SecureW2 WSTEP Gateway with Microsoft IIS and GPO to automatically enroll certificates on managed devices.
This chapter describes the following:
Operating System Requirements
The following are the operating system requirements for installing and configuring SecureW2
JoinNow WSTEP Gateway application:
- Windows Server 2008 R2 (Enterprise or Datacenter edition)
Or - Windows Server 2012 R2 (Standard or Datacenter edition)
Or - Windows Server 2016 R2 (Standard or Datacenter edition)
Or - Windows Server 2022 R2 (Standard or Datacenter edition)
Web Server Requirements
To install and configure the JoinNow WSTEP Gateway, you need a running instance of IIS.
The following are additional requirements:
- IIS server running the SecureW2 JoinNow WSTEP Gateway application and the Active Domain Controller must run on different Windows server instances
- IIS server must be part of the AD domain
- The IIS server must have a valid Server Certificate, and enrolling Devices must trust the Root CA that issued the Server Certificate. The server certificate must be issued to the hostname of the IIS server, and the same name should be in the Subject Alternative Name’s DNS field of the server certificate.
Hardware Requirements
The following are the hardware requirements for installing and configuring JoinNow WSTEP:
- Hardware/Virtual Machine (CPU): 2 GHz or more single processor
- RAM: 4GB
- Disk space: 60GB
Prerequisites
The following prerequisites must be met to enable device enrollment for digital certificates using the WSTEP Gateway on Microsoft IIS:
- Access to the server using a domain administrator account.
SecureW2 Management Portal Configuration
This chapter describes how to configure the SecureW2 JoinNow Management Portal to support certificate enrollment through the WSTEP Gateway. Complete the following configurations before proceeding to the IIS server setup in section 4.
Creating an Intermediate CA for WSTEP Gateway Integration
As a best practice, SecureW2 recommends having a dedicated intermediate CA to issue certificates for WSTEP-based enrollments.
To create a new intermediate CA for WSTEP, perform the following steps:
- Navigate to Dynamic PKI > Certificate Authorities.
- Click Add Certificate Authority.
- In the Basic section, from the Generate CA For drop-down list, select the Device and User Authentication option to authenticate devices and users.
- From the Type drop-down list, select Intermediate CA.
- From the Certificate Authority drop-down list, select the default Root CA for your organization.
- In the Common Name field, enter a name for the intermediate CA.
- From the Key Size drop-down list, select 2048 for the CA certificate key pair.
- From the Signature Algorithm drop-down list, select the signature algorithm for the certificate signing request. The option available is SHA-256.
- In the Validity Period (in years) field, enter the validity period of the Intermediate CA certificate in terms of the number of years.
- In the Notifications section:
- From the Expiry Notification Frequency (in days) drop-down list, select the frequency interval for which a certificate expiration notification should be sent to users.
- Select the Notify user on successful Enrollment checkbox to notify users after a successful enrollment. If the RFC has a valid email address, end users will receive a notification when the certificate is issued or expires; otherwise, they will not.
- In the Revocation section:
- In the Revoke Certificate if unused for field, select the number of days after which an unused certificate can be revoked.
- Since last usage – Select this checkbox to revoke the certificate after a specified number of days if it remains unused.
- Since certificate issuance – Select this checkbox to revoke the certificate after a specified number of days after it is issued.
- From the Reason Code drop-down list, select any one of the following reasons for which the certificate is revoked.
- Certificate Hold
- AA Compromise
- Privilege Withdrawn
- Unspecified
NOTE: A Certificate revoked for the reason “Certificate Hold” can be unrevoked later. However, it still counts as a licensed certificate.
A Certificate revoked for any other reason is permanently revoked and does not count as a licensed certificate.
- In the Revoke Certificate if unused for field, select the number of days after which an unused certificate can be revoked.
- Click Save to generate the new intermediate CA.
Creating WSTEP Enrollment Token
Generate an API Key ID and API Secret by creating a Device Management Platform in the JoinNow Management Portal. These credentials are used to configure the JoinNow WSTEP Enrollment Gateway application for token-based authentication.
To create a Device Management Platform, perform the following steps:
- Navigate to Integration Hub > Device Management Platforms.
- Click Add.
- In the Basic section, in the Name field, enter the name of the API Token.
- In the Description field, enter the description for the API Token.
- From the Type drop-down list, select WSTEP Enrollment Token.
- Click Save. A .csv file containing the API Key ID and API Secret is downloaded, which you use to configure the JoinNow WSTEP Enrollment Gateway. Save this file securely, because it is downloaded only once during token creation, and the secret cannot be recovered if it is lost.
NOTE: A Default WSTEP Certificate Template is created in the Configuring the Default WSTEP Client Certificate Template section.
- The page refreshes, and the Attribute Mapping and Groups tabs are displayed.
- Select the Attribute Mapping tab to map the attributes sent by the WSTEP Gateway to local attributes. These attributes can then be used to assign an Enrollment Policy to users/devices for enrolling certificates.
- Click Add.
- In the Local Attribute field, enter the LDAP attributes supported by the JoinNow WSTEP Gateway.
- In the Default field, enter a description of the attribute.
- From the Remote Attribute drop-down list, select the attribute to be mapped to the Local Attribute. If you select USER_DEFINED, enter the attribute value to be mapped.
Configure the attributes shown below for the WSTEP Gateway. For each attribute, from the Remote Attribute drop-down list, select USER_DEFINED, and enter the corresponding attribute in the field provided.Local Attribute
Remote Attribute
email
mail
cn
cn
upn
userPrincipalName
dNSHostName
dNSHostName
displayName
displayName
ObjectSid
ObjectSid
- Click Next.
- Repeat steps a – e to add the required LDAP attributes.
- Click Add.
- Click the Groups tab and then click Add.
- In Local Group, provide a name to identify the group locally.
- In Remote Group, choose the group attribute received from Active Directory to map to the Local Attribute. The Remote Group name must be in LDAP distinguished name (DN) format. Sample formats are shown below.
- CN=Group Policy Creator Owners,CN=Users,DC=vdlab,DC=test
- CN=Domain Admins,CN=Users,DC=vdlab,DC=test
- CN=Enterprise Admins,CN=Users,DC=vdlab,DC=test
- Click Next. You can add multiple groups as needed.
- Click Update to save the settings.
Certificate Templates
A certificate template is a blueprint for the attributes that must be encoded on a certificate and its intended use case.
Configuring the Default WSTEP Client Certificate Template
A client certificate template issues the certificate to the end user. SecureW2 recommends using the Default WSTEP Client Certificate Template, which is generated automatically when you create a WSTEP enrollment token in Device Management Platforms (refer to the Creating WSTEP Enrollment Token section). You select this template later in the Enrollment Policy.
To configure the default WSTEP Certificate Template, perform the following steps:
- Navigate to Dynamic PKI > Certificate Authorities and scroll to the Certificate Templates section.
- Click the Edit icon next to Default WSTEP Certificate Template.
- In the Validity Period field, enter the validity period of the client certificate.
- From the Signature Algorithm drop-down list, select SHA-256 as the signature algorithm for the certificate signing request.
- In the Extended Key Usage section, from the Use Certificate For list, select Client Authentication.
- The Object-Sid field is required when you use NPS as the RADIUS server.
- Click Update.
NOTE: If you have any queries related to the certificate template, contact the Support team at support@securew2.com.
Configuring the Server Certificate Template for IIS Server
A server certificate template is used to issue the certificate to the server. To create a server certificate template for WSTEP, perform the following steps:
- Navigate to Dynamic PKI > Certificate Authorities.
- Scroll to the Certificate Templates section and edit the DEFAULT CREATE CERTIFICATE TEMPLATE.
- In the Basic section, in the Validity Period field, enter the validity period of the server certificate, with a minimum of 5 years.
- In the Extended Key Usage section, from the Use Certificate For list, select Server Authentication.
NOTE: If Server Authentication is not selected, the certificate will still import successfully into the server’s Personal store, but it will not appear in the SSL certificate list when configuring the IIS HTTPS binding. - Click Update.
Policy Management
This section describes the configuration process for policies related to certificate enrollment and network access. Through Policy Management, you can set rules for each policy to help select the correct certificate template for issuing certificates to users. Likewise, Network Policy lets you configure rules based on user and device roles during authentication.
When these rules align with the configured attributes during network authentication, the appropriate network attributes are applied to the devices.
Creating a Policy Workflow
Policy Workflow segments users and devices based on defined criteria or attributes. It allows you to define and create roles based on attributes and groups retrieved from the Device Management Platform. These roles can then be assigned a unique Enrollment Policy for certificate issuance and used to trigger a Network Policy.
To create a policy workflow, perform the following steps:
- Navigate to Policy Management > Policy Workflows.
- Click Add Policy Workflow.
- In the Basic section, enter the name of the Policy Workflow in the Name field.
- In the Display Description field, enter a suitable description for the Policy Workflow.
- Click Save.
- The page refreshes and displays the Conditions tab.
- Select the Conditions tab.
- From the Core Provider drop-down list, select the WSTEP device management platform that you created earlier.
- Click Update.
Creating an Enrollment Policy
An Enrollment Policy defines the client certificate template and the Certificate Issuer to be used for each Policy Workflow. It leverages the segmentation established in the Policy Workflow to ensure that the appropriate client certificate template is issued for each workflow.
To add an Enrollment Policy, perform the following steps:
- Navigate to Policy Management > Enrollment.
- 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 Policy Workflow list, select the policy workflow you created in the Creating a Policy Workflow section.
- In the Device Role list, select DEFAULT DEVICE ROLE POLICY 1.
- Select the Settings tab.
- From the Use Certificate Authority drop-down list, select the intermediate CA you created earlier (see the Creating an Intermediate CA for WSTEP Gateway Integration section).
- From the Use Certificate Template drop-down list, select the template you created earlier (see the Creating a Client Certificate Template for WSTEP section).
- In the other settings, retain the default values.
- Click Update.
Creating a Network Policy
A Network Policy defines how device connection decisions are made based on device information obtained from the Policy Engine workflow and the Intermediate CA. Configure a Network Policy only if your organization uses SecureW2 CloudRADIUS as its RADIUS server.
To create a network policy, follow these steps:
- Navigate to Policy Management > Network.
- Click Add Network Policy.
- Under the Basic section, in the Name field, enter the name of the network policy.
- In the Display Description field, enter a suitable description for the network policy.
- Click Save.
- The page refreshes, and the Conditions and Settings tabs appear.
- Select the Conditions tab.
- Click Add rule.
- Expand Identity and select the Policy Workflow checkbox you want to assign to this network policy, and click Save.
- From the Policy Workflow Equals drop-down list, select the policy workflow you created in the Creating a Policy Workflow section.
NOTE: You can assign a network policy to multiple policy workflows.
- Select the Settings tab.
- From the Access drop-down list, select any one of the options to allow or deny authentication requests. The default value is “Allow”.
- Click Add Attribute.
- From the Dictionary drop-down list, select an option:
- Radius: IETF: This is what we will use for the following attributes, as we are using standard RADIUS attributes for VLAN assignment.
- Custom: Used for any VSAs (Vendor-Specific Attributes).
- Add the RADIUS attributes required for VLAN assignment. For reference, here is what is commonly required for VLAN Assignment:
- Tunnel-Medium-Type: IEEE-802
- Tunnel-Private-Group-ID: {VLAN Name}
- Tunnel-Type: VLAN
- Click Save.
- Click Update.
After successful network authentication, the configured attributes are applied to the device via the controller, and the device is then assigned to the appropriate VLANs based on the configuration.
Downloading WSTEP Gateway Installer
The WSTEP Gateway Installer is an executable file installed on the server to establish communication between the server and SecureW2. During installation, you are prompted for the API Key ID and API Secret, which authenticate this connection.
To download the WSTEP Gateway Installer, perform the following steps:
- Navigate to General > Downloads.
- Select the Enrollment Gateway tab.
- Click Download next to the latest WSTEP Gateway version to install the SecureW2 MS WSTEP Gateway.
Exporting SecureW2 Root and Intermediate CAs
To establish trust for devices enrolling certificates through the WSTEP Gateway, the Root and Intermediate CA must be deployed to the appropriate certificate stores on domain-joined devices via GPO. To download these certificates from the JoinNow Management Portal, follow the steps below:
- Navigate to Dynamic PKI > Certificate Authorities.
- In the Certificate Authorities section, click Download for the Root CA and the intermediate CA, both issued to your organization. For information about creating the intermediate CA, see Creating an Intermediate CA for WSTEP Gateway Integration.
Creating a Server Certificate
To create a server certificate and key, perform the following steps:
- Navigate to Dynamic PKI > Create Certificate.
- In the Device Info section:
- From the Operating System drop-down list, select User-Defined.
- In the Description field, enter the fully qualified domain name (FQDN) obtained from the Microsoft IIS server.
To find the FQDN on the Microsoft IIS server, go to Settings > System > About, and copy the Full device name under Device specifications.
- In the Certificate Signing Request section:
- Select Generate Keypair and CSR.
- In the Subject field, enter the CN using the fully qualified domain name obtained from the Microsoft IIS server: CN=W-Step.itwstep.sw2
- In the Certificate Extensions section, in the Other Name and DNS fields, enter the fully qualified domain name obtained from the Microsoft IIS server.
- In the Certificate Issuance Policy section:
- From the Certificate Authority drop-down list, select the WSTEP intermediate CA created in the Creating an Intermediate CA for WSTEP Gateway Integration section.
- From the Use Certificate Template drop-down list, select DEFAULT CREATE CERTIFICATE TEMPLATE.
- Select the Include Entire Certificate Chain checkbox to add the Root and Intermediate CA certificates to the certificate file.
- In the Distribution section:
- In Format, select PKCS12.
- In Receive via, select Download.
- Click the Create button. A pop-up window opens, and you enter the password for the certificate file.
A .p12 file containing the server certificate is downloaded.
To prepare for the IIS server configuration, perform the following steps:
- Add the following files to a folder:
- The server certificate (.p12). See the Creating a Server Certificate section.
- The WSTEP Gateway installer (.exe). See the Downloading WSTEP Gateway Installer section.
- The API token (.csv). See the Creating WSTEP Enrollment Token section.
- The Root and Intermediate CA certificates. See the Exporting SecureW2 Root and Intermediate CAs section.
- Move the folder to the IIS server.
Configuring IIS Server with WSTEP Gateway
This chapter describes the following:
Importing Certificates into the MMC Local Computer Store
Manually import the Server certificate, Root CA, and WSTEP Intermediate CA certificates into the server’s MMC local computer store.
- Log in to the Windows Server as a domain administrator.
- Click Start, type mmc, and select mmc.
- Navigate to File > Add/Remove Snap-in.
- In the Add or Remove Snap-ins dialog box, select Certificates from the Available snap-ins list and click Add. The Certificates snap-in allows you to import the certificates (Server, Root CA, and WSTEP Intermediate CA) into the server’s local computer certificate store.
- In the Certificates snap-in dialog box, select Computer account and click Next.
- Click Finish.
- In the Certificates snap-in dialog box, select Computer account and click Next.
- Click OK.
- In the Console1 – [Console Root] window, expand the Certificates (Local Computer) and perform the following steps to add the certificates.
Importing SecureW2 Root CA Certificate
To import a SecureW2 Root CA Certificate, perform the following steps:
- Expand Trusted Root Certification Authorities, right-click Certificates, and select All Tasks > Import. The Certificate Import Wizard appears.
- In the Certificate Import Wizard dialog box:
- In the Welcome to the Certificate Import Wizard step, click Next.
- In the File to Import step, click Browse and select the root CA certificate. Then click Next.
- In the Certificate Store step, verify that Place all certificates in the following store is selected, and confirm that the Certificate store field displays Trusted Root Certification Authorities. Click Next.
- Click Finish.
- Click Certificates to view the imported SecureW2 Root CA certificate in the list under Trusted Root Certification Authorities.
- In the Welcome to the Certificate Import Wizard step, click Next.
Importing SecureW2 Intermediate CA Certificate
To import a SecureW2 Intermediate CA Certificate, perform the following steps:
- Expand Intermediate Certification Authorities, right-click Certificates, and select All Tasks > Import. The Certificate Import Wizard appears.
- In the Certificate Import Wizard, follow the same steps used to import the SecureW2 Root CA certificate, except in the File to Import step, select the SecureW2 Intermediate CA certificate and click Next.
- In the Certificate Store step, verify that Place all certificates in the following store is selected, and confirm that the Certificate store field displays Intermediate Certification Authorities. Click Next.
- Click Finish.
- Click Certificates to view the imported SecureW2 Intermediate CA certificate in the list under Intermediate Certification Authorities.
Importing Server Certificate
To import a SecureW2 Server Certificate, perform the following steps:
- Navigate to the folder containing the SecureW2 certificates, and open the server certificate. The Certificate Import Wizard appears.
- In the Store Location section, select Local Machine and click Next.
- In the File to Import step, click Next.
- In the Private Key Protection step, enter the password used to create the server certificate in SecureW2 into the Password field. For more information, see the Creating a Server Certificate section.
- In the Certificate Store step, verify that Automatically select the certificate store based on the type of certificate is selected, and click Next.
- Click Finish.
- Click Certificates to view the imported Server certificate in the list under Personal.
Installing Microsoft IIS Role and Role Services
The JoinNow WSTEP Gateway runs within a Microsoft IIS server as an ISAPI extension. The IIS role must be added to the server before installing the JoinNow WSTEP Gateway.
NOTE: If Microsoft Internet Information Services (IIS) is already installed on the server, verify that the required IIS role services are installed.
- Navigate to Server Manager.
- On the Dashboard, click Add roles and features.
- On the Before You Begin page of the Add Roles and Features Wizard, click Next.
- On the Select installation type page, click Next.
- On the Select destination server page, click Next.
- On the Select server roles page, select the following roles to install:
- Expand Web Server (IIS) > Web Server > Common HTTP Features, and select the following options:
- Static Content
- Default Document
- Directory Browsing
- HTTP Errors
- HTTP Redirection
- Expand Health and Diagnostics, and select the following options:
- HTTP Logging
- Logging Tools
- Request Monitor
- Tracing
- Expand Application Development, and select the following option:
- ISAPI Extensions
- Expand Performance, and select the following option:
- Static Content Compression
- Expand Security, and select the following options:
- Windows Authentication
- Request Filtering
- Expand Management Tools, and select the following options:
- IIS Management Console
- IIS Management Console
- Expand Web Server (IIS) > Web Server > Common HTTP Features, and select the following options:
- Click Next, and then click Install.
Installing the SecureW2 MS-WSTEP Gateway
Install the WSTEP Gateway application on the IIS server and configure the API Key ID and API Secret obtained from SecureW2 to authenticate the server’s connection to SecureW2.
To configure the JoinNow WSTEP Gateway Application, perform the following steps:
- Navigate to the folder on the IIS server containing the downloaded files, and run the latest SecureW2 MS WSTEP Gateway installer (for example, SecureW2_MS-WSTEP_Gateway_x.x.x.x.exe).
- On the Welcome to the SecureW2 MS-WSTEP Gateway Setup page, click Next.
- On the Choose Install Location screen, do the following:
- Review the Destination Folder path where SecureW2 MS-WSTEP Gateway will be installed.
- Click Install to begin the installation.
- On the Installation Complete screen, click Configure API Token (Required) to open the API token configuration step.
- In the SecureW2 MS-WSTEP Gateway dialog, do the following:
- In the API Key ID field, enter the API Key ID obtained from the JoinNow management portal (refer to the Creating WSTEP Enrollment Token section).
- In the API Secret field, enter the API secret obtained from the JoinNow management portal (refer to the Creating WSTEP Enrollment Token section).
- Click OK to save the credentials.
- After configuring the API token, do the following:
- On the Installation Complete screen, click Next to continue.
- On the Completed installing SecureW2 MS-WSTEP Gateway 1.5.0 screen, click Finish to close Setup.
Publishing the CA Certificates to the NTAuth Store
After completing the SecureW2 MS-WSTEP Gateway installation, run the following commands to publish the WSTEP Intermediate CA and Device Root CA certificates to the NTAuth store:
- Copy the following commands and paste them into a text editor (e.g., Notepad) on the server:
certutil -dspublish -f "SecureW2 WSTEP Intermediate CA.cer" NTAuthCA
certutil -enterprise -addstore NTAuth "SecureW2 WSTEP Intermediate CA.cer"
certutil -dspublish -f "SecureW2 Device Root CA.cer" NTAuthCA
certutil -enterprise -addstore NTAuth "SecureW2 Device Root CA.cer"
- On the Windows Start menu, do the following:
- Search for Command Prompt.
- Right-click Command Prompt and select Run as administrator.
- Navigate to the folder containing the certificate files, and run the copied commands one at a time. For example:
cd C:\Users\Jemima.ITWSTEP\Documents\WSTEP Certs
- Confirm that each command returns a success message, for example:
Certificate added to DS store.
CertUtil: -dsPublish command completed successfully.
Signature matches Public Key.
Certificate "SecureW2 Device Root CA" added to store.
CertUtil: -addstore command completed successfully.
Configuring JoinNow WSTEP Gateway in IIS
This chapter covers the following sections:
Verifying the Default Application Pool Settings
The JoinNow WSTEP Gateway application requires an IIS Application Pool with the correct Identity and Process Model settings before it can be deployed. To configure the default Application Pool for the JoinNow WSTEP Gateway application, perform the following steps:
NOTE: The JoinNow WSTEP Gateway application can run under the default Application pool.
- In the Windows search bar, type Internet Information Services (IIS) Manager and select it from the results.
- In the Connections pane on the left, expand the server.
- Click Application Pools.
- On the Application Pools page, select DefaultAppPool, right-click, and select Advanced Settings.
- On the Advanced Settings pop-up window, scroll to the Process Model section and verify the following settings are correctly mapped (these values are set by default):
- Identity: ApplicationPoolIdentity
- Load User Profile: False
- Click OK.
Creating the JoinNow Virtual Application in IIS
To create a JoinNow Virtual Application in IIS, perform the following steps:
- On the Internet Information Services (IIS) Manager page, expand Sites and select Default Web Site.
- Right-click Default Web Site and select Add Application.
- On the Add Application pop-up window:
- In the Alias field, enter Enrollment.
- Verify that the Application Pool field is set to DefaultAppPool.
- In the Physical Path field, click the ellipsis (…) button to browse for the path location, and select the installed MS-WSTEPGateway folder
(C:\Program Files\SecureW2\MS-WSTEP Gateway). - Click OK.
- Click OK.
- The Enrollment folder appears below Default Web Site.
- Right-click Enrollment and select Explore to view the JoinNow WSTEP Gateway DLL.
Configuring HTTPS
Enrolling the certificate requires an active HTTPS connection. It is recommended that the web server certificate be signed by a public CA. If a private CA is used, the CA must be trusted by all devices in the domain.
To configure the JoinNow WSTEP Gateway HTTPS binding, perform the following steps:
- On the Internet Information Services (IIS) Manager page, expand Sites and select Default Web Site.
- In the Actions pane on the right, under Edit Site, click Bindings.
- On the Site Bindings dialog box, click Add to create an HTTPS binding. The Add Site Binding dialog box appears.
- On the Add Site Binding dialog box:
- From the Type drop-down list, select https.
- From the SSL certificate drop-down list, select your SSL certificate.
NOTE: Ensure your web server certificate is available in the server’s certificate store before proceeding. - Click OK.
- Click Close.
Enabling SSL for the JoinNow Enrollment Application
To enable SSL for the JoinNow Enrollment Application, perform the following steps:
- On the Default Web Site Home page, double-click SSL Settings.
- On the SSL Settings page, enable the Require SSL checkbox.
- In the Actions pane on the right, click Apply.
NOTE: If the IIS server is running only the JoinNow Enrollment Application, then HTTP site binding can be removed.
Configuring Windows Integrated Authentication
Windows authentication is required to authenticate users/computers using Windows SSO. Once SSO authentication is successful, the certificate is pushed to the device through GPO.
To enable Windows Integrated Authentication, perform the following steps:
- On the Internet Information Services (IIS) Manager page, expand Sites and select Default Web Site.
- On the Default Web Site Home page, double-click Authentication.
- On the Authentication page:
- To disable Anonymous Authentication, right-click Anonymous Authentication and select Disable.
- To enable Windows Authentication, right-click Windows Authentication and select Enable.
- To disable Anonymous Authentication, right-click Anonymous Authentication and select Disable.
- Right-click Windows Authentication, and select Providers.
- Verify that the Negotiate option is at the top in the Enabled Providers section.
NOTE: JoinNow WSTEP Gateway application requires NTLM for Windows SSO.
Adding JoinNow WSTEP Gateway ISAPI Extension
To add the JoinNow WSTEP Gateway ISAPI Extension, perform the following steps:
- On the Internet Information Services (IIS) Manager page, select your server name, and double-click ISAPI and CGI Restrictions.
- On the ISAPI and CGI Restrictions page, right-click and select Add, or select Add from the Actions pane on the right.
- On the Add ISAPI or CGI Restrictions dialog box:
- In the ISAPI or CGI path field, click the ellipsis (…) button to browse for the path location, and select the installed JoinNow WSTEP Gateway DLL file (C:\Program Files\SecureW2\WSTEPGateway\sw2_wstepgw.dll).
- In the Description field, enter Enrollment.
- Select the Allow extension path to execute checkbox to allow the JoinNow WSTEP Gateway DLL to run. By default, IIS blocks all ISAPI extensions from executing as a security measure.
- Click OK.
- In the ISAPI or CGI path field, click the ellipsis (…) button to browse for the path location, and select the installed JoinNow WSTEP Gateway DLL file (C:\Program Files\SecureW2\WSTEPGateway\sw2_wstepgw.dll).
Granting Execute Permission for the ISAPI Extension
To grant Execute permission for the JoinNow WSTEP Gateway ISAPI extension, perform the following steps:
- On the Internet Information Services (IIS) Manager page, select your server name, and double-click Handler Mappings.
- On the Handler Mappings page, right-click and select Edit Feature Permissions, or select Edit Feature Permissions from the Actions pane on the right.
- On the Edit Feature Permissions dialog box, enable the Execute checkbox and click OK.
Configuring GPO for Certificate Enrollment
To prepare for the domain controller, add the Root and Intermediate CA certificates (see the Exporting SecureW2 Root and Intermediate CAs section) to a folder, then move the folder to the domain controller.
This chapter covers the following sections:
Importing Certificates into the Domain Controller
Import the SecureW2 Root CA and WSTEP Intermediate CA certificates into the domain controller’s local computer certificate store. This step is required to publish the SecureW2 PKI CA to all the machines that are part of the domain.
To import the certificates, perform the following steps:
- Log in to the Domain Controller.
- Press Windows key + R to open the Run dialog box. In the Open field, type mmc, and click OK.
- Navigate to File > Add/Remove Snap-in.
- In the Add or Remove Snap-ins dialog box, select Certificates from the Available snap-ins list and click Add. The Certificates snap-in allows you to import the certificates (Root CA and WSTEP Intermediate CA) into the server’s local computer certificate store.
- In the Certificates snap-in dialog box, select Computer account and click Next.
- Click Finish.
- In the Certificates snap-in dialog box, select Computer account and click Next.
- Click OK.
- In the Console1 – [Console Root] window, expand the Certificates (Local Computer) and perform the following steps to add the certificates.
Importing SecureW2 Root CA Certificate
To import a SecureW2 Root CA Certificate, perform the following steps:
- Expand Trusted Root Certification Authorities, right-click Certificates, and select All Tasks > Import. The Certificate Import Wizard appears.
- In the Certificate Import Wizard dialog box:
- In the Welcome to the Certificate Import Wizard step, click Next.
- In the File to Import step, click Browse and select the root CA certificate. Then click Next.
- In the Certificate Store step, verify that Place all certificates in the following store is selected, and confirm that the Certificate store field displays Trusted Root Certification Authorities. Click Next.
- Click Finish.
- Click Certificates to view the imported SecureW2 Root CA certificate in the list under Trusted Root Certification Authorities.
- In the Welcome to the Certificate Import Wizard step, click Next.
Importing SecureW2 Intermediate CA Certificate
To import a SecureW2 Intermediate CA Certificate, perform the following steps:
- Expand Intermediate Certification Authorities, right-click Certificates, and select All Tasks > Import. The Certificate Import Wizard appears.
- In the Certificate Import Wizard, follow the same steps used to import the SecureW2 Root CA certificate, except in the File to Import step, select the SecureW2 Intermediate CA certificate and click Next.
- In the Certificate Store step, verify that Place all certificates in the following store is selected, and confirm that the Certificate store field displays Intermediate Certification Authorities. Click Next.
- Click Finish.
- Click Certificates to view the imported SecureW2 Intermediate CA certificate in the list under Intermediate Certification Authorities.
Publishing the CA Certificates to the NTAuth Store on the Domain Controller
Run the following commands to publish the WSTEP Intermediate CA and Device Root CA certificates to the NTAuth store:
- Copy the following commands and paste them into a text editor (e.g., Notepad) on the server:
certutil -dspublish -f "SecureW2 WSTEP Intermediate CA.cer" NTAuthCA
certutil -enterprise -addstore NTAuth "SecureW2 WSTEP Intermediate CA.cer"
certutil -dspublish -f "SecureW2 Device Root CA.cer" NTAuthCA
certutil -enterprise -addstore NTAuth "SecureW2 Device Root CA.cer"
- On the Windows Start menu, do the following:
- Search for Command Prompt.
- Right-click Command Prompt and select Run as administrator.
- Navigate to the folder containing the certificate files, and run the copied commands one at a time. For example:
cd C:\Users\Jemima.ITWSTEP\Documents\WSTEP Certs
- Confirm that each command returns a success message, for example:
Certificate added to DS store.
CertUtil: -dsPublish command completed successfully.
Signature matches Public Key.
Certificate "SecureW2 Device Root CA" added to store.
CertUtil: -addstore command completed successfully.
Creating a New GPO
To create a new GPO, perform the following steps:
- In the Windows search bar, type Group Policy Management and select it from the results. The Group Policy Management console opens.
- Expand Forest: <Server Name> > Domains > <Server Name>, select Group Policy Objects, right-click it, and select New. The New GPO dialog box appears.
- On the New GPO dialog box:
- In the Name field, enter a name for the new GPO.
- Click OK.
- Right-click the GPO created earlier and select Edit.
On the Group Policy Management Editor page, there are two configuration nodes: Computer Configuration and User Configuration. This section covers the steps for Computer Configuration; similar steps apply to User Configuration. - Navigate to Computer Configuration > Policies > Windows Settings > Security Settings > Public Key Policies.
Although Group Policy automatically pushes the Root and Intermediate CA certificates to devices, propagation can take time. Adding the Root and Intermediate CA certificates directly under Public Key Policies ensures they are pushed to devices immediately, rather than waiting for the normal Group Policy refresh cycle.
Importing the SecureW2 Root CA Certificate to Public Key Policies
To import the SecureW2 Root CA certificate to Public Key Policies, perform the following steps:
- Under Public Key Policies, right-click Trusted Root Certification Authorities and select Import. The Certificate Import Wizard appears.
- In the Certificate Import Wizard dialog box:
- In the Welcome to the Certificate Import Wizard step, click Next.
- In the File to Import step, click Browse and select the root CA certificate. Then click Next.
- In the Certificate Store step, verify that Place all certificates in the following store is selected, and confirm that the Certificate store field displays Trusted Root Certification Authorities. Click Next.
- Click Finish.
- Click Trusted Root Certification Authorities to view the imported SecureW2 Root CA certificate in the list.
- In the Welcome to the Certificate Import Wizard step, click Next.
Importing the SecureW2 Intermediate CA Certificate to Public Key Policies
To import the SecureW2 Intermediate CA certificate to Public Key Policies, perform the following steps:
- Under Public Key Policies, right-click Intermediate Certification Authorities and select Import. The Certificate Import Wizard appears.
- In the Certificate Import Wizard, follow the same steps used to import the SecureW2 Root CA certificate, except in the File to Import step, select the SecureW2 Intermediate CA certificate and click Next.
- In the Certificate Store step, verify that Place all certificates in the following store is selected, and confirm that the Certificate store field displays Intermediate Certification Authorities. Click Next.
- Click Finish.
- Click Intermediate Certification Authorities to view the imported SecureW2 Intermediate CA certificate in the list.
Configuring the Certificate Services Client - Certificate Enrollment Policy
This section configures the Certificate Enrollment Policy in GPO to enable communication between the domain controller and the IIS server.
To configure the Certificate Services Client – Certificate Enrollment Policy, perform the following steps:
- On the Group Policy Management Editor console, navigate back to Public Key Policies.
- Double-click Certificate Services Client – Certificate Enrollment Policy.
- On the Certificate Services Client – Certificate Enrollment Policy dialog box:
- From the Configuration Model drop-down list, select Enabled.
- Click Add.
- On the Certificate Enrollment Policy Server dialog box, in the Enter enrollment policy server URI field, enter the full path to the JoinNow WSTEP Gateway DLL file. Because the domain controller and the IIS server are separate machines, a complete URI is required. For example: https://W-Step.itwstep.sw2/enrollment/sw2_wstepgw.dll
- Click Validate Server to download the Enrollment Policy.
NOTE: The first validation attempt will fail due to a limitation with the Enrollment Policy validation. Subsequent attempts will succeed. - Verify that the Enrollment Policy has been received and click Add.
- Select the SecureW2 CloudCA Managed Device Certificate Enrollment checkbox to set it as default. If the Active Directory Enrollment policy is no longer in use, remove it.
- Select the newly added enrollment policy, then click Properties.
- On the Certificate Enrollment Policy Server Properties dialog box, disable the Require strong validation during enrollment checkbox, and then click OK.
- Click Apply, and then click OK.
Configuring the Certificate Services Client - Auto-Enrollment
This section configures auto-enrollment to renew certificates automatically before they expire.
To configure the Certificate Services Client – Auto-Enrollment, perform the following steps:
- Navigate back to Public Key Policies.
- Double-click Certificate Services Client – Auto-Enrollment.
- On the Certificate Services Client – Auto-Enrollment dialog box:
- From the Configuration Model drop-down list, select Enabled.
- Select the following checkboxes:
- Renew expired certificates, update pending certificates, and remove revoked certificates
- Update certificates that use certificate templates
- Click OK.
Link the new GPO to the relevant parts of the domain. Since it is an auto-enrollment GPO, you should link it to users and machines only and set up OUs accordingly.
Configuring a Wireless Network Policy
This chapter configures a GPO wireless network policy so that domain-joined devices connect to the SSID using certificate-based authentication (WPA2-Enterprise).
To configure a wireless network policy, perform the following steps:
- On the Group Policy Management Editor console, navigate to Wireless Network (IEEE 802.11) Policies.
- Right-click and select Create A New Wireless Network Policy for Windows Vista and Later Releases. The new wireless network policy is added to the right pane.
- Double-click the new wireless network policy. The New Wireless Network Policy Properties dialog box appears.
- On the New Wireless Network Policy Properties dialog box:
- In the Policy Name field, enter the name of the network policy.
- Click Add > Infrastructure. The New Profile properties dialog box appears.
- On the New Profile properties dialog box:
- On the Connection tab:
- In the Profile Name field, enter the name of the SSID profile.
- In the Network Name(s) (SSID) field, enter the SSID name, and click Add.NOTE: If the SSID is hidden, enable Connect even if the network is not broadcasting.
- Disable the Connect to a more preferred network if available checkbox.
- In the Profile Name field, enter the name of the SSID profile.
- On the Security tab:
- From the Authentication drop-down list, select WPA2-Enterprise.
- From the Select a network authentication method drop-down list, select Microsoft: Smart Card or other certificate.
- From the Authentication Mode drop-down list, select Computer authentication.
- Click Properties. The Smart Card or other Certificate Properties dialog box appears.
- On the Connection tab:
- On the Smart Card or other Certificate Properties dialog box, if using SecureW2 RADIUS, perform the following steps:
NOTE: If you have your own RADIUS server, configure these settings based on your requirements.
- Select Connect to these servers, and enter .*\.securew2\.com in the field.
- In the Trusted Root Certification Authorities section, select DigiCert Global Root G3.
- Click OK.
- Click OK to close the GPO Properties.
- Close the Group Policy Management Editor.
Pushing a GPO Update
This chapter applies the GPO to devices immediately, instead of waiting for the default refresh interval.
To push a GPO update, perform the following steps:
- Open Command Prompt as an administrator.
- Run the following command on the IIS server and the domain controller to apply the GPO:
gpupdate /force
NOTE: Updating the end devices directly is only needed if you want the policy applied sooner than the next scheduled refresh cycle.
Troubleshooting
Debug Logging
In addition to the default request log, you can enable the logging of additional technical details during request processing. To do this, browse to the following key in the Windows Registry Editor: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Tracing
To enable tracing, set the following sub-keys to 1:
- SECUREW2_WSTEP_GW\EnableFileTracing
Set the debug level in the Mask sub-keys to one of the values listed in the following table.
- SECUREW2_WSTEP_GW\FileTracingMask
Level
Mask
Error
0x10000
Warning
0x30000
Info
0x70000
Debug
0xf0000





















































































































































