<?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: SAProuter: in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/saprouter/m-p/12596976#M2010680</link>
    <description>&lt;P&gt;Hello Daphne,&lt;/P&gt;&lt;P&gt;Thank you for the confirmation / clarification.&lt;/P&gt;&lt;P&gt;Where exactly do you see the&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;GSS-API(maj): No credentials were supplied&lt;BR /&gt;Could't acquire ACCEPTING credentials for&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;error?&lt;/P&gt;&lt;P&gt;Is the 3rd-party application (not the saprouter at the 3rd-party server) connecting to SAP using SNC too?&lt;/P&gt;&lt;P&gt;Because then there are two SNC trusts / tunnels / connections involved.&lt;/P&gt;&lt;P&gt;The 3rd-party app will establish an SNC "tunnel" directly with the SAP system, not with any of the saprouters.&lt;/P&gt;&lt;P&gt;The two saprouters will establish an SNC "tunnel" between them.&lt;/P&gt;&lt;P&gt;So, we will have two independent SNC tunnels, one going within another.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Isaías&lt;/P&gt;</description>
    <pubDate>Thu, 15 Sep 2022 23:40:30 GMT</pubDate>
    <dc:creator>Isaias_SAP</dc:creator>
    <dc:date>2022-09-15T23:40:30Z</dc:date>
    <item>
      <title>SAProuter:</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/saprouter/m-p/12596973#M2010677</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
  &lt;P&gt;We are trying to connect to our SAP Server via SAProuter using a 3rd party app.&lt;/P&gt;
  &lt;P&gt;There's a SAProuter instance running on the SAP side, and one running on the 3rd party app side.&lt;/P&gt;
  &lt;P&gt;Certificates have been exchanged between the two.&lt;/P&gt;
  &lt;P&gt;If we connect from the 3-rd party server directly to the SAP router (i.e. not using the SAProuter on the 3-rd party server), then it works.&lt;/P&gt;
  &lt;P&gt;But when we try connecting like:&lt;/P&gt;
  &lt;P&gt;/H/3rd-party_ip/H/SAProuter/H/SAP IP then it fails with error:&lt;/P&gt;
  &lt;P&gt;&lt;EM&gt; &lt;/EM&gt;&lt;EM&gt;GSS-API(maj): No credentials were supplied&lt;/EM&gt;&lt;/P&gt;
  &lt;P&gt;&lt;EM&gt; &lt;/EM&gt;&lt;EM&gt;Could't acquire ACCEPTING credentials for&lt;/EM&gt;&lt;/P&gt;
  &lt;P&gt;Now normally this will indicate the certificates does not match up.&lt;/P&gt;
  &lt;P&gt;Here's the funny thing:&lt;/P&gt;
  &lt;P&gt;The saprouter on the SAP server's side is starting with the following params. Note the cert name:&lt;/P&gt;
  &lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;
  &lt;P&gt;&lt;EM&gt;SAP Network Interface Router, Version 40.4&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;
  &lt;P&gt;&lt;EM&gt;command line arg 0: C:\SAP\saprouter\saprouter.exe&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;
  &lt;P&gt;&lt;EM&gt;command line arg 1: -r&lt;/EM&gt;&lt;/P&gt;
  &lt;P&gt;&lt;EM&gt;command line arg 2: -W&lt;/EM&gt;&lt;/P&gt;
  &lt;P&gt;&lt;EM&gt;command line arg 3: 60000&lt;/EM&gt;&lt;/P&gt;
  &lt;P&gt;&lt;EM&gt;command line arg 4: -R&lt;/EM&gt;&lt;/P&gt;
  &lt;P&gt;&lt;EM&gt;command line arg 5: C:\SAP\saprouter\saprouttab&lt;/EM&gt;&lt;/P&gt;
  &lt;P&gt;&lt;EM&gt;command line arg 6: -K&lt;/EM&gt;&lt;/P&gt;
  &lt;P&gt;&lt;EM&gt;command line arg 7: &lt;STRONG&gt;p:CN=XYZRPDMZ01P, OU=0001152479, OU=SAProuter, O=SAP, C=DE&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;
  &lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;
  &lt;P&gt;That is also the certificate name installed on the 3rd party server.&lt;/P&gt;
  &lt;P&gt;But when we connect the error is as below.&lt;/P&gt;
  &lt;P&gt;Note the target certificate name. Why is the target this name (the sapserv2 cert) since neither of the SAProuters are starting up with this name?&lt;/P&gt;
  &lt;P&gt;&lt;EM&gt;*** ERROR =&amp;gt; SncPEstablishContext() failed for target='p:&lt;STRONG&gt;CN=sapserv2, OU=SAProuter, O=SAP, C=DE&lt;/STRONG&gt;' [D:/depot/b 3638]&lt;/EM&gt;&lt;/P&gt;
  &lt;P&gt;&lt;EM&gt;*** ERROR =&amp;gt; SncPEstablishContext()==SNCERR_GSSAPI [D:/depot/bas/75 3604]&lt;/EM&gt;&lt;/P&gt;
  &lt;P&gt;&lt;EM&gt; GSS-API(maj): No credentials were supplied&lt;/EM&gt;&lt;/P&gt;
  &lt;P&gt;&lt;EM&gt; Unable to establish the security context&lt;/EM&gt;&lt;/P&gt;
  &lt;P&gt;&lt;EM&gt; target="p:&lt;STRONG&gt;CN=sapserv2, OU=SAProuter, O=SAP, C=DE"&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;
  &lt;P&gt;&lt;EM&gt;&amp;lt;&amp;lt;- SncProcessOutput()==SNCERR_GSSAPI&lt;/EM&gt;&lt;/P&gt;
  &lt;P&gt;&lt;EM&gt;*** ERROR =&amp;gt; NiSncIInitHdlSecurity: SncProcessOutput failed (sncrc=-4;000000F576ABA730) [nisnc.c 1202]&lt;/EM&gt;&lt;/P&gt;
  &lt;P&gt;&lt;EM&gt;*** ERROR =&amp;gt; NiSncHandleForAddr C10/-1, 194.39.xyz.xx (rc=-17) [nirout.cpp 4130]&lt;/EM&gt;&lt;/P&gt;
  &lt;P&gt;&lt;EM&gt;*** ERROR =&amp;gt; NiRClientHandle: NiRExRouteCon for C10/-1 'zasmapxyz.ogl.int' failed (rc=-17) [nirout.cpp 3489]&lt;/EM&gt;&lt;/P&gt;
  &lt;P&gt;&lt;EM&gt;*** ERROR =&amp;gt; SncPAcquireCred()==SNCERR_GSSAPI [D:/depot/bas/75 1465]&lt;/EM&gt;&lt;/P&gt;
  &lt;P&gt;&lt;EM&gt; GSS-API(maj): No credentials were supplied&lt;/EM&gt;&lt;/P&gt;
  &lt;P&gt;&lt;EM&gt; Could't acquire ACCEPTING credentials for&lt;/EM&gt;&lt;/P&gt;
  &lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;
  &lt;P&gt;&lt;EM&gt; name="p:&lt;STRONG&gt;CN=&lt;/STRONG&gt;&lt;/EM&gt;&lt;EM&gt;&lt;STRONG&gt;XYZ&lt;/STRONG&gt;&lt;/EM&gt;&lt;EM&gt;&lt;STRONG&gt;RPDMZ01P, OU=0001152479, OU=SAProuter, O=SAP, C=DE"&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;
  &lt;P&gt;&lt;EM&gt;&amp;lt;&amp;lt;- SncProcessInput()==SNCERR_GSSAPI&lt;/EM&gt;&lt;/P&gt;
  &lt;P&gt;&lt;EM&gt;*** ERROR =&amp;gt; NiSncIProcIn: SncProcessInput failed (sncrc=-4;000000F576ABA730;1789) [nisnc.c 1003]&lt;/EM&gt;&lt;/P&gt;
  &lt;P&gt;&lt;EM&gt;*** ERROR =&amp;gt; NiSncIProcOpcode: NiSncIProcIn failed (rc=-17) [nisnc.c 337]&lt;/EM&gt;&lt;/P&gt;
  &lt;P&gt;&lt;EM&gt;*** ERROR =&amp;gt; NiBufIIn: NiBufIProcMsg failed (rc=-17) [nibuf.cpp 2828]&lt;/EM&gt;&lt;/P&gt;
  &lt;P&gt;&lt;EM&gt;*** ERROR =&amp;gt; NiBufReceive C11/-1 '52.169.123.456 failed (rc=-17) [nirout.cpp 3326]&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Sep 2022 15:15:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/saprouter/m-p/12596973#M2010677</guid>
      <dc:creator>daphneo</dc:creator>
      <dc:date>2022-09-15T15:15:25Z</dc:date>
    </item>
    <item>
      <title>Re: SAProuter:</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/saprouter/m-p/12596974#M2010678</link>
      <description>&lt;P&gt;Hello Daphne,&lt;/P&gt;&lt;P&gt;Can you clarify the saprouter string used when the issue happens?&lt;/P&gt;&lt;P&gt;     /H/3rd-party_ip/H/SAProuter/H/SAP IP&lt;/P&gt;&lt;P&gt;Is it like:&lt;/P&gt;&lt;P&gt;     /H/SAProuter at 3rd-party_ip/H/SAProuter at your end/H/SAP server IP&lt;/P&gt;&lt;P&gt;?&lt;/P&gt;&lt;P&gt;You have also mentioned "That is also the certificate name installed on the 3rd party server.".&lt;/P&gt;&lt;P&gt;Is the same certificate used at both saprouters? Each saprouter should have its own certificate...&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Isaías&lt;/P&gt;</description>
      <pubDate>Thu, 15 Sep 2022 19:28:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/saprouter/m-p/12596974#M2010678</guid>
      <dc:creator>Isaias_SAP</dc:creator>
      <dc:date>2022-09-15T19:28:30Z</dc:date>
    </item>
    <item>
      <title>Re: SAProuter:</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/saprouter/m-p/12596975#M2010679</link>
      <description>&lt;P&gt;Hi Isaias.&lt;/P&gt;&lt;P&gt;Yes, the router string you have is as is when it fails: /H/SAProuter at 3rd-party_ip/H/SAProuter at your end/H/SAP server IP. (this is being run from the 3-party's server).&lt;/P&gt;&lt;P&gt;And also, yes, both SAProuter have it's own SAProuter. What was meant is that at our end (SAP App Server side), we are starting saprouter with -K &lt;EM&gt;CN=&lt;/EM&gt;&lt;EM&gt;XYZ&lt;/EM&gt;&lt;EM&gt;RPDMZ01P, OU=0001152479, OU=SAProuter, O=SAP, C=DE.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;That is the certificate given to and installed at the 3-rd party. We have installed their certificate our side (different name).&lt;/P&gt;&lt;P&gt;What I'm not getting is why it complains about sapserv2 certificate:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Unable to establish the security context&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;target="p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE"&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Sep 2022 20:58:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/saprouter/m-p/12596975#M2010679</guid>
      <dc:creator>daphneo</dc:creator>
      <dc:date>2022-09-15T20:58:02Z</dc:date>
    </item>
    <item>
      <title>Re: SAProuter:</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/saprouter/m-p/12596976#M2010680</link>
      <description>&lt;P&gt;Hello Daphne,&lt;/P&gt;&lt;P&gt;Thank you for the confirmation / clarification.&lt;/P&gt;&lt;P&gt;Where exactly do you see the&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;GSS-API(maj): No credentials were supplied&lt;BR /&gt;Could't acquire ACCEPTING credentials for&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;error?&lt;/P&gt;&lt;P&gt;Is the 3rd-party application (not the saprouter at the 3rd-party server) connecting to SAP using SNC too?&lt;/P&gt;&lt;P&gt;Because then there are two SNC trusts / tunnels / connections involved.&lt;/P&gt;&lt;P&gt;The 3rd-party app will establish an SNC "tunnel" directly with the SAP system, not with any of the saprouters.&lt;/P&gt;&lt;P&gt;The two saprouters will establish an SNC "tunnel" between them.&lt;/P&gt;&lt;P&gt;So, we will have two independent SNC tunnels, one going within another.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Isaías&lt;/P&gt;</description>
      <pubDate>Thu, 15 Sep 2022 23:40:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/saprouter/m-p/12596976#M2010680</guid>
      <dc:creator>Isaias_SAP</dc:creator>
      <dc:date>2022-09-15T23:40:30Z</dc:date>
    </item>
  </channel>
</rss>

