Certificate Based Authentication for RDP

You can use SCEPman to issue Smart Card Login certificates to your users. By enrolling them to Windows Hello for Business (Microsoft Passport Key Storage Provider) they can use these certificates to authenticate to on premises resources using their Hello PIN or biometric options.

This will allow users for example to connect to other clients over the Remote Desktop Protocol (RDP) using their Windows Hello for Business credentials.

Setup Active Directory

Requirements

  • SCEPman's CA certificate must be published in the NTAuth store to authenticate users to Active Directory

  • Domain Controllers need to have a domain controller certificate to authenticate smartcard users

  • Domain Controllers and target machines need to trust SCEPmans Root CA

Follow our guide on Domain Controller certificates to publish the SCEPman Root CA certificate to the NTAuth store and issue certificates to your domain controllers:

Domain Controller Certificates

You can create a Group Policy Object to handle the distribution of the root certificate to the involved machines: To distribute certificates to client computers by using Group Policy

The certificate needs to be deployed to all Domain Controllers handling the authentications and all target machines that users want to connect to using this method.

Deploy the Smart Card Certificates using Intune

Trusted Certificate Profile

Your clients will need to trust the root certificate of SCEPman.

If you already use SCEPman to deploy certificates to your clients you will already have this profile in place.

Smart Card Certificate

Create a profile for Windows 10 and later with type SCEP certificate in Microsoft Intune and configure the profile as described:

Certificate type: User

Subject name format: CN={{UserPrincipalName}}

If the targeted users UPN suffix in Entra ID happens to be different to the one used in Active Directory you should use CN={{OnPrem_Distinguished_Name}}

Subject alternative name: UPN value: {{UserPrincipalName}} and URI value: {{OnPremisesSecurityIdentifier}}

The URI with the SID is necessary to have a Strong Certificate Mapping in AD. Alternatively, you can configure SCEPman to add a extension with the SID to user certificates and not configure the URI.

Key storage provider (KSP): Enroll to Windows Hello for Business, otherwise fail (Windows 10 and later)

Key usage: Digital signature and Key encipherment

Key size (bits): 2048

Hash algorithm: SHA-2

Root Certificate: Profile from previous step (Trusted Certificate Profile)

Extended key use: Client Authentication and Smart Card Login

Client Authentication, 1.3.6.1.5.5.7.3.2

Smart Card Logon, 1.3.6.1.4.1.311.20.2.2

SCEP Server URLs: Open the SCEPman portal and copy the URL of Intune MDM

Use Windows Hello for Business to connect to remote hosts

With the certificate deployed to the authenticating client, just connect to the remote host and select the configured Windows Hello for Business credential provider.

Last updated

Was this helpful?