<?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: JSON with https in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/json-with-https/m-p/10493160#M1851337</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After I restarted ICM, the https service disappeared.&lt;/P&gt;&lt;P&gt;Why so?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;Rusyinni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Aug 2014 09:49:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2014-08-11T09:49:13Z</dc:date>
    <item>
      <title>JSON with https</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/json-with-https/m-p/10493156#M1851333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm attempting to read an API from my vendor whose site is in https.&lt;/P&gt;&lt;P&gt;I have added the certificate in STRUST t-code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the following method to create the client.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN lang="EN"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;call method cl_http_client=&amp;gt;create(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; exporting&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; host&amp;nbsp;&amp;nbsp;&amp;nbsp; = STR_host&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; service = '443'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; scheme&amp;nbsp; = 2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; importing&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; client&amp;nbsp; = lo_client ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; lo_client-&amp;gt;request-&amp;gt;set_method( if_http_request=&amp;gt;co_request_method_get ).&lt;/P&gt;&lt;P&gt;&amp;nbsp; call method cl_http_utility=&amp;gt;set_request_uri( request = lo_client-&amp;gt;request uri = lv_result_url ).&lt;/P&gt;&lt;P&gt;&amp;nbsp; lo_client-&amp;gt;send( ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; CALL METHOD lo_client-&amp;gt;receive&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; EXCEPTIONS&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; http_communication_failure = 1&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; http_invalid_state&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 2&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; http_processing_failed&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 3&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OTHERS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but when i send to receive, it always return http_communication_failure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Previously, I was able to connect when the site is on http only.&lt;/P&gt;&lt;P&gt;I wonder if anything else need to be done?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Aug 2014 08:47:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/json-with-https/m-p/10493156#M1851333</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-08-08T08:47:13Z</dc:date>
    </item>
    <item>
      <title>Re: JSON with https</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/json-with-https/m-p/10493157#M1851334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rusyinni,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you maintained the proxy settings in SAP for HTTPS Connections?&lt;/P&gt;&lt;P&gt;If not, to maintain proxy settings...Go to SICF tcode-&amp;gt;Click F8-&amp;gt;Client menu-&amp;gt;Proxy Settings-&amp;gt;HTTPS Log&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this does not solve the issue, Go to SMICM t code...Click Display All(Shift + F5) and post the log message here so we can check what exactly is going wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Aashrith.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2014 07:23:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/json-with-https/m-p/10493157#M1851334</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-08-11T07:23:56Z</dc:date>
    </item>
    <item>
      <title>Re: JSON with https</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/json-with-https/m-p/10493158#M1851335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aashrith,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;I went to SMICM log, and found that the service/port is not yet maintained in SMICM.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;After I maintained, I re-tested SM59, and got the following error now:&lt;/P&gt;&lt;P&gt;SSL client handshake with [website url]:443 failed SSSLERR_PEER_CERT_UNTRUSTED(-102)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any other clues I should try?&lt;/P&gt;&lt;P&gt;How do I check the handshake certificate?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;Rusyinni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2014 08:24:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/json-with-https/m-p/10493158#M1851335</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-08-11T08:24:20Z</dc:date>
    </item>
    <item>
      <title>Re: JSON with https</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/json-with-https/m-p/10493159#M1851336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rusyinni,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you restarted ICM after adding the certificate?(&lt;STRONG style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit; background: transparent;"&gt;transaction SMICM, Administration -&amp;gt; ICMAN -&amp;gt; Exit Soft&lt;/EM&gt;&lt;/STRONG&gt;)... Please refer &lt;SPAN style="color: #333333; font-size: 12px;"&gt;510007&lt;/SPAN&gt; note for details reg. all the settings required to be done for SSL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also found this link : &lt;A __default_attr="40325" __jive_macro_name="blogpost" class="jive_macro jive_macro_blogpost" data-orig-content="Calling WebServices from ABAP via HTTPS" href="https://community.sap.com/"&gt;&lt;/A&gt; , It might be of some help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Aashrith&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2014 08:47:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/json-with-https/m-p/10493159#M1851336</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-08-11T08:47:22Z</dc:date>
    </item>
    <item>
      <title>Re: JSON with https</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/json-with-https/m-p/10493160#M1851337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After I restarted ICM, the https service disappeared.&lt;/P&gt;&lt;P&gt;Why so?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;Rusyinni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2014 09:49:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/json-with-https/m-p/10493160#M1851337</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-08-11T09:49:13Z</dc:date>
    </item>
    <item>
      <title>Re: JSON with https</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/json-with-https/m-p/10493161#M1851338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have to set the relevant profile parameter for the icm port in the instance profile in RZ10. Then the settings remain after system restart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Gørril&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2015 13:36:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/json-with-https/m-p/10493161#M1851338</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-01-15T13:36:09Z</dc:date>
    </item>
    <item>
      <title>Re: JSON with https</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/json-with-https/m-p/10493162#M1851339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rusyinni,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was in a similar situation and I could fix my connection problems as I describe below. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First of all you say you have installed the certificate of the WEB server you are trying to connect to via HTTPS protocol. Please verify that you have added the certificate to the correct PSE file in the STRUST transaction. In my case, as I am using the anonymous SSL Client (CN=anonymous) , I added the server_i_want_to_connect_to.cer file to the corresponding PSE file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I specified the ssl_id I wanted to use. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD cl_http_client=&amp;gt;create&lt;/P&gt;&lt;P&gt;&amp;nbsp; EXPORTING&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; host&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = l_host&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; scheme&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 2 " HTTPS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ssl_id&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 'ANONYM' " &amp;lt;&amp;lt;&amp;lt;&amp;lt;===========&lt;/P&gt;&lt;P&gt;&amp;nbsp; IMPORTING&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; client&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = lr_http_client&lt;/P&gt;&lt;P&gt;&amp;nbsp; EXCEPTIONS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; argument_not_found = 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; plugin_not_active&amp;nbsp; = 2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; internal_error&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; OTHERS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After I did this procedure, I could connect to the remote web server with HTTPS and invoke the REST web services I required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Best regards, Rafael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Sep 2015 16:09:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/json-with-https/m-p/10493162#M1851339</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-09-11T16:09:15Z</dc:date>
    </item>
  </channel>
</rss>

