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 Certificateschevron-right

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 Policyarrow-up-right

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.

triangle-exclamation

Deploy the Smart Card Certificates using Intune

Trusted Certificate Profile

Your clients will need to trust the root certificate of SCEPmanarrow-up-right.

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:

chevron-rightCertificate type: Userhashtag

chevron-rightSubject name format: CN={{UserPrincipalName}}hashtag

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}}

chevron-rightSubject alternative name: UPN value: {{UserPrincipalName}} and URI value: {{OnPremisesSecurityIdentifier}}hashtag

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.

chevron-rightKey storage provider (KSP): Enroll to Windows Hello for Business, otherwise fail (Windows 10 and later)hashtag

chevron-rightKey usage: Digital signature and Key enciphermenthashtag

chevron-rightKey size (bits): 2048hashtag

chevron-rightHash algorithm: SHA-2hashtag

chevron-rightRoot Certificate: Profile from previous step (Trusted Certificate Profile)hashtag

chevron-rightExtended key use: Client Authentication and Smart Card Loginhashtag

Client Authentication, 1.3.6.1.5.5.7.3.2

Smart Card Logon, 1.3.6.1.4.1.311.20.2.2

chevron-rightSCEP Server URLs: Open the SCEPman portal and copy the URL of Intune MDMhashtag

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?