<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: Trust Issue While Implementing LDAP Authentication in... in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/trust-issue-while-implementing-ldap-authentication-in-sap-cloud-connector/qaa-p/14478472#M4948383</link>
    <description>&lt;P&gt;Hi All,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Since I have resolved the issue I am sharing my experience.&lt;BR /&gt;Short answer was indeed those certificates were needed to be imported in the LDAP Trust Store itself.&lt;BR /&gt;Also if your Cloud Connector has Master and Shadow concept, you also need to import those certificates in the same way in Shadow Node's LDAP Trust Store.&lt;BR /&gt;I am preparing a complete Blog Post where I will share my other Lesson Learnt Experience as well while implementing LDAP Authentication for SAP Cloud Connector.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards&lt;BR /&gt;Anurag&lt;/P&gt;</description>
    <pubDate>Wed, 02 Sep 2026 19:09:03 GMT</pubDate>
    <dc:creator>Anurag004</dc:creator>
    <dc:date>2026-09-02T19:09:03Z</dc:date>
    <item>
      <title>Trust Issue While Implementing LDAP Authentication in SAP Cloud Connector</title>
      <link>https://community.sap.com/t5/technology-q-a/trust-issue-while-implementing-ldap-authentication-in-sap-cloud-connector/qaq-p/14462705</link>
      <description>&lt;P&gt;Dear Experts,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a requirement to implement the LDAP Authentication method in SAP Cloud Connector to replace traditional file based authentication which we normally use to login with Administrator user.&lt;/P&gt;&lt;P&gt;Now I got in touch with our Active Directory Server Admin Team who has access to the host. He help us configuring the parameters for LDAP configuration like, Host, Alternate Host, Search Rules and with the Roles part.&lt;/P&gt;&lt;P&gt;However after that when I tried to test I got the error as below.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;• Connecting to URL ldaps://XXXXXXXXXXX:636&lt;BR /&gt;• Exception performing authentication. Retrying... throwing exception javax.naming.CommunicationException: XXXXXXXXXXX:636 [Root exception is javax.net.ssl.SSLException: java.lang.RuntimeException:&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty]&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;• Connecting to URL ldaps://XXXXXXXXXXXXXX:636&lt;BR /&gt;• Exception performing authentication throwing exception javax.naming.CommunicationException: XXXXXXXXXXXXXXXXXXX:636 [Root exception is javax.net.ssl.SSLException: java.lang.RuntimeException:&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty]&lt;/FONT&gt;&lt;BR /&gt;• Returning null principal.&lt;BR /&gt;• Authentication for user Username failed&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;After further researching I consulted the Note&amp;nbsp;&lt;A href="https://me.sap.com/notes/0003041841" target="_blank" rel="noopener"&gt;https://me.sap.com/notes/0003041841&lt;/A&gt;&lt;BR /&gt;Requested System Certificate, Intermediate Certificate and Root Certificate of the LDAP Server and created a seprate cer file by merging those 3 certificate. Executed the below command to add the certificate to the CACERT file in my SAP JVM Folder&amp;nbsp;&lt;BR /&gt;"&lt;STRONG&gt;keytool -import -storepass changeit -file &amp;lt;certificate used by LDAP server&amp;gt; -keystore cacerts -alias &amp;lt;e.g. LDAP_xyz&amp;gt;&lt;/STRONG&gt;";&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Still the same error is coming.&amp;nbsp;&lt;BR /&gt;I believe our SAP Cloud Connector is using that same JVM only.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;There is another option I seen inside the LDAP Configuration Page which is the LDAP trust store where there is no certificate added. I am not sure if I need to add the same certificate there also.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I verified the &lt;STRONG&gt;JAVA_HOME&lt;/STRONG&gt; path defined as &lt;STRONG&gt;G:\sapjvm_8&lt;/STRONG&gt; under User Variables from Environment Variable section and also checked from services.msc the executable path of Cloud Connector is&amp;nbsp;&lt;STRONG&gt;G:\SAP\scc20\SCCHost.exe&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Can you please suggest how to fix this?&lt;/P&gt;&lt;P&gt;I have also attached a screenshot of the current LDAP Configuration Screen with Confidential data masked for security purpose.&lt;BR /&gt;But do I need to also import the certificate in the LDAP trust store which is highlighted in the Screenshot?&lt;/P&gt;&lt;P&gt;Thanks and Regards&lt;BR /&gt;Anurag&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Aug 2026 06:03:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/trust-issue-while-implementing-ldap-authentication-in-sap-cloud-connector/qaq-p/14462705</guid>
      <dc:creator>Anurag004</dc:creator>
      <dc:date>2026-08-13T06:03:11Z</dc:date>
    </item>
    <item>
      <title>Re: Trust Issue While Implementing LDAP Authentication in...</title>
      <link>https://community.sap.com/t5/technology-q-a/trust-issue-while-implementing-ldap-authentication-in-sap-cloud-connector/qaa-p/14478472#M4948383</link>
      <description>&lt;P&gt;Hi All,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Since I have resolved the issue I am sharing my experience.&lt;BR /&gt;Short answer was indeed those certificates were needed to be imported in the LDAP Trust Store itself.&lt;BR /&gt;Also if your Cloud Connector has Master and Shadow concept, you also need to import those certificates in the same way in Shadow Node's LDAP Trust Store.&lt;BR /&gt;I am preparing a complete Blog Post where I will share my other Lesson Learnt Experience as well while implementing LDAP Authentication for SAP Cloud Connector.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards&lt;BR /&gt;Anurag&lt;/P&gt;</description>
      <pubDate>Wed, 02 Sep 2026 19:09:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/trust-issue-while-implementing-ldap-authentication-in-sap-cloud-connector/qaa-p/14478472#M4948383</guid>
      <dc:creator>Anurag004</dc:creator>
      <dc:date>2026-09-02T19:09:03Z</dc:date>
    </item>
  </channel>
</rss>

