Wired Intelligent Edge

 View Only
Expand all | Collapse all

Cert Issue: EAP-TLS authentication (certificate-based) for both user and computer authentication

This thread has been viewed 21 times
  • 1.  Cert Issue: EAP-TLS authentication (certificate-based) for both user and computer authentication

    Posted Nov 14, 2025 08:03 AM

    Hi Aruba Expert Team,

    I need assistance as I'm currently stuck configuring EAP-TLS authentication (certificate-based) for both user and computer authentication.

    A quick overview of our environment:

    • ClearPass integrated with Intune

    • On-prem Microsoft CA issuing certificates

    • Dedicated NDES server deployed following best practices

    I've attached some screenshots below for additional context.

    SCEP Template on CA:

    Currently, the certificate is being issued only to the NDES service account, whereas it should be issuing a certificate based on the user who logs into the device.

    This indicates that the SCEP/NDES request is not being processed with the correct user context.


    SCEP Certificate for Device on Intune:

    SCEP Cert for User on Intune: 

    Trusted Certificate Profile on Intune:

    The Intune Connector on the NDES server has been installed successfully. Is there anything I might be missing in this setup?

    My goals are:

    • To have the device certificate issued even when no user is logged in

    • To have the user certificate issued based on the identity of the logged-in user

    I would appreciate any guidance to help resolve this issue. If there is documentation available or if anyone has a similar environment successfully configured, your support would be very helpful.

    Thanks,
    Ahmed



    -------------------------------------------


  • 2.  RE: Cert Issue: EAP-TLS authentication (certificate-based) for both user and computer authentication
    Best Answer

    Posted Nov 14, 2025 09:46 AM

    Hi @wimr

    The issue in the scenario you mentioned seems to be in the Intune–NDES–CA chain, and it hasn't reached the ClearPass side yet. 
     
    The problem is probably this:
     
    You want a certificate from Intune with the SCEP profile (both Device and User profiles).
     
    The request goes to the NDES server, and NDES uses the SCEP template to issue the certificate from the backend Microsoft CA.
    Oceanleaf
     
    You can check the following link:
    https://www.oceanleaf.ch/intune-ndes-scep-explained
     
    However, the "Issued to" field on the certificate issued by the CA is always the Ndes Service Account (as shown on the screen), meaning it shows the NDES service account instead of the client's identity.
     
    This behavior occurs in two situations:
     
    The Subject Name setting of the certificate template you use for SCEP is incorrect ("Build from this Active Directory information").
     
    Or you are autoenrolling this template for the NDES service account, effectively getting certificates for itself instead of the clients.
     
    A cert with the correct CN/SAN that can be used for EAP-TLS on the device/user is not being generated; ClearPass cannot recognize the user/device from the certificate.
     
    You need to check the SCEP Template on the CA;
     
    - Subject Name tab
     
    It should be selected: "Supply in the request"
    (It should definitely not be "Build from this Active Directory information").
     
    This is because you define the Subject and SAN in the Intune SCEP profile (CN={{DeviceId}}, CN={{UserPrincipalName}}, etc.). The CA must retrieve this from the request; otherwise, it will use the DN of the RA account (NDES service account), and you will encounter the problem you are experiencing.
     
    The following link is a useful document:
    https://msendpointmgr.com/2016/04/12/prepare-your-environment-for-scep-certificate-enrollment-with-microsoft-intune
     
    -Security tab
     
    Grant Read + Enroll permissions to the NDES service account.
     
    Do not grant Autoenroll. If you grant Autoenroll, the CA will distribute user certificates from this template to its own NDES account; you will see the service account in the Issued To field.
     
    -Intune SCEP profiles side
     
    The profiles in the screenshots generally look correct;
     
    Points to note:
     
    The Device profile must be assigned to device groups (not user groups). This way, the device certificate can be delivered even if the user is not logged in.
     
    The User profile must be assigned to user groups. When the user logs in, the Intune management extension user context retrieves this certificate.
     
    Ensure that the Intune Certificate Connector health status is shown as "Active"/"OK" in the portal.
     
    - Verification steps
     
    After fixing the above, it would be good to check on a test device;
     
    Device certificate
     
    mmc → Certificates snap-in → Computer account → Personal \ Certificates
     
    The new cert should have:
     
    The Issued to field should look like CN={{DeviceId}}, it should never be Ndes Service Account.
     
    Intended Purposes should be Client Authentication.
     
    User certificate
     
    mmc → Certificates (Current User) → Personal \ Certificates
     
    Issued to = CN=<user's UPN>.
     
    In the CA console, make sure you now see certificates issued to different DeviceId/UPNs in the Issued Certificates list; you should not see a single NDES account.
     
    If the "Issued to: Ndes Service Account" screen is the RA certificate on the NDES server, this is normal (it comes from the Enrollment Agent / CEP Encryption templates and only resides on the NDES server). The problem is if a certificate with this name is generated on the client side or in the CA from the SCEP template.
     
    - On the ClearPass / EAP-TLS side:
     
    After the certificates are fixed, in ClearPass:
     
    802.1X service → Use EAP-TLS (you can do both machine and user).
     
    When creating role maps:
     
    For the Device cert, use the DeviceId / AAD_Device_ID values within the SAN,
     
    For the User cert, use the UserPrincipalName or Subject CN in the SAN to match with AD / Intune.
    These corrections are optional :)
    -------------------------------------------



  • 3.  RE: Cert Issue: EAP-TLS authentication (certificate-based) for both user and computer authentication

    Posted Nov 26, 2025 08:42 PM

    Thanks Muhittin, Much appreciated. 

    The issue got fixed. I had to change the below

    • It should be selected: "Supply in the request" (It should definitely not be "Build from this Active Directory information"). 
    • Uncheck allow private key 
    • Gave right permissions to NDES account
    Thanks, Hope it might help others if they have similar setup. 
    -------------------------------------------