<?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>topic Re: Problem creating SM59 connection to HTTPS in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-creating-sm59-connection-to-https/m-p/9704376#M1769441</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HTTPS (which is basically HTTP over SSL) requires a certificate, always. Your vendor might not issue client certificates but they have a server certificate. You have to import the complete server certificate including any intermediate certificates and root certificate, uless already known by AS ABAP, in STRUST.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Sep 2013 20:09:15 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-09-04T20:09:15Z</dc:date>
    <item>
      <title>Problem creating SM59 connection to HTTPS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-creating-sm59-connection-to-https/m-p/9704375#M1769440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: 11.25pt; background: white;"&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica','sans-serif'; color: #333333;"&gt;Hello -&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 15px; color: #333333; font-family: Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;"&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica','sans-serif'; color: #333333;"&gt;I am trying to connect to an external REST API from SAP over HTTPS. In SAP I have created a connection in SM59 with the host/prefix &amp;amp; port. The vendor has indicated that they do not issue out SSL certificates, and that we must use basic authentication (username/password) to authenticate.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 15px; color: #333333; font-family: Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;"&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica','sans-serif'; color: #333333;"&gt;In SM59 when I set SSL to inactive and test the connection, I get a 400 Bad Request - The plain HTTP request was sent to HTTPS port message. When I set to SSL active I get an ICM_HTTP_SSL_ERROR which I assume indicates that there is an issue with the SSL certificate, yet we do not need an SSL certificate to connect. Thus I am not sure what to do in order to make SAP connect?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 15px; color: #333333; font-family: Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;"&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica','sans-serif'; color: #333333;"&gt;Has anyone faced this issue that can offer any advice? Below is the error from the ICM monitor.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;[Thr 16924] *** ERROR during SecudeSSL_SessionStart() from SSL_connect()==SSL_ERROR_SSL&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;[Thr 16924] session uses PSE file "K:\usr\sap\DEV\DVEBMGS00\sec\SAPSSLA.pse"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;[Thr 16924] SecudeSSL_SessionStart: SSL_connect() failed&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;[Thr 16924]&amp;nbsp;&amp;nbsp; secude_error 9 (0x00000009) = "the verification of the server's certificate chain failed"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;[Thr 16924] &amp;gt;&amp;gt; Begin of Secude-SSL Errorstack &amp;gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;[Thr 16924] ERROR in ssl3_get_server_certificate: (9/0x0009) the verification of the server's certificate chain failed #&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;&lt;SPAN&gt;[Thr 16924] ERROR in af_verify_Certificates: (27/0x001b) Chain of certificates is incomplete : "&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:EMAIL=info@valicert.com"&gt;EMAIL=info@valicert.com&lt;/A&gt;&lt;SPAN&gt;, CN=&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://w"&gt;http://w&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;&lt;SPAN&gt;[Thr 16924] ERROR in get_path: (27/0x001b) Found root certificate of &amp;lt;&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:EMAIL=info@valicert.com"&gt;EMAIL=info@valicert.com&lt;/A&gt;&lt;SPAN&gt;, CN=&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.valicert.com/"&gt;http://www.valicert.com/&lt;/A&gt;&lt;SPAN&gt;, OU=ValiC&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;&lt;SPAN&gt;[Thr 16924] ERROR in verify_with_PKs: (27/0x001b) Found root certificate of &amp;lt;&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:EMAIL=info@valicert.com"&gt;EMAIL=info@valicert.com&lt;/A&gt;&lt;SPAN&gt;, CN=&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.valicert.com/"&gt;http://www.valicert.com/&lt;/A&gt;&lt;SPAN&gt;, O&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;[Thr 16924] &amp;lt;&amp;lt; End of Secude-SSL Errorstack&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;[Thr 16924] SSL_get_state() returned 0x00002131 "SSLv3 read server certificate B"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;[Thr 16924]&amp;nbsp;&amp;nbsp; SSL NI-sock: local=10.10.7.78:62645&amp;nbsp; peer=131.103.27.179:443&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;[Thr 16924] &amp;lt;&amp;lt;- ERROR: SapSSLSessionStart(sssl_hdl=000000000C170B10)==SSSLERR_SSL_CONNECT&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;[Thr 16924] *** ERROR =&amp;gt; IcmConnInitClientSSL: SapSSLSessionStart failed (-57): SSSLERR_SSL_CONNECT {005a66f8} [icxxconn.c 1957]&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Sep 2013 19:50:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-creating-sm59-connection-to-https/m-p/9704375#M1769440</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-09-04T19:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: Problem creating SM59 connection to HTTPS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-creating-sm59-connection-to-https/m-p/9704376#M1769441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HTTPS (which is basically HTTP over SSL) requires a certificate, always. Your vendor might not issue client certificates but they have a server certificate. You have to import the complete server certificate including any intermediate certificates and root certificate, uless already known by AS ABAP, in STRUST.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Sep 2013 20:09:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-creating-sm59-connection-to-https/m-p/9704376#M1769441</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-09-04T20:09:15Z</dc:date>
    </item>
    <item>
      <title>Re: Problem creating SM59 connection to HTTPS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-creating-sm59-connection-to-https/m-p/9704377#M1769442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the quick reply Samuli. But if they do not issue the certificate, then how do I obtain one? Would this be a self-signed certificate? If so how can I create one for STRUST?&amp;nbsp; &lt;SPAN style="font-size: 10pt;"&gt;Apologies my knowledge in this area is not too great.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Sep 2013 20:21:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-creating-sm59-connection-to-https/m-p/9704377#M1769442</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-09-04T20:21:19Z</dc:date>
    </item>
    <item>
      <title>Re: Problem creating SM59 connection to HTTPS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-creating-sm59-connection-to-https/m-p/9704378#M1769443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You get the server certificate by connecting to the provided URL with your favorite browser. You can then save a local copy of the certificate. It depends on your vendor what kind of certificate they are using. You need to import the certificate(s) in STRUST so that AS ABAP trusts the certificate chain when you connect to your vendor. Most browsers these days have many root and even some intermediate certificates as where the certificates known to AS ABAP are very limited. In STRUST you can import the certicate(s) in the SSL client PSE (anonymous or standard) which you can then use in SM59 to verify the connectivity.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Sep 2013 20:30:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-creating-sm59-connection-to-https/m-p/9704378#M1769443</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-09-04T20:30:27Z</dc:date>
    </item>
    <item>
      <title>Re: Problem creating SM59 connection to HTTPS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-creating-sm59-connection-to-https/m-p/9704379#M1769444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This worked! Thanks for the help!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Sep 2013 21:09:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-creating-sm59-connection-to-https/m-p/9704379#M1769444</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-09-04T21:09:43Z</dc:date>
    </item>
    <item>
      <title>Re: Problem creating SM59 connection to HTTPS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-creating-sm59-connection-to-https/m-p/9704380#M1769445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;same with me, &lt;/P&gt;&lt;P&gt;downloading the certificate and implementing it in STRUST transaction permit to use it in SM59.&lt;/P&gt;&lt;P&gt;remains using it in ABAP with method cl_http_client=&amp;gt;create_by_destination which doesn't seem to work so far. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2016 11:16:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-creating-sm59-connection-to-https/m-p/9704380#M1769445</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-09-28T11:16:08Z</dc:date>
    </item>
  </channel>
</rss>

