IBM Support

IT26258: THE UPDATE SSHREMOTEPROFILE API FAILS WHEN UPDATING PROFILE WITH PUBLIC_KEY AUTHENTICATION

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • The Update SSHRemoteProfile API fails when updating profile is
    configured with PUBLIC_KEY authentication.
    
    
    
    Environment: IBM Sterling B2B Integrator 5263_6.
    
    1. An SSH Profile is created through the dashboard UI. Make sure
    it uses PUBLIC_KEY Authentication type.
    2) Next from API UI, update SSH profile in #1.
    
    Here is sample request JSON.
    {
    "characterEncoding": null,
    "compression": "NONE",
    "connectionRetryCount": null,
    "directory": null,
    "knownHostKeys": null,
    "localPortRange": null,
    "preferredAuthenticationType": "PUBLIC_KEY",
    "preferredCipher": "AES128-CTR",
    "preferredMacAlgorithm": "HMAC-SHA1",
    "profileName": "UIprofile",
    "remoteHost": "2.2.2.2",
    "remotePort": 2222,
    "remoteUser": "remote",
    "responseTimeOut": null,
    "retryDelay": null,
    "sshPassword": null,
    "userIdentityKey": "gregsftpuser_18400"
    }
    
    Response with error -
    { "errorCode": 400, "errorDescription": "API000313: SSH
    Password is required when Preferred Authentication Type is
    Password. Please try again" }
    
    ---
    In a different test when there is
    security.SSHCipherList=aes128-ctr,aes192-ctr,aes256-ctr in
    custer_overrides.properties, Update/Create SSH Remote Profile
    API does not trim cipher list but shows all ciphers. Choosing
    any cipher other one in above list in Update SSH Profile API
    throws 400 error as below.
    
    { "errorCode": 400, "errorDescription": "CPI000303: Cipher not
    supported. Please provide the NIST compliant Cipher" }
    

Local fix

  • STRRTC 573857
    
    BR/BR
    
    Circumvention :None
    

Problem summary

  • Users Affected:
    All
    
    Problem Description:
    The Update SSHRemoteProfile API fails when updating the profile
    with PUBLIC_KEY authentication.
    
    Platforms Affected:
    All
    

Problem conclusion

  • Resolution Summary:
    
    A code fix is provided.
    
    Delivered In:
    5020603_7
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT26258

  • Reported component name

    STR B2B INTEGRA

  • Reported component ID

    5725D0600

  • Reported release

    526

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-09-12

  • Closed date

    2018-10-09

  • Last modified date

    2018-10-22

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    STR B2B INTEGRA

  • Fixed component ID

    5725D0600

Applicable component levels

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS3JSW","label":"IBM Sterling B2B Integrator"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"5.2.6","Edition":"","Line of Business":{"code":"LOB02","label":"AI Applications"}}]

Document Information

Modified date:
22 October 2018