<?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: HTTPS Communication Setup: ITS with third party Java Web Application in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/https-communication-setup-its-with-third-party-java-web-application/m-p/9748739#M1773885</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The user must authenticate via a method supported by SAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How does the user authenticate to your java application? Is user/ role based access rights needed?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ideal is that the user authenticated (strongly) via something which can be reused, otherwise you will have to use trust chains or generic services.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you need to provide more infos about your scenario.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Julius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 29 Sep 2013 19:20:41 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-09-29T19:20:41Z</dc:date>
    <item>
      <title>HTTPS Communication Setup: ITS with third party Java Web Application</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/https-communication-setup-its-with-third-party-java-web-application/m-p/9748736#M1773882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a Java web application which communicates with an ITS service over HTTP. The application communicates over port 80XX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My profile parameters are as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/287877" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the ITS service come up on the browser successfully over HTTPS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have succesfully installed the SAP Crytopgraphic library and have created a system PSE certificate and server certificate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error thrown on my Java stack is&amp;nbsp; 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&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We dont have a BASIS consultant in our team and I am a techno-functional application developer in the team. So I was hoping to get some help from experts on the forum on this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Arup&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Sep 2013 20:56:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/https-communication-setup-its-with-third-party-java-web-application/m-p/9748736#M1773882</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-09-27T20:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: HTTPS Communication Setup: ITS with third party Java Web Application</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/https-communication-setup-its-with-third-party-java-web-application/m-p/9748737#M1773883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Let me get this straight. You want to call the ITS service hosted on AS ABAP from your custom Java application by using HTTPS? If so, your problem is that your application server hosting your Java application doesn't trust the SSL certificate of AS ABAP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Sep 2013 21:31:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/https-communication-setup-its-with-third-party-java-web-application/m-p/9748737#M1773883</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-09-27T21:31:53Z</dc:date>
    </item>
    <item>
      <title>Re: HTTPS Communication Setup: ITS with third party Java Web Application</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/https-communication-setup-its-with-third-party-java-web-application/m-p/9748738#M1773884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Samuli,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; You are right about the trust issue about the certificates. Now my question is, the Java application that I am running is independent of SAP and runs from Tomcat. So, what is the process to import the SAP certificates into the web application? Is the security to be handled at the Tomcat level? If so, how? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Arup&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Sep 2013 17:12:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/https-communication-setup-its-with-third-party-java-web-application/m-p/9748738#M1773884</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-09-29T17:12:52Z</dc:date>
    </item>
    <item>
      <title>Re: HTTPS Communication Setup: ITS with third party Java Web Application</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/https-communication-setup-its-with-third-party-java-web-application/m-p/9748739#M1773885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The user must authenticate via a method supported by SAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How does the user authenticate to your java application? Is user/ role based access rights needed?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ideal is that the user authenticated (strongly) via something which can be reused, otherwise you will have to use trust chains or generic services.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you need to provide more infos about your scenario.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Julius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Sep 2013 19:20:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/https-communication-setup-its-with-third-party-java-web-application/m-p/9748739#M1773885</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-09-29T19:20:41Z</dc:date>
    </item>
    <item>
      <title>Re: HTTPS Communication Setup: ITS with third party Java Web Application</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/https-communication-setup-its-with-third-party-java-web-application/m-p/9748740#M1773886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;You need to add your ABAP SSL CA certificates to the Java keystore used by your Tomcat server. Following post in stackoverflaw.com can give you a glimpse how to do it:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&lt;A class="jive-link-external-small" href="http://stackoverflow.com/questions/6497183/adding-a-foreign-servers-self-signed-certificate-to-the-trusted-certificates-of" style="font-style: inherit; font-family: inherit; color: #3778c7;"&gt;http://stackoverflow.com/questions/6497183/adding-a-foreign-servers-self-signed-certificate-to-the-trusted-certificates-of&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;Regards,&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;José M. Prieto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Sep 2013 07:35:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/https-communication-setup-its-with-third-party-java-web-application/m-p/9748740#M1773886</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-09-30T07:35:39Z</dc:date>
    </item>
    <item>
      <title>Re: HTTPS Communication Setup: ITS with third party Java Web Application</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/https-communication-setup-its-with-third-party-java-web-application/m-p/9748741#M1773887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jose and Julius for the replies..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me step back and get the scenario straightened out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To start with I want to ensure that the user from my Java based application can log on to an SAP system securely. I did some checking on our system and we are not using a Tomcat based secure communication.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What we are trying to ensure is we can securely log on to an SAP system using HTTPS. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To ensure this we have login/accept_sso2_ticket = 1 and login/create_sso2_ticket =2 set. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are trying to establish communication from our Java Application to a specific ITS service.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To give you an example the URL is &lt;A href="https://10.201.94.14:1443/sap/zavowm_lm01/?sap-client=800&amp;amp;sap-Password=123456&amp;amp;sap-language=EN&amp;amp;sap-user=amukherjee" title="https://10.201.94.14:1443/sap/zavowm_lm01/?sap-client=800&amp;amp;sap-Password=123456&amp;amp;sap-language=EN&amp;amp;sap-user=amukherjee"&gt;https://XX.XX.XX.XX:1443/sap/zavowm_lm01/?sap-client=800&amp;amp;sap-Password=123456&amp;amp;sap-language=EN&amp;amp;sap-user=amukherjee&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now to setup this communication what settings do I need to maintain on the SAP end to allow this. I have already gone through tons of SAP documentation but haven't been able to figure it out yet. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Sep 2013 22:33:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/https-communication-setup-its-with-third-party-java-web-application/m-p/9748741#M1773887</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-09-30T22:33:24Z</dc:date>
    </item>
    <item>
      <title>Re: HTTPS Communication Setup: ITS with third party Java Web Application</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/https-communication-setup-its-with-third-party-java-web-application/m-p/9748742#M1773888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arup,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First of all you need to set up the logon procedure at your ICF service (transaction SICF) and then you should be able to log in accordingly. Just for your reference you should take a look following SAP online help page which explains exactly how to set up logon procedures and the options you have.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN id="docs-internal-guid-3374ccfc-74f6-d647-0b22-8acf0b60dcad"&gt;&lt;A href="http://help.sap.com/saphelp_nw73ehp1/helpdata/en/d3/2bb3405226bc4ee10000000a1550b0/frameset.htm"&gt;&lt;SPAN style="font-size: 15px; font-family: Arial; color: #1155cc; text-decoration: underline;"&gt;&lt;/SPAN&gt;&lt;/A&gt;&lt;A href="http://help.sap.com/saphelp_nw73ehp1/helpdata/en/d3/2bb3405226bc4ee10000000a1550b0/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw73ehp1/helpdata/en/d3/2bb3405226bc4ee10000000a1550b0/frameset.htm&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would say in your particular scenario the easiest way you can achieve this is by using HTTP basic authentication over HTTPS so credentials will be sent out encrypted over the wire. You can also have other options like:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;SAP Logon Tickets, however you will need to get such tickets at your Java application side somehow and send it out on each requests.&lt;/LI&gt;&lt;LI&gt;SAML, this is only supported as of newer SAP NetWeaver versions and you need also a SAML infrastructure in pace (IdP, etc.)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please take a look at that help page to get a better understanding what choices you have.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;José M. Prieto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Oct 2013 17:12:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/https-communication-setup-its-with-third-party-java-web-application/m-p/9748742#M1773888</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-10-01T17:12:58Z</dc:date>
    </item>
    <item>
      <title>Re: HTTPS Communication Setup: ITS with third party Java Web Application</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/https-communication-setup-its-with-third-party-java-web-application/m-p/9748743#M1773889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jose,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Thanks for the reply. I tried out different combinations of Login mechanisms. Tried the basic authentication over HTTPS too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, it still keeps complaining about the javax.net.security issue..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Arup&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Oct 2013 22:07:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/https-communication-setup-its-with-third-party-java-web-application/m-p/9748743#M1773889</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-10-01T22:07:02Z</dc:date>
    </item>
    <item>
      <title>Re: HTTPS Communication Setup: ITS with third party Java Web Application</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/https-communication-setup-its-with-third-party-java-web-application/m-p/9748744#M1773890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arup,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course you still should get the error at your Java app side. The instructions I pointed you out is for setting up the authentication mode at your ICF service side only. However you still need to build up a keystore at your Tomcat side so that it can validate the certificate chain sent by the HTTPS server at your ABAP side.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So let's recap. For me the logical steps you should follow are:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Set up HTTPS at your ABAP side. As far as you pointed out this is done and working.&lt;/LI&gt;&lt;LI&gt;Set up the authentication method at your ICF service (endpoint of your HTTP request). You can refer to the SAP documentation I attached to you at help.sap.com. I suggested the simplest way in your scenario is maybe the use of HTTP basic authentication (assuming your HTTP requests are not going through public and unsecured networks). Nonetheless this is something you should think of as well.&lt;/LI&gt;&lt;LI&gt;Set up your Tomcat server in such a way is able to validate the certificate chain out of the certificate being sent by your HTTPS server (this case an ABAP system) during the SSL handshake. Basically this the same as to say that your Tomcat must trust on same CAs who signed the certificate issued for your ABAP. Here the link to that stackoverflow.com post I attached in my first post can give you some clue but I'm not a real expert on Tomcat. Anyway for sure there are tons of links at Google on how to set this up.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After this you should be able to communicate to your ICF service from The Java app on Tomcat over HTTPS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;José M. Prieto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Oct 2013 05:51:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/https-communication-setup-its-with-third-party-java-web-application/m-p/9748744#M1773890</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-10-02T05:51:10Z</dc:date>
    </item>
  </channel>
</rss>

