Usage Note 66499: Disable the host name verification of a TLS certificate for an LDAP server
In the default TLS configuration, each connection includes a server name check to verify that the host name in the TLS certificate of the node to which an LDAPS connection is made matches the host name of the target LDAP server. Here are three ways for that check to work:
- the subject in the certificate matches the host name of the LDAP server node
- the Subject Alternative Names (SAN) in the certificate contains the host name of the LDAP server node
- the subject or SAN contains a wildcard, which allows for any host name in the specified domain
In some cases, you might want to disable the name check verification step until you are able to implement one of the above solutions. To disable this step, set the Java option com.sun.jndi.ldap.object.disableEndpointIdentification=true. Here are the steps.
- Sign in as an administrator to SAS® Environment Manager.
- Click Yes to the prompt to opt in to the assumable groups.
- Select Configuration from the left navigation menu.
- Select View ► All Services.
- Click Identities Service.
- Click the Edit button for the JVM section, then + Add property.
Name the property: java_option_ldaps_disablenamecheck
Set the property to: -Dcom.sun.jndi.ldap.object.disableEndpointIdentification=true
- Perform steps 4-6 for SAS Logon Manager.
- Restart the two services.
For SAS® Viya® 3.x, issue sudo service sas-viya-service-name-default restart. Substitute the correct service name.
For SAS® Viya® 2020.1 and later versions, delete the Kubernetes pod.
Note that the name of the new property is arbitrary, although it must begin with "java_option".
Refer to the following documentation for more information:
Operating System and Release Information
SAS System | SAS Viya | Linux for x64 | 3.4 | | Viya | |
Microsoft Windows Server 2019 | 3.4 | | Viya | |
Microsoft Windows Server 2016 | 3.4 | | Viya | |
Microsoft Windows 10 | 3.4 | | Viya | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Date Modified: | 2021-11-15 15:52:37 |
Date Created: | 2020-08-19 14:42:49 |