cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
472
Views
0
Helpful
2
Replies

Certificate based auth: which values are checked in AD?

LucaRota
Level 1
Level 1

Hi everyone,

short version: anyone knows which value ISE searches in AD when, through a Certificate Authentication Profile, ISE verifies the values "Subject - Common Name" or "Subject Alternative Name" found in the certificate (Certificate Authentication Profile->Use Identity From->Certificate Attribute->"Subject - Common Name")?

long version: I'm trying to integrate macOS machines in our company. This obviously requires an MDM (Jamf) and many profiles pushed to the devices.
I'm trying to create a full enrollment process via Internet but, as our Microsoft AD is not externally exposed, there's no way to bind the mac to our AD except connect it to the intranet.
So I've tried to just manually create the machine on the AD using the exact name it will have after receiving all the profiles/policies from the MDM, clearly putting it in the correct OU dedicated to the Macs.
The Wi-Fi network I’m trying to connect the Mac to has an EAP-TLS based auth and, during the auth process (specific Certificate Authentication Profile), ISE tries to check a specific value found in the machine/Mac certificate with the AD ("Subject - Common Name" or "Subject Alternative Name).
Now, the certificate used in the certificate/machine authentication to the Wi-Fi network is correctly created by the CA and is delivered to the machine via MDM; also the Wi-Fi connection profile is pushed to the Mac.
But when the Mac tries to connect to the Wi-Fi Network I get a "22056 Subject not found in the applicable Identity Store....", so there's probably something in the manual creation of the machine on the AD that is not working fine.
Otherwise, if I connect the device to the intranet via cable and join it to the AD, I get a green light on the ISE Live Logs and the Mac connects to the Wi-Fi network without an error.

Any idea about what parameter I need to write on the AD during the manual creation of the Mac to correctly "simulate" a join suitable for the ISE Auth?

Many thanks!!
BR
Luca

1 Accepted Solution

Accepted Solutions

Thank you very much for your feedback, it's been really precious to help me find the solution!

Searching on the Internet I've found a way to "offline" join a device to the AD.
https://learn.microsoft.com/en-us/windows-server/remote/remote-access/directaccess/directaccess-offline-domain-join

In a nutshell, launching that command from the shell of an AD controller successfully joined the mac.
A test ("host/mac-test") on ISE (Test User Auth) gave me a "SUCCESS".
Tested directly on the Mac, everything worked as expected.

Thank you very much Greg, problem solved!!

View solution in original post

2 Replies 2

Greg Gibbs
Cisco Employee
Cisco Employee

Hi @LucaRota. The issue is not so much how ISE is doing the lookup. The issue is that, when you create a Computer account in AD, it is basically just an empty container until that computer actually joins the domain. It is not a complete active account, so ISE gets a failed response from AD.

You can see the same behaviour if you do a Test User Authentication lookup from ISE against a real joined Computer account versus a lookup against an empty Computer account that has not been joined.

Example lookup against my 'surface1' joined computer:

Screenshot 2023-01-25 at 9.19.15 am.png

Example lookup against a newly created Computer account called 'mactest'

Screenshot 2023-01-25 at 9.25.27 am.png

Thank you very much for your feedback, it's been really precious to help me find the solution!

Searching on the Internet I've found a way to "offline" join a device to the AD.
https://learn.microsoft.com/en-us/windows-server/remote/remote-access/directaccess/directaccess-offline-domain-join

In a nutshell, launching that command from the shell of an AD controller successfully joined the mac.
A test ("host/mac-test") on ISE (Test User Auth) gave me a "SUCCESS".
Tested directly on the Mac, everything worked as expected.

Thank you very much Greg, problem solved!!

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: