<?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: Catching com.jcraft.jsch.JSchException: Algorithm negotiation fail in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/catching-com-jcraft-jsch-jschexception-algorithm-negotiation-fail/qaa-p/678318#M179446</link>
    <description>&lt;P&gt;Hi Venu,&lt;/P&gt;&lt;P&gt;Please refer the below Note&lt;/P&gt;&lt;P&gt;&lt;A href="https://launchpad.support.sap.com/#/notes/0002344454"&gt;2344454 - "com.jcraft.jsch.JSchException: Algorithm negotiation fail" error in Message Monitoring while using SFTP Receiver Adapter&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pavan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 28 Sep 2018 08:13:01 GMT</pubDate>
    <dc:creator>PavanKumar</dc:creator>
    <dc:date>2018-09-28T08:13:01Z</dc:date>
    <item>
      <title>Catching com.jcraft.jsch.JSchException: Algorithm negotiation fail</title>
      <link>https://community.sap.com/t5/technology-q-a/catching-com-jcraft-jsch-jschexception-algorithm-negotiation-fail/qaq-p/678316</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;I received Algorithm negotiation fail error when trying to connect to External SFTP server.&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;External server told that SAP PI key exchange algorithm need to be changed to any of the below for successful connection.&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;LI&gt; DH_GROUP_EXCHANGE_SHA256 &lt;/LI&gt; 
  &lt;LI&gt; ECDH_NISTP256&lt;/LI&gt; 
  &lt;LI&gt;I ran the SFTP trace and found the same issue. Where can we change the key exchange algorithm settings in SAP PI to reflect to any of above more secure key exchange algorithms.&lt;/LI&gt; 
  &lt;LI&gt;I do not think upgrade to latest patch is required. as we are in SAP 7.4. SFTP adapter version is 4, path 18.&lt;/LI&gt; 
  &lt;LI&gt;Thanks!!!&lt;/LI&gt; 
  &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;P&gt; &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;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Thu, 27 Sep 2018 17:30:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/catching-com-jcraft-jsch-jschexception-algorithm-negotiation-fail/qaq-p/678316</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-09-27T17:30:11Z</dc:date>
    </item>
    <item>
      <title>Re: Catching com.jcraft.jsch.JSchException: Algorithm negotiation fail</title>
      <link>https://community.sap.com/t5/technology-q-a/catching-com-jcraft-jsch-jschexception-algorithm-negotiation-fail/qaa-p/678317#M179445</link>
      <description>&lt;P&gt;SHA1/SHA256 is used for signing the data and in SFTP adapter this is required to configure in the module parameter of CC.&lt;/P&gt;&lt;P&gt;If you have already used &lt;STRONG&gt;PGPEncryption &lt;/STRONG&gt;standard module then you can change the type of algorithm under parameter name &lt;STRONG&gt;SignatureAlgorithm. &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Accordingly, you need to import and mention the certificate name in the parameter &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ownPrivateKey and the passphrase under pwdOwnPrivateKey&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Sep 2018 06:41:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/catching-com-jcraft-jsch-jschexception-algorithm-negotiation-fail/qaa-p/678317#M179445</guid>
      <dc:creator>apu_das2</dc:creator>
      <dc:date>2018-09-28T06:41:52Z</dc:date>
    </item>
    <item>
      <title>Re: Catching com.jcraft.jsch.JSchException: Algorithm negotiation fail</title>
      <link>https://community.sap.com/t5/technology-q-a/catching-com-jcraft-jsch-jschexception-algorithm-negotiation-fail/qaa-p/678318#M179446</link>
      <description>&lt;P&gt;Hi Venu,&lt;/P&gt;&lt;P&gt;Please refer the below Note&lt;/P&gt;&lt;P&gt;&lt;A href="https://launchpad.support.sap.com/#/notes/0002344454"&gt;2344454 - "com.jcraft.jsch.JSchException: Algorithm negotiation fail" error in Message Monitoring while using SFTP Receiver Adapter&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pavan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Sep 2018 08:13:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/catching-com-jcraft-jsch-jschexception-algorithm-negotiation-fail/qaa-p/678318#M179446</guid>
      <dc:creator>PavanKumar</dc:creator>
      <dc:date>2018-09-28T08:13:01Z</dc:date>
    </item>
    <item>
      <title>Re: Catching com.jcraft.jsch.JSchException: Algorithm negotiation fail</title>
      <link>https://community.sap.com/t5/technology-q-a/catching-com-jcraft-jsch-jschexception-algorithm-negotiation-fail/qaa-p/678319#M179447</link>
      <description>&lt;P&gt;This has nothing to do with PGP. The algorithm negotiation happens for SSH handshake.&lt;/P&gt;&lt;P&gt;@Venu: I would suggest you run xpi_inspector and see what algo does your PI adapter uses, I remember there is an option to set externally in Advantaco SFTP adapter but not in SAP, I would highly recommend you to check below note provided by pavan.&lt;/P&gt;&lt;P&gt;And in case of you are using SSH keys for authentication make sure you generated with the required algo.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/229267-ssh.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Sep 2018 11:33:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/catching-com-jcraft-jsch-jschexception-algorithm-negotiation-fail/qaa-p/678319#M179447</guid>
      <dc:creator>manoj_khavatkopp</dc:creator>
      <dc:date>2018-09-28T11:33:38Z</dc:date>
    </item>
  </channel>
</rss>

