01-04-2016 08:18 AM - edited 03-10-2019 11:21 PM
I setup an external Identity store using SSL and have verified all works properly except when I have the Check Server Identity box checked. If I uncheck that LDAP works fine. What is this checking for? I'm guessing something in the Certificate does not match, but I have no clue what. I am using an internal CA that we setup for generating our own certs. Any help is greatly appreciated.
01-05-2016 10:22 AM
Found the following in a specification
The identity verification consists of:
If the host name has the DNS format then extract host name and domain.
2. Extract the names from x509 SUBJECT_ALT_NAME section of the incoming server certificate.
3. Iterate over the list acquired in step 2.
3.1If the current alt. name is of DNS type and the step 1 classification is DNS then compare both host names. If they are equal then flag successful verification and stop checking further.
3.2If the current alt. name is of DNS type and the step 1 classification is DNS then check for '*.' prefix (wildcard). If so, do two sanity checks: a. 2nd character of alt. name is '.'. ; and b. The lengths match; After the sanity checks compare the domain parts and if matches then flag successful verification and stop checking further.
3.3.If the current alt. name is of IP type and the step 1 classification is IP then compare both host IP addresses. If they are equal then flag successful verification and stop checking further.
4 If no x509 SUBJECT_ALT_NAME section is found then extract the CN
4.1 If the CN is equal to the LDAP configuration host name then flag successful verification, if not then
4.2 Check for '*.' prefix (wildcard). If so, do two sanity checks: a. 2nd character of alt. name is '.'. ; and b. The lengths match;
After the sanity checks compare the domain parts and if matches then flag successful verification and stop checking further.
5. If all previous checks have failed then flag failed verification
See examples
LDAP hostname configuration |
SAN (or CN) hostname |
Match? |
yes |
||
*.domain.com |
yes |
|
1.2.3.4 |
1.2.3.4 |
yes |
no |
||
*.other.domain.com |
no |
|
1.2.3.4 |
no |
|
1.2.3.4 |
no |
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide