webMethods

webMethods

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  Trouble connecting to SFTP server from webmethods IS

    Posted Tue May 04, 2021 10:46 AM

    Hi All,

    Can anyone help me in resolving the below issue please?

    [ISS.0147.9010] Cannot get host key from server [sftp.net]:22. Details: com.jcraft.jsch.JSchException: Session.connect: java.security.InvalidAlgorithmParameterException: Prime size must be multiple of 64, and can only range from 512 to 1024 (inclusive)

    Facing this error while trying to create a SFTP server alias ang generating a host key.


    #webMethods
    #Application-Platform
    #Flow-and-Java-services
    #Service-Designer
    #B2B-Integration
    #webMethods-io-Integration
    #Integration-Server-and-ESB


  • 2.  RE: Trouble connecting to SFTP server from webmethods IS

    Posted Tue May 04, 2021 12:51 PM

    Hi Sangamesh,

    please provide your wM version as well as the Fixes applied to your IS installation.

    There have been some issues to the SFTP JCraft lib with retrieving the keys from the server for which Fixes exist.
    Please check with UpdateManager if there are Fixes available for your version.
    If yes, then apply these and test again.

    Regards,
    Holger


    #Integration-Server-and-ESB
    #webMethods
    #B2B-Integration
    #webMethods-io-Integration
    #Application-Platform
    #Service-Designer
    #Flow-and-Java-services


  • 3.  RE: Trouble connecting to SFTP server from webmethods IS

    Posted Tue May 11, 2021 09:25 AM

    Hello Holger,

    We are currently on WM9.7 version and fixes applied when IS installation is IS_9.7_SPM_Fix1.

    Can you please guide how to get those fixes and apply?


    #B2B-Integration
    #Integration-Server-and-ESB
    #Flow-and-Java-services
    #webMethods
    #Application-Platform
    #webMethods-io-Integration
    #Service-Designer


  • 4.  RE: Trouble connecting to SFTP server from webmethods IS

    Posted Tue May 11, 2021 01:47 PM

    Hi Sangamesh,

    hopefully you have an Empower account with download rights for your company.
    In this case you can install/open UpdateManager (SUM) and select the fixes you need.
    Fixes for SFTP issues are part of IS_Core as well as SCG, TPP and TPS fixes.
    IS_SPM Fix is not involved here.

    Regards,
    Holger


    #Integration-Server-and-ESB
    #B2B-Integration
    #Service-Designer
    #webMethods
    #webMethods-io-Integration
    #Flow-and-Java-services
    #Application-Platform


  • 5.  RE: Trouble connecting to SFTP server from webmethods IS

    Posted Thu May 20, 2021 07:20 AM

    Thanks Holger,

    I have some doubts. What is this Host Key and from where this is generated?

    We have other SFTP connections working fine in our webMethods. Issue is only with this SFTP.


    #Flow-and-Java-services
    #webMethods
    #Service-Designer
    #B2B-Integration
    #webMethods-io-Integration
    #Integration-Server-and-ESB
    #Application-Platform


  • 6.  RE: Trouble connecting to SFTP server from webmethods IS

    Posted Thu May 20, 2021 11:43 AM

    Hi Sangamesh,

    in this case you should get in contact with the admins of the sftp server.
    The host key is a generated ssh-rsa key (i.e. by ssh-keygen) provided by the host of the SFTP-Server.

    Regards,
    Holger


    #Integration-Server-and-ESB
    #webMethods-io-Integration
    #B2B-Integration
    #webMethods
    #Flow-and-Java-services
    #Service-Designer
    #Application-Platform


  • 7.  RE: Trouble connecting to SFTP server from webmethods IS

    Posted Fri May 14, 2021 04:04 PM

    if you have access to a newer version of WM (10.1 , 10.5 etc), try to connect from there. The supported algorithm in 9.7 is pretty outdated.


    #Application-Platform
    #Integration-Server-and-ESB
    #B2B-Integration
    #webMethods-io-Integration
    #Flow-and-Java-services
    #Service-Designer
    #webMethods