<?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: SSLHandShake Exception: PKIX Path Building failed - SmartEdit in CRM and CX Q&amp;A</title>
    <link>https://community.sap.com/t5/crm-and-cx-q-a/sslhandshake-exception-pkix-path-building-failed-smartedit/qaa-p/11941113#M327778</link>
    <description>&lt;P&gt;Can't we generate this smartedit/hybris certificate and add it our custom keystore ? Were you able to resolve this issue ?&lt;/P&gt;</description>
    <pubDate>Wed, 16 Sep 2020 14:02:02 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2020-09-16T14:02:02Z</dc:date>
    <item>
      <title>SSLHandShake Exception: PKIX Path Building failed - SmartEdit</title>
      <link>https://community.sap.com/t5/crm-and-cx-q-a/sslhandshake-exception-pkix-path-building-failed-smartedit/qaq-p/11941110</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
  &lt;P&gt;I have SAP Commerce 1811 demo environment running (installed with the b2b_acc recipe).&lt;/P&gt;
  &lt;P&gt;The environment with the demo content in Backoffice and SmartEdit ist running smooth and without any problems.&lt;BR /&gt;Now I'm trying to import a ssl certificate, to get rid of the SSL Warning. In a previous 1808 installation, I've just placed our keystore file in \hybris\bin\platform\tomcat\lib and adapted the entries in:&lt;/P&gt;
  &lt;P&gt;/bin/platform/project.properties&lt;/P&gt;
  &lt;P&gt;tomcat.ssl.keystore.alias=our_alias&lt;BR /&gt;tomcat.ssl.keystore.path=${catalina.home}/lib/ourkeystorefile&lt;BR /&gt;tomcat.ssl.keystore.password=ourpassword&lt;/P&gt;
  &lt;P&gt;and in \hybris\bin\platform\tomcat\conf\server.xml &lt;/P&gt;
  &lt;P&gt;keyAlias="our_alias"&lt;BR /&gt;keystoreFile="${catalina.home}/lib/ourkeystorefile"&lt;BR /&gt;keystorePass="ourpassword" &lt;/P&gt;
  &lt;P&gt;After restarting the plattform, the backoffice is running with our SSL certificate, without any problems. But if I open the Smart Edit part, the system throws an exception.&lt;/P&gt;
  &lt;P&gt;I tried several workarounds, like importing our certificate file to the standard keystore file. But nothing works.&lt;/P&gt;
  &lt;P&gt;Does someone has an answer for this problem?&lt;/P&gt;
  &lt;P&gt;Thanks is advance!&lt;/P&gt;
  &lt;P&gt;Cheers&lt;BR /&gt;Ramin&lt;/P&gt;
  &lt;P&gt;INFO [hybrisHTTP23] [XX.XX.XXX.XXX] [RestHandlerExceptionResolver] Translating exception [org.springframework.web.client.ResourceAccessException]: I/O error on GET request for "https://127.0.0.1:443/smarteditwebservices/v1/configurations": sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target; nested exception is javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target ERROR [hybrisHTTP23] [[XX.XX.XXX.XXX] [RestHandlerExceptionResolver] org.springframework.web.client.ResourceAccessException: I/O error on GET request for "https://127.0.0.1:443/smarteditwebservices/v1/configurations": sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target; nested exception is javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:674) at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:636) at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:557) at org.springframework.integration.http.outbound.HttpRequestExecutingMessageHandler.handleRequestMessage(HttpRequestExecutingMessageHandler.java:399) at org.springframework.integration.handler.AbstractReplyProducingMessageHandler.handleMessageInternal(AbstractReplyProducingMessageHandler.java:109) at org.springframework.integration.handler.AbstractMessageHandler.handleMessage(AbstractMessageHandler.java:127) at org.springframework.integration.dispatcher.AbstractDispatcher.tryOptimizedDispatch(AbstractDispatcher.java:116) at org.springframework.integration.dispatcher.UnicastingDispatcher.doDispatch(UnicastingDispatcher.java:148) at org.springframework.integration.dispatcher.UnicastingDispatcher.dispatch(UnicastingDispatcher.java:121) at org.springframework.integration.channel.AbstractSubscribableChannel.doSend(AbstractSubscribableChannel.java:89) at org.springframework.integration.channel.AbstractMessageChannel.send(AbstractMessageChannel.java:425) at org.springframework.integration.channel.AbstractMessageChannel.send(AbstractMessageChannel.java:375) at org.springframework.messaging.core.GenericMessagingTemplate.doSend(GenericMessagingTemplate.java:115) at org.springframework.messaging.core.GenericMessagingTemplate.doSendAndReceive(GenericMessagingTemplate.java:150) at org.springframework.messaging.core.GenericMessagingTemplate.doSendAndReceive(GenericMessagingTemplate.java:45) at org.springframework.messaging.core.AbstractMessagingTemplate.sendAndReceive(AbstractMessagingTemplate.java:42) at org.springframework.integration.core.MessagingTemplate.sendAndReceive(MessagingTemplate.java:97) at org.springframework.integration.core.MessagingTemplate.sendAndReceive(MessagingTemplate.java:38) at org.springframework.messaging.core.AbstractMessagingTemplate.convertSendAndReceive(AbstractMessagingTemplate.java:79) at org.springframework.messaging.core.AbstractMessagingTemplate.convertSendAndReceive(AbstractMessagingTemplate.java:70) at org.springframework.integration.gateway.MessagingGatewaySupport.doSendAndReceive(MessagingGatewaySupport.java:449) at org.springframework.integration.gateway.MessagingGatewaySupport.sendAndReceive(MessagingGatewaySupport.java:422) at org.springframework.integration.gateway.GatewayProxyFactoryBean.invokeGatewayMethod(GatewayProxyFactoryBean.java:483) at org.springframework.integration.gateway.GatewayProxyFactoryBean.doInvoke(GatewayProxyFactoryBean.java:433) at org.springframework.integration.gateway.GatewayProxyFactoryBean.invoke(GatewayProxyFactoryBean.java:424) at org.springframework.integration.gateway.GatewayCompletableFutureProxyFactoryBean.invoke(GatewayCompletableFutureProxyFactoryBean.java:65) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213) at com.sun.proxy.$Proxy276.loadAll(Unknown Source) at de.hybris.smartedit.controllers.ConfigurationController.getConfiguration(ConfigurationController.java:83) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:133) at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:97) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:849) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:760).....&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2019 07:55:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/crm-and-cx-q-a/sslhandshake-exception-pkix-path-building-failed-smartedit/qaq-p/11941110</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2019-04-24T07:55:55Z</dc:date>
    </item>
    <item>
      <title>Re: SSLHandShake Exception: PKIX Path Building failed - SmartEdit</title>
      <link>https://community.sap.com/t5/crm-and-cx-q-a/sslhandshake-exception-pkix-path-building-failed-smartedit/qaa-p/11941111#M327776</link>
      <description>&lt;P&gt;Also having this problem. Just moved to 1811 and SmartEdit won't work with our custom generated keystore as it usually does.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Mar 2020 12:58:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/crm-and-cx-q-a/sslhandshake-exception-pkix-path-building-failed-smartedit/qaa-p/11941111#M327776</guid>
      <dc:creator>former_member192125</dc:creator>
      <dc:date>2020-03-04T12:58:02Z</dc:date>
    </item>
    <item>
      <title>Re: SSLHandShake Exception: PKIX Path Building failed - SmartEdit</title>
      <link>https://community.sap.com/t5/crm-and-cx-q-a/sslhandshake-exception-pkix-path-building-failed-smartedit/qaa-p/11941112#M327777</link>
      <description>&lt;P&gt;As I think your SSL Certificate is selfisgned you need to disable ssl validation for smartedit with:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;smartedit.ssl.validation.enabled=false&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 06 Mar 2020 06:26:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/crm-and-cx-q-a/sslhandshake-exception-pkix-path-building-failed-smartedit/qaa-p/11941112#M327777</guid>
      <dc:creator>StefanKruk</dc:creator>
      <dc:date>2020-03-06T06:26:16Z</dc:date>
    </item>
    <item>
      <title>Re: SSLHandShake Exception: PKIX Path Building failed - SmartEdit</title>
      <link>https://community.sap.com/t5/crm-and-cx-q-a/sslhandshake-exception-pkix-path-building-failed-smartedit/qaa-p/11941113#M327778</link>
      <description>&lt;P&gt;Can't we generate this smartedit/hybris certificate and add it our custom keystore ? Were you able to resolve this issue ?&lt;/P&gt;</description>
      <pubDate>Wed, 16 Sep 2020 14:02:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/crm-and-cx-q-a/sslhandshake-exception-pkix-path-building-failed-smartedit/qaa-p/11941113#M327778</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2020-09-16T14:02:02Z</dc:date>
    </item>
    <item>
      <title>Re: SSLHandShake Exception: PKIX Path Building failed - SmartEdit</title>
      <link>https://community.sap.com/t5/crm-and-cx-q-a/sslhandshake-exception-pkix-path-building-failed-smartedit/qaa-p/11941114#M327779</link>
      <description>&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;Did you find solution for this?&lt;/P&gt;</description>
      <pubDate>Wed, 10 Mar 2021 00:14:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/crm-and-cx-q-a/sslhandshake-exception-pkix-path-building-failed-smartedit/qaa-p/11941114#M327779</guid>
      <dc:creator>former_member626150</dc:creator>
      <dc:date>2021-03-10T00:14:59Z</dc:date>
    </item>
  </channel>
</rss>

