<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>KB-1644 LDAP Sync service from the LDAP Tools plugin fails with a javax.net.ssl.SSLHandshakeException after updating to Java 1.8_181</title><link>https://community.appian.com/support/w/kb/1056/kb-1644-ldap-sync-service-from-the-ldap-tools-plugin-fails-with-a-javax-net-ssl-sslhandshakeexception-after-updating-to-java-1-8_5f00_181</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>KB-1644 LDAP Sync service from the LDAP Tools plugin fails with a javax.net.ssl.SSLHandshakeException after updating to Java 1.8_181</title><link>https://community.appian.com/support/w/kb/1056/kb-1644-ldap-sync-service-from-the-ldap-tools-plugin-fails-with-a-javax-net-ssl-sslhandshakeexception-after-updating-to-java-1-8_5f00_181</link><pubDate>Tue, 16 Apr 2019 21:19:19 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d708061f-a09e-496d-a824-638ac3f2b538</guid><dc:creator>Jordan Horwat</dc:creator><comments>https://community.appian.com/support/w/kb/1056/kb-1644-ldap-sync-service-from-the-ldap-tools-plugin-fails-with-a-javax-net-ssl-sslhandshakeexception-after-updating-to-java-1-8_5f00_181#comments</comments><description>Current Revision posted to Appian Knowledge Base by Jordan Horwat on 4/16/2019 9:19:19 PM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;After updating Java to 1.8_181, the LDAP Sync service provided by the &lt;a href="/b/appmarket/posts/ldap-tools" rel="noopener noreferrer" target="_blank"&gt;LDAP Tools&lt;/a&gt; plugin fails with&amp;nbsp;a &lt;code&gt;javax.net.ssl.SSLHandshakeException&lt;/code&gt; such as the one below:&lt;/p&gt;
&lt;pre&gt;ERROR com.appiancorp.process.engine.UnattendedJavaActivityRequest - An error occurred while executing activity: id=&amp;lt;ID&amp;gt;, classname=com.appiancorp.ps.plugins.directory.syncwithusernames.ADUserSynchronizationV1 &lt;br /&gt;05:00:03,234 INFO [stdout] (Appian Work Item - 85150 - ProcessExec01 : UnattendedJavaActivityRequest) java.lang.RuntimeException: javax.naming.CommunicationException: &amp;lt;IP_ADDRESS&amp;gt;:636 [Root exception is javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No subject alternative names matching IP address found]&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;Oracle has enabled stricter endpoint verification for LDAPS connections by default in &lt;a href="https://www.oracle.com/technetwork/java/javase/8u181-relnotes-4479407.html#JDK-8200666"&gt;Java 1.8_181&lt;/a&gt;. As a result,&amp;nbsp;the LDAP sync process is calling the LDAP server by an IP or hostname that is not present in the LDAP server certificate&amp;#39;s subject or SAN field, causing the call to fail.&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;Update the certificate presented by the LDAP server to include the URL or the IP address that&amp;nbsp;the LDAP sync process is calling in the certificate&amp;#39;s SAN field. Alternatively, update the LDAP sync settings to call the LDAP server by the certificate&amp;#39;s subject or an entry in the certificate&amp;#39;s SAN field.&lt;/p&gt;
&lt;h2&gt;Workaround&lt;/h2&gt;
&lt;p&gt;The endpoint verification can be disabled by performing the following steps:&lt;/p&gt;
&lt;h4&gt;Tomcat (Appian 18.3 and later):&lt;/h4&gt;
&lt;p&gt;1. Navigate to &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;\tomcat\apache-tomcat\bin&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;2. Add the following line to the&amp;nbsp;&lt;/span&gt;&lt;b&gt;setenv.sh|bat&lt;/b&gt;&lt;span&gt;&amp;nbsp;file:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;export CATALINA_OPTS=&amp;quot;$CATALINA_OPTS -Dcom.sun.jndi.ldap.object.disableEndpointIdentification=true&amp;quot;&lt;/pre&gt;
&lt;p&gt;3. Restart the Tomcat application server.&lt;/p&gt;
&lt;h4&gt;JBoss:&lt;/h4&gt;
&lt;p&gt;1. Navigate to&amp;nbsp;&lt;code&gt;&amp;lt;REPO_HOME&amp;gt;/bin/jboss/jboss-eap-6.4/bin&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;2. Add the following line to&amp;nbsp;&lt;strong&gt;standalone.custom.sh|bat&amp;nbsp;&lt;/strong&gt;:&amp;nbsp;&lt;/p&gt;
&lt;pre&gt;CUSTOM_JAVA_OPTS=-Dcom.sun.jndi.ldap.object.disableEndpointIdentification=true&lt;/pre&gt;
&lt;p&gt;3. Using the&amp;nbsp;&lt;a href="https://docs.appian.com/suite/help/latest/Configure_Script.html#deploying-configurations" rel="noopener noreferrer" target="_blank"&gt;Configure Script&lt;/a&gt;, deploy the changes to JBoss.&lt;/p&gt;
&lt;p&gt;4. Restart JBoss.&lt;/p&gt;
&lt;h4&gt;Weblogic:&lt;/h4&gt;
&lt;p&gt;1. Navigate to&amp;nbsp;&lt;code&gt;&amp;lt;WEBLOGIC_HOME&amp;gt;/&amp;lt;project_name&amp;gt;/domains/&amp;lt;domain_name&amp;gt;/bin&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;2. Add the following line to the&amp;nbsp;&lt;code&gt;JAVA_OPTIONS&lt;/code&gt; in &lt;strong&gt;setDomainEnv.sh|.bat&lt;/strong&gt;&amp;nbsp;:&amp;nbsp;&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;-Dcom.sun.jndi.ldap.object.disableEndpointIdentification=true&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;3. Run &lt;code&gt;$DOMAIN_HOME/bin/setDomainEnv.sh|.bat&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;4. Restart the Weblogic server.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Note:&amp;nbsp;&lt;/strong&gt;Cloud customers should open a Support Case on Community to request that this property be added to their site.&lt;/p&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;p&gt;Last Reviewed:&amp;nbsp;April 2019&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: java, third-party, plug-ins, integration, LDAP, authentication, plugins&lt;/div&gt;
</description></item><item><title>KB-1644 LDAP Sync service from the LDAP Tools plugin fails with a javax.net.ssl.SSLHandshakeException after updating to Java 1.8_181</title><link>https://community.appian.com/support/w/kb/1056/kb-1644-ldap-sync-service-from-the-ldap-tools-plugin-fails-with-a-javax-net-ssl-sslhandshakeexception-after-updating-to-java-1-8_5f00_181/revision/14</link><pubDate>Tue, 16 Apr 2019 21:19:00 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d708061f-a09e-496d-a824-638ac3f2b538</guid><dc:creator>Jordan Horwat</dc:creator><comments>https://community.appian.com/support/w/kb/1056/kb-1644-ldap-sync-service-from-the-ldap-tools-plugin-fails-with-a-javax-net-ssl-sslhandshakeexception-after-updating-to-java-1-8_5f00_181#comments</comments><description>Revision 14 posted to Appian Knowledge Base by Jordan Horwat on 4/16/2019 9:19:00 PM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;After updating Java to 1.8_181, the LDAP Sync service provided by the &lt;a href="/b/appmarket/posts/ldap-tools" rel="noopener noreferrer" target="_blank"&gt;LDAP Tools&lt;/a&gt; plugin fails with&amp;nbsp;a &lt;code&gt;javax.net.ssl.SSLHandshakeException&lt;/code&gt; such as the one below:&lt;/p&gt;
&lt;pre&gt;ERROR com.appiancorp.process.engine.UnattendedJavaActivityRequest - An error occurred while executing activity: id=&amp;lt;ID&amp;gt;, classname=com.appiancorp.ps.plugins.directory.syncwithusernames.ADUserSynchronizationV1 &lt;br /&gt;05:00:03,234 INFO [stdout] (Appian Work Item - 85150 - ProcessExec01 : UnattendedJavaActivityRequest) java.lang.RuntimeException: javax.naming.CommunicationException: &amp;lt;IP_ADDRESS&amp;gt;:636 [Root exception is javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No subject alternative names matching IP address found]&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;Oracle has enabled stricter endpoint verification for LDAPS connections by default in &lt;a href="https://www.oracle.com/technetwork/java/javase/8u181-relnotes-4479407.html#JDK-8200666"&gt;Java 1.8_181&lt;/a&gt;. As a result,&amp;nbsp;the LDAP sync process is calling the LDAP server by an IP or hostname that is not present in the LDAP server certificate&amp;#39;s subject or SAN field, causing the call to fail.&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;Update the certificate presented by the LDAP server to include the URL or the IP address that&amp;nbsp;the LDAP sync process is calling in the certificate&amp;#39;s SAN field. Alternatively, update the LDAP sync settings to call the LDAP server by the certificate&amp;#39;s subject or an entry in the certificate&amp;#39;s SAN field.&lt;/p&gt;
&lt;h2&gt;Workaround&lt;/h2&gt;
&lt;p&gt;The endpoint verification can be disabled by performing the following steps:&lt;/p&gt;
&lt;h4&gt;Tomcat (Appian 18.3 and later):&lt;/h4&gt;
&lt;p&gt;1. Navigate to &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;\tomcat\apache-tomcat\bin&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;2. Add the following line to the&amp;nbsp;&lt;/span&gt;&lt;b&gt;setenv.sh|bat&lt;/b&gt;&lt;span&gt;&amp;nbsp;file:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;export CATALINA_OPTS=&amp;quot;$CATALINA_OPTS -Dcom.sun.jndi.ldap.object.disableEndpointIdentification=true&amp;quot;&lt;/pre&gt;
&lt;p&gt;3 Restart the Tomcat application server.&lt;/p&gt;
&lt;h4&gt;JBoss:&lt;/h4&gt;
&lt;p&gt;1. Navigate to&amp;nbsp;&lt;code&gt;&amp;lt;REPO_HOME&amp;gt;/bin/jboss/jboss-eap-6.4/bin&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;2. Add the following line to&amp;nbsp;&lt;strong&gt;standalone.custom.sh|bat&amp;nbsp;&lt;/strong&gt;:&amp;nbsp;&lt;/p&gt;
&lt;pre&gt;CUSTOM_JAVA_OPTS=-Dcom.sun.jndi.ldap.object.disableEndpointIdentification=true&lt;/pre&gt;
&lt;p&gt;3. Using the&amp;nbsp;&lt;a href="https://docs.appian.com/suite/help/latest/Configure_Script.html#deploying-configurations" rel="noopener noreferrer" target="_blank"&gt;Configure Script&lt;/a&gt;, deploy the changes to JBoss.&lt;/p&gt;
&lt;p&gt;4. Restart JBoss.&lt;/p&gt;
&lt;h4&gt;Weblogic:&lt;/h4&gt;
&lt;p&gt;1. Navigate to&amp;nbsp;&lt;code&gt;&amp;lt;WEBLOGIC_HOME&amp;gt;/&amp;lt;project_name&amp;gt;/domains/&amp;lt;domain_name&amp;gt;/bin&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;2. Add the following line to the&amp;nbsp;&lt;code&gt;JAVA_OPTIONS&lt;/code&gt; in &lt;strong&gt;setDomainEnv.sh|.bat&lt;/strong&gt;&amp;nbsp;:&amp;nbsp;&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;-Dcom.sun.jndi.ldap.object.disableEndpointIdentification=true&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;3. Run &lt;code&gt;$DOMAIN_HOME/bin/setDomainEnv.sh|.bat&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;4. Restart the Weblogic server.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Note:&amp;nbsp;&lt;/strong&gt;Cloud customers should open a Support Case on Community to request that this property be added to their site.&lt;/p&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;p&gt;Last Reviewed:&amp;nbsp;April 2019&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: java, third-party, integration, LDAP, authentication, shared components, plugins&lt;/div&gt;
</description></item><item><title>KB-1644 LDAP Sync service from the LDAP Tools plugin fails with a javax.net.ssl.SSLHandshakeException after updating to Java 1.8_181</title><link>https://community.appian.com/support/w/kb/1056/kb-1644-ldap-sync-service-from-the-ldap-tools-plugin-fails-with-a-javax-net-ssl-sslhandshakeexception-after-updating-to-java-1-8_5f00_181/revision/13</link><pubDate>Tue, 16 Apr 2019 21:18:46 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d708061f-a09e-496d-a824-638ac3f2b538</guid><dc:creator>Jordan Horwat</dc:creator><comments>https://community.appian.com/support/w/kb/1056/kb-1644-ldap-sync-service-from-the-ldap-tools-plugin-fails-with-a-javax-net-ssl-sslhandshakeexception-after-updating-to-java-1-8_5f00_181#comments</comments><description>Revision 13 posted to Appian Knowledge Base by Jordan Horwat on 4/16/2019 9:18:46 PM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;After updating Java to 1.8_181, the LDAP Sync service provided by the &lt;a href="/b/appmarket/posts/ldap-tools" rel="noopener noreferrer" target="_blank"&gt;LDAP Tools&lt;/a&gt; plugin fails with&amp;nbsp;a &lt;code&gt;javax.net.ssl.SSLHandshakeException&lt;/code&gt; such as the one below:&lt;/p&gt;
&lt;pre&gt;ERROR com.appiancorp.process.engine.UnattendedJavaActivityRequest - An error occurred while executing activity: id=&amp;lt;ID&amp;gt;, classname=com.appiancorp.ps.plugins.directory.syncwithusernames.ADUserSynchronizationV1 &lt;br /&gt;05:00:03,234 INFO [stdout] (Appian Work Item - 85150 - ProcessExec01 : UnattendedJavaActivityRequest) java.lang.RuntimeException: javax.naming.CommunicationException: &amp;lt;IP_ADDRESS&amp;gt;:636 [Root exception is javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No subject alternative names matching IP address found]&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;Oracle has enabled stricter endpoint verification for LDAPS connections by default in &lt;a href="https://www.oracle.com/technetwork/java/javase/8u181-relnotes-4479407.html#JDK-8200666"&gt;Java 1.8_181&lt;/a&gt;. As a result,&amp;nbsp;the LDAP sync process is calling the LDAP server by an IP or hostname that is not present in the LDAP server certificate&amp;#39;s subject or SAN field, causing the call to fail.&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;Update the certificate presented by the LDAP server to include the URL or the IP address that&amp;nbsp;the LDAP sync process is calling in the certificate&amp;#39;s SAN field. Alternatively, update the LDAP sync settings to call the LDAP server by the certificate&amp;#39;s subject or an entry in the certificate&amp;#39;s SAN field.&lt;/p&gt;
&lt;h2&gt;Workaround&lt;/h2&gt;
&lt;p&gt;The endpoint verification can be disabled by performing the following steps:&lt;/p&gt;
&lt;h4&gt;Tomcat (Appian 18.3 and later):&lt;/h4&gt;
&lt;p&gt;1. Navigate to &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;\tomcat\apache-tomcat\bin&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;2. Add the following line to the&amp;nbsp;&lt;/span&gt;&lt;b&gt;setenv.sh|bat&lt;/b&gt;&lt;span&gt;&amp;nbsp;file:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;export CATALINA_OPTS=&lt;span class="code-quote"&gt;&amp;quot;$CATALINA_OPTS -Dcom.sun.jndi.ldap.object.disableEndpointIdentification=&lt;span class="code-keyword"&gt;true&lt;/span&gt;&amp;quot;&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;3 Restart the Tomcat application server.&lt;/p&gt;
&lt;h4&gt;JBoss:&lt;/h4&gt;
&lt;p&gt;1. Navigate to&amp;nbsp;&lt;code&gt;&amp;lt;REPO_HOME&amp;gt;/bin/jboss/jboss-eap-6.4/bin&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;2. Add the following line to&amp;nbsp;&lt;strong&gt;standalone.custom.sh|bat&amp;nbsp;&lt;/strong&gt;:&amp;nbsp;&lt;/p&gt;
&lt;pre&gt;CUSTOM_JAVA_OPTS=-Dcom.sun.jndi.ldap.object.disableEndpointIdentification=true&lt;/pre&gt;
&lt;p&gt;3. Using the&amp;nbsp;&lt;a href="https://docs.appian.com/suite/help/latest/Configure_Script.html#deploying-configurations" rel="noopener noreferrer" target="_blank"&gt;Configure Script&lt;/a&gt;, deploy the changes to JBoss.&lt;/p&gt;
&lt;p&gt;4. Restart JBoss.&lt;/p&gt;
&lt;h4&gt;Weblogic:&lt;/h4&gt;
&lt;p&gt;1. Navigate to&amp;nbsp;&lt;code&gt;&amp;lt;WEBLOGIC_HOME&amp;gt;/&amp;lt;project_name&amp;gt;/domains/&amp;lt;domain_name&amp;gt;/bin&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;2. Add the following line to the&amp;nbsp;&lt;code&gt;JAVA_OPTIONS&lt;/code&gt; in &lt;strong&gt;setDomainEnv.sh|.bat&lt;/strong&gt;&amp;nbsp;:&amp;nbsp;&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;-Dcom.sun.jndi.ldap.object.disableEndpointIdentification=true&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;3. Run &lt;code&gt;$DOMAIN_HOME/bin/setDomainEnv.sh|.bat&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;4. Restart the Weblogic server.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Note:&amp;nbsp;&lt;/strong&gt;Cloud customers should open a Support Case on Community to request that this property be added to their site.&lt;/p&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;p&gt;Last Reviewed:&amp;nbsp;April 2019&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: java, third-party, integration, LDAP, authentication, shared components, plugins&lt;/div&gt;
</description></item><item><title>KB-1644 LDAP Sync service from the LDAP Tools plugin fails with a javax.net.ssl.SSLHandshakeException after updating to Java 1.8_181</title><link>https://community.appian.com/support/w/kb/1056/kb-1644-ldap-sync-service-from-the-ldap-tools-plugin-fails-with-a-javax-net-ssl-sslhandshakeexception-after-updating-to-java-1-8_5f00_181/revision/12</link><pubDate>Fri, 10 Aug 2018 06:53:40 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d708061f-a09e-496d-a824-638ac3f2b538</guid><dc:creator>Parmida Borhani</dc:creator><comments>https://community.appian.com/support/w/kb/1056/kb-1644-ldap-sync-service-from-the-ldap-tools-plugin-fails-with-a-javax-net-ssl-sslhandshakeexception-after-updating-to-java-1-8_5f00_181#comments</comments><description>Revision 12 posted to Appian Knowledge Base by Parmida Borhani on 8/10/2018 6:53:40 AM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;After updating Java to 1.8_181, the LDAP Sync service provided by the &lt;a href="/b/appmarket/posts/ldap-tools" target="_blank"&gt;LDAP Tools&lt;/a&gt; plugin fails with&amp;nbsp;a &lt;code&gt;javax.net.ssl.SSLHandshakeException&lt;/code&gt; such as the one below:&lt;/p&gt;
&lt;pre&gt;ERROR com.appiancorp.process.engine.UnattendedJavaActivityRequest - An error occurred while executing activity: id=&amp;lt;ID&amp;gt;, classname=com.appiancorp.ps.plugins.directory.syncwithusernames.ADUserSynchronizationV1 &lt;br /&gt;05:00:03,234 INFO [stdout] (Appian Work Item - 85150 - ProcessExec01 : UnattendedJavaActivityRequest) java.lang.RuntimeException: javax.naming.CommunicationException: &amp;lt;IP_ADDRESS&amp;gt;:636 [Root exception is javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No subject alternative names matching IP address found]&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;Oracle has enabled stricter endpoint verification for LDAPS connections by default in &lt;a href="https://www.oracle.com/technetwork/java/javase/8u181-relnotes-4479407.html#JDK-8200666"&gt;Java 1.8_181&lt;/a&gt;. As a result,&amp;nbsp;the LDAP sync process is calling the LDAP server by an IP or hostname that is not present in the LDAP server certificate&amp;#39;s subject or SAN field, causing the call to fail.&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;Update the certificate presented by the LDAP server to include the URL or the IP address that&amp;nbsp;the LDAP sync process is calling in the certificate&amp;#39;s SAN field. Alternatively, update the LDAP sync settings to call the LDAP server by the certificate&amp;#39;s subject or an entry in the certificate&amp;#39;s SAN field.&lt;/p&gt;
&lt;h2&gt;Workaround&lt;/h2&gt;
&lt;p&gt;The endpoint verification can be disabled by performing the following steps:&lt;/p&gt;
&lt;h4&gt;JBoss:&lt;/h4&gt;
&lt;p&gt;1. Navigate to&amp;nbsp;&lt;code&gt;&amp;lt;REPO_HOME&amp;gt;/bin/jboss/jboss-eap-6.4/bin&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;2. Add the following line to&amp;nbsp;&lt;strong&gt;standalone.custom.sh|bat&amp;nbsp;&lt;/strong&gt;:&amp;nbsp;&lt;/p&gt;
&lt;pre&gt;CUSTOM_JAVA_OPTS=-Dcom.sun.jndi.ldap.object.disableEndpointIdentification=true&lt;/pre&gt;
&lt;p&gt;3. Using the&amp;nbsp;&lt;a href="https://docs.appian.com/suite/help/latest/Configure_Script.html#deploying-configurations" target="_blank"&gt;Configure Script&lt;/a&gt;, deploy the changes to JBoss.&lt;/p&gt;
&lt;p&gt;4. Restart JBoss.&lt;/p&gt;
&lt;h4&gt;Weblogic:&lt;/h4&gt;
&lt;p&gt;1. Navigate to&amp;nbsp;&lt;code&gt;&amp;lt;WEBLOGIC_HOME&amp;gt;/&amp;lt;project_name&amp;gt;/domains/&amp;lt;domain_name&amp;gt;/bin&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;2. Add the following line to the&amp;nbsp;&lt;code&gt;JAVA_OPTIONS&lt;/code&gt; in &lt;strong&gt;setDomainEnv.sh|.bat&lt;/strong&gt;&amp;nbsp;:&amp;nbsp;&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;-Dcom.sun.jndi.ldap.object.disableEndpointIdentification=true&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;3. Run &lt;code&gt;$DOMAIN_HOME/bin/setDomainEnv.sh|.bat&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;4. Restart the Weblogic server.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Note:&amp;nbsp;&lt;/strong&gt;Cloud customers should open a Support Case on Community to request that this property be added to their site.&lt;/p&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;p&gt;Last Reviewed: August 2018&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: java, third-party, integration, LDAP, authentication, shared components, plugins&lt;/div&gt;
</description></item><item><title>LDAP Sync service from the LDAP Tools plugin fails with a javax.net.ssl.SSLHandshakeException after updating to Java 1.8_181</title><link>https://community.appian.com/support/w/kb/1056/kb-1644-ldap-sync-service-from-the-ldap-tools-plugin-fails-with-a-javax-net-ssl-sslhandshakeexception-after-updating-to-java-1-8_5f00_181/revision/11</link><pubDate>Thu, 09 Aug 2018 12:25:02 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d708061f-a09e-496d-a824-638ac3f2b538</guid><dc:creator>Cali Nelson</dc:creator><comments>https://community.appian.com/support/w/kb/1056/kb-1644-ldap-sync-service-from-the-ldap-tools-plugin-fails-with-a-javax-net-ssl-sslhandshakeexception-after-updating-to-java-1-8_5f00_181#comments</comments><description>Revision 11 posted to Appian Knowledge Base by Cali Nelson on 8/9/2018 12:25:02 PM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;After updating Java to 1.8_181, the LDAP Sync service provided by the LDAP Tools plugin fails with&amp;nbsp;a &lt;code&gt;javax.net.ssl.SSLHandshakeException&lt;/code&gt; such as the one below:&lt;/p&gt;
&lt;pre&gt;ERROR com.appiancorp.process.engine.UnattendedJavaActivityRequest - An error occurred while executing activity: id=&amp;lt;ID&amp;gt;, classname=com.appiancorp.ps.plugins.directory.syncwithusernames.ADUserSynchronizationV1 &lt;br /&gt;05:00:03,234 INFO [stdout] (Appian Work Item - 85150 - ProcessExec01 : UnattendedJavaActivityRequest) java.lang.RuntimeException: javax.naming.CommunicationException: &amp;lt;IP_ADDRESS&amp;gt;:636 [Root exception is javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No subject alternative names matching IP address found]&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;Oracle has enabled stricter endpoint verification for LDAPS connections by default in &lt;a href="https://www.oracle.com/technetwork/java/javase/8u181-relnotes-4479407.html#JDK-8200666"&gt;Java 1.8_181&lt;/a&gt;. As a result,&amp;nbsp;the LDAP sync process is calling the LDAP server by an IP or hostname that is not present in the LDAP server certificate&amp;#39;s subject or SAN field, causing the call to fail.&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;Update the certificate presented by the LDAP server to include the URL or the IP address that&amp;nbsp;the LDAP sync process is calling in the certificate&amp;#39;s SAN field. Alternatively, update the LDAP sync settings to call the LDAP server by the certificate&amp;#39;s subject or an entry in the certificate&amp;#39;s SAN field.&lt;/p&gt;
&lt;h2&gt;Workaround&lt;/h2&gt;
&lt;p&gt;The endpoint verification can be disabled by performing the following steps:&lt;/p&gt;
&lt;h4&gt;JBoss:&lt;/h4&gt;
&lt;p&gt;1. Navigate to&amp;nbsp;&lt;code&gt;&amp;lt;REPO_HOME&amp;gt;/bin/jboss/jboss-eap-6.4/bin&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;2. Add the following line to&amp;nbsp;&lt;strong&gt;standalone.custom.sh|bat&amp;nbsp;&lt;/strong&gt;:&amp;nbsp;&lt;/p&gt;
&lt;pre&gt;CUSTOM_JAVA_OPTS=-Dcom.sun.jndi.ldap.object.disableEndpointIdentification=true&lt;/pre&gt;
&lt;p&gt;3. Using the&amp;nbsp;&lt;a href="https://docs.appian.com/suite/help/latest/Configure_Script.html#deploying-configurations" target="_blank"&gt;Configure Script&lt;/a&gt;, deploy the changes to JBoss.&lt;/p&gt;
&lt;p&gt;4. Restart JBoss.&lt;/p&gt;
&lt;h4&gt;Weblogic:&lt;/h4&gt;
&lt;p&gt;1. Navigate to&amp;nbsp;&lt;code&gt;&amp;lt;WEBLOGIC_HOME&amp;gt;/&amp;lt;project_name&amp;gt;/domains/&amp;lt;domain_name&amp;gt;/bin&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;2. Add the following line to the&amp;nbsp;&lt;code&gt;JAVA_OPTIONS&lt;/code&gt; in &lt;strong&gt;setDomainEnv.sh|.bat&lt;/strong&gt;&amp;nbsp;:&amp;nbsp;&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;-Dcom.sun.jndi.ldap.object.disableEndpointIdentification=true&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;3. Run &lt;code&gt;$DOMAIN_HOME/bin/setDomainEnv.sh|.bat&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;4. Restart the Weblogic server.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Note:&amp;nbsp;&lt;/strong&gt;Cloud customers should open a Support Case on Community to request that this property be added to their site.&lt;/p&gt;
&lt;h2&gt;&amp;nbsp;&lt;/h2&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;p&gt;Last Reviewed: August 2018&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: java, third-party, integration, LDAP, authentication, shared components, plugins&lt;/div&gt;
</description></item><item><title>LDAP Sync fails with a javax.net.ssl.SSLHandshakeException after updating to Java 1.8_181</title><link>https://community.appian.com/support/w/kb/1056/kb-1644-ldap-sync-service-from-the-ldap-tools-plugin-fails-with-a-javax-net-ssl-sslhandshakeexception-after-updating-to-java-1-8_5f00_181/revision/10</link><pubDate>Wed, 08 Aug 2018 23:47:52 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d708061f-a09e-496d-a824-638ac3f2b538</guid><dc:creator>Parmida Borhani</dc:creator><comments>https://community.appian.com/support/w/kb/1056/kb-1644-ldap-sync-service-from-the-ldap-tools-plugin-fails-with-a-javax-net-ssl-sslhandshakeexception-after-updating-to-java-1-8_5f00_181#comments</comments><description>Revision 10 posted to Appian Knowledge Base by Parmida Borhani on 8/8/2018 11:47:52 PM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;After updating Java to 1.8_181, the LDAP sync process fails with&amp;nbsp;a &lt;code&gt;javax.net.ssl.SSLHandshakeException&lt;/code&gt; such as the one below:&lt;/p&gt;
&lt;pre&gt;ERROR com.appiancorp.process.engine.UnattendedJavaActivityRequest - An error occurred while executing activity: id=&amp;lt;ID&amp;gt;, classname=com.appiancorp.ps.plugins.directory.syncwithusernames.ADUserSynchronizationV1 &lt;br /&gt;05:00:03,234 INFO [stdout] (Appian Work Item - 85150 - ProcessExec01 : UnattendedJavaActivityRequest) java.lang.RuntimeException: javax.naming.CommunicationException: &amp;lt;IP_ADDRESS&amp;gt;:636 [Root exception is javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No subject alternative names matching IP address found]&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;Oracle has enabled stricter endpoint verification for LDAPS connections by default in &lt;a href="https://www.oracle.com/technetwork/java/javase/8u181-relnotes-4479407.html#JDK-8200666"&gt;Java 1.8_181&lt;/a&gt;. As a result,&amp;nbsp;the LDAP sync process is calling the LDAP server by an IP or hostname that is not present in the LDAP server certificate&amp;#39;s subject or SAN field, causing the call to fail.&lt;/p&gt;
&lt;h2&gt;Workaround&lt;/h2&gt;
&lt;p&gt;The endpoint verification can be disabled by performing the following steps:&lt;/p&gt;
&lt;h4&gt;JBoss:&lt;/h4&gt;
&lt;p&gt;1. Navigate to&amp;nbsp;&lt;code&gt;&amp;lt;REPO_HOME&amp;gt;/bin/jboss/jboss-eap-6.4/bin&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;2. Add the following line to&amp;nbsp;&lt;strong&gt;standalone.custom.sh|bat&amp;nbsp;&lt;/strong&gt;:&amp;nbsp;&lt;/p&gt;
&lt;pre&gt;CUSTOM_JAVA_OPTS=-Dcom.sun.jndi.ldap.object.disableEndpointIdentification=true&lt;/pre&gt;
&lt;p&gt;3. Using the&amp;nbsp;&lt;a href="https://docs.appian.com/suite/help/latest/Configure_Script.html#deploying-configurations" target="_blank"&gt;Configure Script&lt;/a&gt;, deploy the changes to JBoss.&lt;/p&gt;
&lt;p&gt;4. Restart JBoss.&lt;/p&gt;
&lt;h4&gt;Weblogic:&lt;/h4&gt;
&lt;p&gt;1. Navigate to&amp;nbsp;&lt;code&gt;&amp;lt;WEBLOGIC_HOME&amp;gt;/&amp;lt;project_name&amp;gt;/domains/&amp;lt;domain_name&amp;gt;/bin&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;2. Add the following line to the&amp;nbsp;&lt;code&gt;JAVA_OPTIONS&lt;/code&gt; in &lt;strong&gt;setDomainEnv.sh|.bat&lt;/strong&gt;&amp;nbsp;:&amp;nbsp;&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;-Dcom.sun.jndi.ldap.object.disableEndpointIdentification=true&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;3. Run &lt;code&gt;$DOMAIN_HOME/bin/setDomainEnv.sh|.bat&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;4. Restart the Weblogic server.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Note:&amp;nbsp;&lt;/strong&gt;Cloud customers should open a Support Case on Community to request that this property be added to their site.&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;Update the certificate presented by the LDAP server to include the URL or the IP address that&amp;nbsp;the LDAP sync process is calling in the certificate&amp;#39;s SAN field. Alternatively, update the LDAP sync settings to call the LDAP server by the certificate&amp;#39;s subject or an entry in the certificate&amp;#39;s SAN field.&lt;/p&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;p&gt;Last Reviewed: August 2018&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: java, third-party, integration, LDAP, authentication, shared components, plugins&lt;/div&gt;
</description></item><item><title>LDAP Sync fails with a javax.net.ssl.SSLHandshakeException after updating to Java 1.8_181</title><link>https://community.appian.com/support/w/kb/1056/kb-1644-ldap-sync-service-from-the-ldap-tools-plugin-fails-with-a-javax-net-ssl-sslhandshakeexception-after-updating-to-java-1-8_5f00_181/revision/1</link><pubDate>Wed, 08 Aug 2018 18:14:01 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d708061f-a09e-496d-a824-638ac3f2b538</guid><dc:creator>Cali Nelson</dc:creator><comments>https://community.appian.com/support/w/kb/1056/kb-1644-ldap-sync-service-from-the-ldap-tools-plugin-fails-with-a-javax-net-ssl-sslhandshakeexception-after-updating-to-java-1-8_5f00_181#comments</comments><description>Revision 1 posted to Appian Knowledge Base by Cali Nelson on 8/8/2018 6:14:01 PM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;After updating Java to 1.8_181, the LDAP sync process fails with&amp;nbsp;a &lt;code&gt;javax.net.ssl.SSLHandshakeException&lt;/code&gt; such as the one below:&lt;/p&gt;
&lt;pre&gt;ERROR com.appiancorp.process.engine.UnattendedJavaActivityRequest - An error occurred while executing activity: id=&amp;lt;ID&amp;gt;, classname=com.appiancorp.ps.plugins.directory.syncwithusernames.ADUserSynchronizationV1 &lt;br /&gt;05:00:03,234 INFO [stdout] (Appian Work Item - 85150 - ProcessExec01 : UnattendedJavaActivityRequest) java.lang.RuntimeException: javax.naming.CommunicationException: &amp;lt;IP_ADDRESS&amp;gt;:636 [Root exception is javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No subject alternative names matching IP address found]&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;In &lt;a href="https://www.oracle.com/technetwork/java/javase/8u181-relnotes-4479407.html#JDK-8200666"&gt;Java 1.8_181&lt;/a&gt; Oracle has enabled stricter endpoint verification for LDAPS connections by default.&lt;/p&gt;
&lt;h2&gt;Workaround&lt;/h2&gt;
&lt;p&gt;The endpoint verification can be disabled by performing the following steps:&lt;/p&gt;
&lt;p&gt;For JBoss:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Navigate to&amp;nbsp;&lt;code&gt;&amp;lt;REPO_HOME&amp;gt;/bin/jboss/jboss-eap-6.4/bin&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Add the following line to&amp;nbsp;&lt;strong&gt;standalone.custom.sh|bat&lt;/strong&gt;: &lt;code&gt;CUSTOM_JAVA_OPTS=-Dcom.sun.jndi.ldap.object.disableEndpointIdentification=true&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Using the&amp;nbsp;&lt;a href="https://docs.appian.com/suite/help/latest/Configure_Script.html#deploying-configurations" target="_blank"&gt;Configure Script&lt;/a&gt;, deploy the changes to JBoss.&lt;/li&gt;
&lt;li&gt;Restart JBoss.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;For Weblogic:&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;
</description></item><item><title>LDAP Sync fails with a javax.net.ssl.SSLHandshakeException after updating to Java 1.8_181</title><link>https://community.appian.com/support/w/kb/1056/kb-1644-ldap-sync-service-from-the-ldap-tools-plugin-fails-with-a-javax-net-ssl-sslhandshakeexception-after-updating-to-java-1-8_5f00_181/revision/9</link><pubDate>Wed, 08 Aug 2018 14:33:02 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d708061f-a09e-496d-a824-638ac3f2b538</guid><dc:creator>Cali Nelson</dc:creator><comments>https://community.appian.com/support/w/kb/1056/kb-1644-ldap-sync-service-from-the-ldap-tools-plugin-fails-with-a-javax-net-ssl-sslhandshakeexception-after-updating-to-java-1-8_5f00_181#comments</comments><description>Revision 9 posted to Appian Knowledge Base by Cali Nelson on 8/8/2018 2:33:02 PM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;After updating Java to 1.8_181, the LDAP sync process fails with&amp;nbsp;a &lt;code&gt;javax.net.ssl.SSLHandshakeException&lt;/code&gt; such as the one below:&lt;/p&gt;
&lt;pre&gt;ERROR com.appiancorp.process.engine.UnattendedJavaActivityRequest - An error occurred while executing activity: id=&amp;lt;ID&amp;gt;, classname=com.appiancorp.ps.plugins.directory.syncwithusernames.ADUserSynchronizationV1 &lt;br /&gt;05:00:03,234 INFO [stdout] (Appian Work Item - 85150 - ProcessExec01 : UnattendedJavaActivityRequest) java.lang.RuntimeException: javax.naming.CommunicationException: &amp;lt;IP_ADDRESS&amp;gt;:636 [Root exception is javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No subject alternative names matching IP address found]&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;In &lt;a href="https://www.oracle.com/technetwork/java/javase/8u181-relnotes-4479407.html#JDK-8200666"&gt;Java 1.8_181&lt;/a&gt; Oracle has enabled stricter endpoint verification for LDAPS connections by default, and the LDAP sync process is calling the LDAP server by an IP or hostname that is not present in the LDAP server certificate&amp;#39;s subject or SAN field.&lt;/p&gt;
&lt;h2&gt;Workaround&lt;/h2&gt;
&lt;p&gt;The endpoint verification can be disabled by performing the following steps:&lt;/p&gt;
&lt;h4&gt;JBoss:&lt;/h4&gt;
&lt;p&gt;1. Navigate to&amp;nbsp;&lt;code&gt;&amp;lt;REPO_HOME&amp;gt;/bin/jboss/jboss-eap-6.4/bin&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;2. Add the following line to&amp;nbsp;&lt;strong&gt;standalone.custom.sh|bat&amp;nbsp;&lt;/strong&gt;:&amp;nbsp;&lt;/p&gt;
&lt;pre&gt;CUSTOM_JAVA_OPTS=-Dcom.sun.jndi.ldap.object.disableEndpointIdentification=true&lt;/pre&gt;
&lt;p&gt;3. Using the&amp;nbsp;&lt;a href="https://docs.appian.com/suite/help/latest/Configure_Script.html#deploying-configurations" target="_blank"&gt;Configure Script&lt;/a&gt;, deploy the changes to JBoss.&lt;/p&gt;
&lt;p&gt;4. Restart JBoss.&lt;/p&gt;
&lt;h4&gt;Weblogic:&lt;/h4&gt;
&lt;p&gt;1. Navigate to&amp;nbsp;&lt;code&gt;&amp;lt;WEBLOGIC_HOME&amp;gt;/&amp;lt;project_name&amp;gt;/domains/&amp;lt;domain_name&amp;gt;/bin&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;2. Add the following line to the&amp;nbsp;&lt;code&gt;JAVA_OPTIONS&lt;/code&gt; in &lt;strong&gt;setDomainEnv.sh|.bat&lt;/strong&gt;&amp;nbsp;:&amp;nbsp;&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;-Dcom.sun.jndi.ldap.object.disableEndpointIdentification=true&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;3. Run &lt;code&gt;$DOMAIN_HOME/bin/setDomainEnv.sh|.bat&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;4. Restart the Weblogic server&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Note:&amp;nbsp;&lt;/strong&gt;Cloud customers should open a Support Case on Community to request that this property be added to their site.&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;Either:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Update the certificate presented by the LDAP server to include the URL or the IP address that&amp;nbsp;the LDAP sync process is calling in the certificate&amp;#39;s SAN field.&lt;/li&gt;
&lt;li&gt;Update the LDAP Sync settings to call the LDAP server by the certificate&amp;#39;s subject or an entry in the certificate&amp;#39;s SAN field.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;p&gt;Last Reviewed: August 2018&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: java, integration, LDAP, shared components, plugins&lt;/div&gt;
</description></item><item><title>LDAP Sync fails with a javax.net.ssl.SSLHandshakeException after updating to Java 1.8_181</title><link>https://community.appian.com/support/w/kb/1056/kb-1644-ldap-sync-service-from-the-ldap-tools-plugin-fails-with-a-javax-net-ssl-sslhandshakeexception-after-updating-to-java-1-8_5f00_181/revision/8</link><pubDate>Wed, 08 Aug 2018 14:32:30 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d708061f-a09e-496d-a824-638ac3f2b538</guid><dc:creator>Cali Nelson</dc:creator><comments>https://community.appian.com/support/w/kb/1056/kb-1644-ldap-sync-service-from-the-ldap-tools-plugin-fails-with-a-javax-net-ssl-sslhandshakeexception-after-updating-to-java-1-8_5f00_181#comments</comments><description>Revision 8 posted to Appian Knowledge Base by Cali Nelson on 8/8/2018 2:32:30 PM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;After updating Java to 1.8_181, the LDAP sync process fails with&amp;nbsp;a &lt;code&gt;javax.net.ssl.SSLHandshakeException&lt;/code&gt; such as the one below:&lt;/p&gt;
&lt;pre&gt;ERROR com.appiancorp.process.engine.UnattendedJavaActivityRequest - An error occurred while executing activity: id=&amp;lt;ID&amp;gt;, classname=com.appiancorp.ps.plugins.directory.syncwithusernames.ADUserSynchronizationV1 &lt;br /&gt;05:00:03,234 INFO [stdout] (Appian Work Item - 85150 - ProcessExec01 : UnattendedJavaActivityRequest) java.lang.RuntimeException: javax.naming.CommunicationException: &amp;lt;IP_ADDRESS&amp;gt;:636 [Root exception is javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No subject alternative names matching IP address found]&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;In &lt;a href="https://www.oracle.com/technetwork/java/javase/8u181-relnotes-4479407.html#JDK-8200666"&gt;Java 1.8_181&lt;/a&gt; Oracle has enabled stricter endpoint verification for LDAPS connections by default, and the LDAP sync process is calling the LDAP server by an IP or hostname that is not present in the LDAP server&amp;#39;s certificate&amp;#39;s subject or SAN field.&lt;/p&gt;
&lt;h2&gt;Workaround&lt;/h2&gt;
&lt;p&gt;The endpoint verification can be disabled by performing the following steps:&lt;/p&gt;
&lt;h4&gt;JBoss:&lt;/h4&gt;
&lt;p&gt;1. Navigate to&amp;nbsp;&lt;code&gt;&amp;lt;REPO_HOME&amp;gt;/bin/jboss/jboss-eap-6.4/bin&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;2. Add the following line to&amp;nbsp;&lt;strong&gt;standalone.custom.sh|bat&amp;nbsp;&lt;/strong&gt;:&amp;nbsp;&lt;/p&gt;
&lt;pre&gt;CUSTOM_JAVA_OPTS=-Dcom.sun.jndi.ldap.object.disableEndpointIdentification=true&lt;/pre&gt;
&lt;p&gt;3. Using the&amp;nbsp;&lt;a href="https://docs.appian.com/suite/help/latest/Configure_Script.html#deploying-configurations" target="_blank"&gt;Configure Script&lt;/a&gt;, deploy the changes to JBoss.&lt;/p&gt;
&lt;p&gt;4. Restart JBoss.&lt;/p&gt;
&lt;h4&gt;Weblogic:&lt;/h4&gt;
&lt;p&gt;1. Navigate to&amp;nbsp;&lt;code&gt;&amp;lt;WEBLOGIC_HOME&amp;gt;/&amp;lt;project_name&amp;gt;/domains/&amp;lt;domain_name&amp;gt;/bin&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;2. Add the following line to the&amp;nbsp;&lt;code&gt;JAVA_OPTIONS&lt;/code&gt; in &lt;strong&gt;setDomainEnv.sh|.bat&lt;/strong&gt;&amp;nbsp;:&amp;nbsp;&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;-Dcom.sun.jndi.ldap.object.disableEndpointIdentification=true&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;3. Run &lt;code&gt;$DOMAIN_HOME/bin/setDomainEnv.sh|.bat&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;4. Restart the Weblogic server&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Note:&amp;nbsp;&lt;/strong&gt;Cloud customers should open a Support Case on Community to request that this property be added to their site.&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;Either:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Update the certificate presented by the LDAP server to include the URL or the IP address that&amp;nbsp;the LDAP sync process is calling in the certificate&amp;#39;s SAN field.&lt;/li&gt;
&lt;li&gt;Update the LDAP Sync settings to call the LDAP server by the certificate&amp;#39;s subject or an entry in the certificate&amp;#39;s SAN field.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;p&gt;Last Reviewed: August 2018&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: java, integration, LDAP, shared components, plugins&lt;/div&gt;
</description></item><item><title>LDAP Sync fails with a javax.net.ssl.SSLHandshakeException after updating to Java 1.8_181</title><link>https://community.appian.com/support/w/kb/1056/kb-1644-ldap-sync-service-from-the-ldap-tools-plugin-fails-with-a-javax-net-ssl-sslhandshakeexception-after-updating-to-java-1-8_5f00_181/revision/7</link><pubDate>Wed, 08 Aug 2018 14:26:50 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d708061f-a09e-496d-a824-638ac3f2b538</guid><dc:creator>Cali Nelson</dc:creator><comments>https://community.appian.com/support/w/kb/1056/kb-1644-ldap-sync-service-from-the-ldap-tools-plugin-fails-with-a-javax-net-ssl-sslhandshakeexception-after-updating-to-java-1-8_5f00_181#comments</comments><description>Revision 7 posted to Appian Knowledge Base by Cali Nelson on 8/8/2018 2:26:50 PM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;After updating Java to 1.8_181, the LDAP sync process fails with&amp;nbsp;a &lt;code&gt;javax.net.ssl.SSLHandshakeException&lt;/code&gt; such as the one below:&lt;/p&gt;
&lt;pre&gt;ERROR com.appiancorp.process.engine.UnattendedJavaActivityRequest - An error occurred while executing activity: id=&amp;lt;ID&amp;gt;, classname=com.appiancorp.ps.plugins.directory.syncwithusernames.ADUserSynchronizationV1 &lt;br /&gt;05:00:03,234 INFO [stdout] (Appian Work Item - 85150 - ProcessExec01 : UnattendedJavaActivityRequest) java.lang.RuntimeException: javax.naming.CommunicationException: &amp;lt;IP_ADDRESS&amp;gt;:636 [Root exception is javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No subject alternative names matching IP address found]&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;In &lt;a href="https://www.oracle.com/technetwork/java/javase/8u181-relnotes-4479407.html#JDK-8200666"&gt;Java 1.8_181&lt;/a&gt; Oracle has enabled stricter endpoint verification for LDAPS connections by default.&lt;/p&gt;
&lt;h2&gt;Workaround&lt;/h2&gt;
&lt;p&gt;The endpoint verification can be disabled by performing the following steps:&lt;/p&gt;
&lt;h4&gt;JBoss:&lt;/h4&gt;
&lt;p&gt;1. Navigate to&amp;nbsp;&lt;code&gt;&amp;lt;REPO_HOME&amp;gt;/bin/jboss/jboss-eap-6.4/bin&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;2. Add the following line to&amp;nbsp;&lt;strong&gt;standalone.custom.sh|bat&amp;nbsp;&lt;/strong&gt;:&amp;nbsp;&lt;/p&gt;
&lt;pre&gt;CUSTOM_JAVA_OPTS=-Dcom.sun.jndi.ldap.object.disableEndpointIdentification=true&lt;/pre&gt;
&lt;p&gt;3. Using the&amp;nbsp;&lt;a href="https://docs.appian.com/suite/help/latest/Configure_Script.html#deploying-configurations" target="_blank"&gt;Configure Script&lt;/a&gt;, deploy the changes to JBoss.&lt;/p&gt;
&lt;p&gt;4. Restart JBoss.&lt;/p&gt;
&lt;h4&gt;Weblogic:&lt;/h4&gt;
&lt;p&gt;1. Navigate to&amp;nbsp;&lt;code&gt;&amp;lt;WEBLOGIC_HOME&amp;gt;/&amp;lt;project_name&amp;gt;/domains/&amp;lt;domain_name&amp;gt;/bin&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;2. Add the following line to the&amp;nbsp;&lt;code&gt;JAVA_OPTIONS&lt;/code&gt; in &lt;strong&gt;setDomainEnv.sh|.bat&lt;/strong&gt;&amp;nbsp;:&amp;nbsp;&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;-Dcom.sun.jndi.ldap.object.disableEndpointIdentification=true&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;3. Run &lt;code&gt;$DOMAIN_HOME/bin/setDomainEnv.sh|.bat&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;4. Restart the Weblogic server&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;
</description></item><item><title>LDAP Sync fails with a javax.net.ssl.SSLHandshakeException after updating to Java 1.8_181</title><link>https://community.appian.com/support/w/kb/1056/kb-1644-ldap-sync-service-from-the-ldap-tools-plugin-fails-with-a-javax-net-ssl-sslhandshakeexception-after-updating-to-java-1-8_5f00_181/revision/6</link><pubDate>Wed, 08 Aug 2018 14:26:30 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d708061f-a09e-496d-a824-638ac3f2b538</guid><dc:creator>Cali Nelson</dc:creator><comments>https://community.appian.com/support/w/kb/1056/kb-1644-ldap-sync-service-from-the-ldap-tools-plugin-fails-with-a-javax-net-ssl-sslhandshakeexception-after-updating-to-java-1-8_5f00_181#comments</comments><description>Revision 6 posted to Appian Knowledge Base by Cali Nelson on 8/8/2018 2:26:30 PM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;After updating Java to 1.8_181, the LDAP sync process fails with&amp;nbsp;a &lt;code&gt;javax.net.ssl.SSLHandshakeException&lt;/code&gt; such as the one below:&lt;/p&gt;
&lt;pre&gt;ERROR com.appiancorp.process.engine.UnattendedJavaActivityRequest - An error occurred while executing activity: id=&amp;lt;ID&amp;gt;, classname=com.appiancorp.ps.plugins.directory.syncwithusernames.ADUserSynchronizationV1 &lt;br /&gt;05:00:03,234 INFO [stdout] (Appian Work Item - 85150 - ProcessExec01 : UnattendedJavaActivityRequest) java.lang.RuntimeException: javax.naming.CommunicationException: &amp;lt;IP_ADDRESS&amp;gt;:636 [Root exception is javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No subject alternative names matching IP address found]&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;In &lt;a href="https://www.oracle.com/technetwork/java/javase/8u181-relnotes-4479407.html#JDK-8200666"&gt;Java 1.8_181&lt;/a&gt; Oracle has enabled stricter endpoint verification for LDAPS connections by default.&lt;/p&gt;
&lt;h2&gt;Workaround&lt;/h2&gt;
&lt;p&gt;The endpoint verification can be disabled by performing the following steps:&lt;/p&gt;
&lt;h4&gt;JBoss:&lt;/h4&gt;
&lt;p&gt;1. Navigate to&amp;nbsp;&lt;code&gt;&amp;lt;REPO_HOME&amp;gt;/bin/jboss/jboss-eap-6.4/bin&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;2. Add the following line to&amp;nbsp;&lt;strong&gt;standalone.custom.sh|bat&amp;nbsp;&lt;/strong&gt;:&amp;nbsp;&lt;/p&gt;
&lt;pre&gt;CUSTOM_JAVA_OPTS=-Dcom.sun.jndi.ldap.object.disableEndpointIdentification=true&lt;/pre&gt;
&lt;p&gt;3. Using the&amp;nbsp;&lt;a href="https://docs.appian.com/suite/help/latest/Configure_Script.html#deploying-configurations" target="_blank"&gt;Configure Script&lt;/a&gt;, deploy the changes to JBoss.&lt;/p&gt;
&lt;p&gt;4. Restart JBoss.&lt;/p&gt;
&lt;h4&gt;Weblogic:&lt;/h4&gt;
&lt;p&gt;1. Navigate to&amp;nbsp;&lt;code&gt;&amp;lt;WEBLOGIC_HOME&amp;gt;/&amp;lt;project_name&amp;gt;/domains/&amp;lt;domain_name&amp;gt;/bin&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;2. Add the following line to the&amp;nbsp;J&lt;code&gt;AVA_OPTIONS&lt;/code&gt; in &lt;strong&gt;setDomainEnv.sh|.bat&lt;/strong&gt;&amp;nbsp;:&amp;nbsp;&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;-Dcom.sun.jndi.ldap.object.disableEndpointIdentification=true&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;3. Run &lt;code&gt;$DOMAIN_HOME/bin/setDomainEnv.sh|.bat&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;4. Restart the Weblogic server&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;
</description></item><item><title>LDAP Sync fails with a javax.net.ssl.SSLHandshakeException after updating to Java 1.8_181</title><link>https://community.appian.com/support/w/kb/1056/kb-1644-ldap-sync-service-from-the-ldap-tools-plugin-fails-with-a-javax-net-ssl-sslhandshakeexception-after-updating-to-java-1-8_5f00_181/revision/5</link><pubDate>Wed, 08 Aug 2018 14:25:19 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d708061f-a09e-496d-a824-638ac3f2b538</guid><dc:creator>Cali Nelson</dc:creator><comments>https://community.appian.com/support/w/kb/1056/kb-1644-ldap-sync-service-from-the-ldap-tools-plugin-fails-with-a-javax-net-ssl-sslhandshakeexception-after-updating-to-java-1-8_5f00_181#comments</comments><description>Revision 5 posted to Appian Knowledge Base by Cali Nelson on 8/8/2018 2:25:19 PM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;After updating Java to 1.8_181, the LDAP sync process fails with&amp;nbsp;a &lt;code&gt;javax.net.ssl.SSLHandshakeException&lt;/code&gt; such as the one below:&lt;/p&gt;
&lt;pre&gt;ERROR com.appiancorp.process.engine.UnattendedJavaActivityRequest - An error occurred while executing activity: id=&amp;lt;ID&amp;gt;, classname=com.appiancorp.ps.plugins.directory.syncwithusernames.ADUserSynchronizationV1 &lt;br /&gt;05:00:03,234 INFO [stdout] (Appian Work Item - 85150 - ProcessExec01 : UnattendedJavaActivityRequest) java.lang.RuntimeException: javax.naming.CommunicationException: &amp;lt;IP_ADDRESS&amp;gt;:636 [Root exception is javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No subject alternative names matching IP address found]&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;In &lt;a href="https://www.oracle.com/technetwork/java/javase/8u181-relnotes-4479407.html#JDK-8200666"&gt;Java 1.8_181&lt;/a&gt; Oracle has enabled stricter endpoint verification for LDAPS connections by default.&lt;/p&gt;
&lt;h2&gt;Workaround&lt;/h2&gt;
&lt;p&gt;The endpoint verification can be disabled by performing the following steps:&lt;/p&gt;
&lt;h4&gt;JBoss:&lt;/h4&gt;
&lt;p&gt;1. Navigate to&amp;nbsp;&lt;code&gt;&amp;lt;REPO_HOME&amp;gt;/bin/jboss/jboss-eap-6.4/bin&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;2. Add the following line to&amp;nbsp;&lt;strong&gt;standalone.custom.sh|bat&amp;nbsp;&lt;/strong&gt;:&amp;nbsp;&lt;/p&gt;
&lt;pre&gt;CUSTOM_JAVA_OPTS=-Dcom.sun.jndi.ldap.object.disableEndpointIdentification=true&lt;/pre&gt;
&lt;p&gt;3. Using the&amp;nbsp;&lt;a href="https://docs.appian.com/suite/help/latest/Configure_Script.html#deploying-configurations" target="_blank"&gt;Configure Script&lt;/a&gt;, deploy the changes to JBoss.&lt;/p&gt;
&lt;p&gt;4. Restart JBoss.&lt;/p&gt;
&lt;h4&gt;Weblogic:&lt;/h4&gt;
&lt;ol&gt;
&lt;li&gt;Navigate to&amp;nbsp;&lt;code&gt;&amp;lt;WEBLOGIC_HOME&amp;gt;/&amp;lt;project_name&amp;gt;/domains/&amp;lt;domain_name&amp;gt;/bin&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Add the following line to the&amp;nbsp;J&lt;code&gt;AVA_OPTIONS&lt;/code&gt; in &lt;strong&gt;setDomainEnv.sh|.bat&lt;/strong&gt;&amp;nbsp;:&amp;nbsp;&lt;code&gt;-Dcom.sun.jndi.ldap.object.disableEndpointIdentification=true&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Run &lt;code&gt;$DOMAIN_HOME/bin/setDomainEnv.sh|.bat&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Restart the Weblogic server&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;
</description></item><item><title>LDAP Sync fails with a javax.net.ssl.SSLHandshakeException after updating to Java 1.8_181</title><link>https://community.appian.com/support/w/kb/1056/kb-1644-ldap-sync-service-from-the-ldap-tools-plugin-fails-with-a-javax-net-ssl-sslhandshakeexception-after-updating-to-java-1-8_5f00_181/revision/4</link><pubDate>Wed, 08 Aug 2018 14:23:59 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d708061f-a09e-496d-a824-638ac3f2b538</guid><dc:creator>Cali Nelson</dc:creator><comments>https://community.appian.com/support/w/kb/1056/kb-1644-ldap-sync-service-from-the-ldap-tools-plugin-fails-with-a-javax-net-ssl-sslhandshakeexception-after-updating-to-java-1-8_5f00_181#comments</comments><description>Revision 4 posted to Appian Knowledge Base by Cali Nelson on 8/8/2018 2:23:59 PM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;After updating Java to 1.8_181, the LDAP sync process fails with&amp;nbsp;a &lt;code&gt;javax.net.ssl.SSLHandshakeException&lt;/code&gt; such as the one below:&lt;/p&gt;
&lt;pre&gt;ERROR com.appiancorp.process.engine.UnattendedJavaActivityRequest - An error occurred while executing activity: id=&amp;lt;ID&amp;gt;, classname=com.appiancorp.ps.plugins.directory.syncwithusernames.ADUserSynchronizationV1 &lt;br /&gt;05:00:03,234 INFO [stdout] (Appian Work Item - 85150 - ProcessExec01 : UnattendedJavaActivityRequest) java.lang.RuntimeException: javax.naming.CommunicationException: &amp;lt;IP_ADDRESS&amp;gt;:636 [Root exception is javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No subject alternative names matching IP address found]&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;In &lt;a href="https://www.oracle.com/technetwork/java/javase/8u181-relnotes-4479407.html#JDK-8200666"&gt;Java 1.8_181&lt;/a&gt; Oracle has enabled stricter endpoint verification for LDAPS connections by default.&lt;/p&gt;
&lt;h2&gt;Workaround&lt;/h2&gt;
&lt;p&gt;The endpoint verification can be disabled by performing the following steps:&lt;/p&gt;
&lt;h4&gt;JBoss:&lt;/h4&gt;
&lt;ol&gt;
&lt;li&gt;Navigate to&amp;nbsp;&lt;code&gt;&amp;lt;REPO_HOME&amp;gt;/bin/jboss/jboss-eap-6.4/bin&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Add the following line to&amp;nbsp;&lt;strong&gt;standalone.custom.sh|bat&amp;nbsp;&lt;/strong&gt;:&amp;nbsp;&lt;code&gt;CUSTOM_JAVA_OPTS=-Dcom.sun.jndi.ldap.object.disableEndpointIdentification=true&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Using the&amp;nbsp;&lt;a href="https://docs.appian.com/suite/help/latest/Configure_Script.html#deploying-configurations" target="_blank"&gt;Configure Script&lt;/a&gt;, deploy the changes to JBoss.&lt;/li&gt;
&lt;li&gt;Restart JBoss.&lt;/li&gt;
&lt;/ol&gt;
&lt;h4&gt;Weblogic:&lt;/h4&gt;
&lt;ol&gt;
&lt;li&gt;Navigate to&amp;nbsp;&lt;code&gt;&amp;lt;WEBLOGIC_HOME&amp;gt;/&amp;lt;project_name&amp;gt;/domains/&amp;lt;domain_name&amp;gt;/bin&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Add the following line to the&amp;nbsp;J&lt;code&gt;AVA_OPTIONS&lt;/code&gt; in &lt;strong&gt;setDomainEnv.sh|.bat&lt;/strong&gt;&amp;nbsp;:&amp;nbsp;&lt;code&gt;-Dcom.sun.jndi.ldap.object.disableEndpointIdentification=true&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Run &lt;code&gt;$DOMAIN_HOME/bin/setDomainEnv.sh|.bat&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Restart the Weblogic server&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;
</description></item><item><title>LDAP Sync fails with a javax.net.ssl.SSLHandshakeException after updating to Java 1.8_181</title><link>https://community.appian.com/support/w/kb/1056/kb-1644-ldap-sync-service-from-the-ldap-tools-plugin-fails-with-a-javax-net-ssl-sslhandshakeexception-after-updating-to-java-1-8_5f00_181/revision/3</link><pubDate>Wed, 08 Aug 2018 14:23:25 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d708061f-a09e-496d-a824-638ac3f2b538</guid><dc:creator>Cali Nelson</dc:creator><comments>https://community.appian.com/support/w/kb/1056/kb-1644-ldap-sync-service-from-the-ldap-tools-plugin-fails-with-a-javax-net-ssl-sslhandshakeexception-after-updating-to-java-1-8_5f00_181#comments</comments><description>Revision 3 posted to Appian Knowledge Base by Cali Nelson on 8/8/2018 2:23:25 PM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;After updating Java to 1.8_181, the LDAP sync process fails with&amp;nbsp;a &lt;code&gt;javax.net.ssl.SSLHandshakeException&lt;/code&gt; such as the one below:&lt;/p&gt;
&lt;pre&gt;ERROR com.appiancorp.process.engine.UnattendedJavaActivityRequest - An error occurred while executing activity: id=&amp;lt;ID&amp;gt;, classname=com.appiancorp.ps.plugins.directory.syncwithusernames.ADUserSynchronizationV1 &lt;br /&gt;05:00:03,234 INFO [stdout] (Appian Work Item - 85150 - ProcessExec01 : UnattendedJavaActivityRequest) java.lang.RuntimeException: javax.naming.CommunicationException: &amp;lt;IP_ADDRESS&amp;gt;:636 [Root exception is javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No subject alternative names matching IP address found]&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;In &lt;a href="https://www.oracle.com/technetwork/java/javase/8u181-relnotes-4479407.html#JDK-8200666"&gt;Java 1.8_181&lt;/a&gt; Oracle has enabled stricter endpoint verification for LDAPS connections by default.&lt;/p&gt;
&lt;h2&gt;Workaround&lt;/h2&gt;
&lt;p&gt;The endpoint verification can be disabled by performing the following steps:&lt;/p&gt;
&lt;h4&gt;JBoss:&lt;/h4&gt;
&lt;ol&gt;
&lt;li&gt;Navigate to&amp;nbsp;&lt;code&gt;&amp;lt;REPO_HOME&amp;gt;/bin/jboss/jboss-eap-6.4/bin&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Add the following line to&amp;nbsp;&lt;strong&gt;standalone.custom.sh|bat&lt;/strong&gt;:&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;code&gt;CUSTOM_JAVA_OPTS=-Dcom.sun.jndi.ldap.object.disableEndpointIdentification=true&lt;/code&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Using the&amp;nbsp;&lt;a href="https://docs.appian.com/suite/help/latest/Configure_Script.html#deploying-configurations" target="_blank"&gt;Configure Script&lt;/a&gt;, deploy the changes to JBoss.&lt;/li&gt;
&lt;li&gt;Restart JBoss.&lt;/li&gt;
&lt;/ol&gt;
&lt;h4&gt;Weblogic:&lt;/h4&gt;
&lt;ol&gt;
&lt;li&gt;Navigate to&amp;nbsp;&lt;code&gt;&amp;lt;WEBLOGIC_HOME&amp;gt;/&amp;lt;project_name&amp;gt;/domains/&amp;lt;domain_name&amp;gt;/bin&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Add the following line to the&amp;nbsp;J&lt;code&gt;AVA_OPTIONS&lt;/code&gt; in &lt;strong&gt;setDomainEnv.sh|.bat&lt;/strong&gt;&amp;nbsp;:&amp;nbsp;&lt;code&gt;-Dcom.sun.jndi.ldap.object.disableEndpointIdentification=true&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Run &lt;code&gt;$DOMAIN_HOME/bin/setDomainEnv.sh|.bat&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Restart the Weblogic server&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;
</description></item><item><title>LDAP Sync fails with a javax.net.ssl.SSLHandshakeException after updating to Java 1.8_181</title><link>https://community.appian.com/support/w/kb/1056/kb-1644-ldap-sync-service-from-the-ldap-tools-plugin-fails-with-a-javax-net-ssl-sslhandshakeexception-after-updating-to-java-1-8_5f00_181/revision/2</link><pubDate>Wed, 08 Aug 2018 14:21:50 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d708061f-a09e-496d-a824-638ac3f2b538</guid><dc:creator>Cali Nelson</dc:creator><comments>https://community.appian.com/support/w/kb/1056/kb-1644-ldap-sync-service-from-the-ldap-tools-plugin-fails-with-a-javax-net-ssl-sslhandshakeexception-after-updating-to-java-1-8_5f00_181#comments</comments><description>Revision 2 posted to Appian Knowledge Base by Cali Nelson on 8/8/2018 2:21:50 PM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;After updating Java to 1.8_181, the LDAP sync process fails with&amp;nbsp;a &lt;code&gt;javax.net.ssl.SSLHandshakeException&lt;/code&gt; such as the one below:&lt;/p&gt;
&lt;pre&gt;ERROR com.appiancorp.process.engine.UnattendedJavaActivityRequest - An error occurred while executing activity: id=&amp;lt;ID&amp;gt;, classname=com.appiancorp.ps.plugins.directory.syncwithusernames.ADUserSynchronizationV1 &lt;br /&gt;05:00:03,234 INFO [stdout] (Appian Work Item - 85150 - ProcessExec01 : UnattendedJavaActivityRequest) java.lang.RuntimeException: javax.naming.CommunicationException: &amp;lt;IP_ADDRESS&amp;gt;:636 [Root exception is javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No subject alternative names matching IP address found]&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;In &lt;a href="https://www.oracle.com/technetwork/java/javase/8u181-relnotes-4479407.html#JDK-8200666"&gt;Java 1.8_181&lt;/a&gt; Oracle has enabled stricter endpoint verification for LDAPS connections by default.&lt;/p&gt;
&lt;h2&gt;Workaround&lt;/h2&gt;
&lt;p&gt;The endpoint verification can be disabled by performing the following steps:&lt;/p&gt;
&lt;h4&gt;JBoss:&lt;/h4&gt;
&lt;ol&gt;
&lt;li&gt;Navigate to&amp;nbsp;&lt;code&gt;&amp;lt;REPO_HOME&amp;gt;/bin/jboss/jboss-eap-6.4/bin&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Add the following line to&amp;nbsp;&lt;strong&gt;standalone.custom.sh|bat&lt;/strong&gt;: &lt;code&gt;CUSTOM_JAVA_OPTS=-Dcom.sun.jndi.ldap.object.disableEndpointIdentification=true&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Using the&amp;nbsp;&lt;a href="https://docs.appian.com/suite/help/latest/Configure_Script.html#deploying-configurations" target="_blank"&gt;Configure Script&lt;/a&gt;, deploy the changes to JBoss.&lt;/li&gt;
&lt;li&gt;Restart JBoss.&lt;/li&gt;
&lt;/ol&gt;
&lt;h4&gt;Weblogic:&lt;/h4&gt;
&lt;ol&gt;
&lt;li&gt;Navigate to&amp;nbsp;&lt;code&gt;&amp;lt;WEBLOGIC_HOME&amp;gt;/&amp;lt;project_name&amp;gt;/domains/&amp;lt;domain_name&amp;gt;/bin&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Add the following line to the&amp;nbsp;J&lt;code&gt;AVA_OPTIONS&lt;/code&gt; in &lt;strong&gt;setDomainEnv.sh|.bat&lt;/strong&gt;&amp;nbsp;:&amp;nbsp;&lt;code&gt;-Dcom.sun.jndi.ldap.object.disableEndpointIdentification=true&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Run &lt;code&gt;$DOMAIN_HOME/bin/setDomainEnv.sh|.bat&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Restart the Weblogic server&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;
</description></item></channel></rss>