IBM Support

Rest APi throwing error 400 when reading all SSH User Identity keys

Troubleshooting


Problem

When trying to read all SSH user identity keys to obtain a list of all the keys in the system using Rest APi SSH User identity services with an URL like http://hostname:RestApiPort/B2BAPIs/svc/sshuseridentitykeys/
The system throws an error 400:
{"errorCode": 400, "errorDescription": null}

Symptom

The error {"errorCode": 400, "errorDescription": null} is returned as a response to the Rest API Call.

The console log shows the error:
[10/14/22 14:21:18:160 CEST] 00000747 SystemOut O readKeyPairByOpenSSHMavericks exception :com.sshtools.publickey.InvalidPassphraseException: The passphrase supplied was invalid!

Document Location

Worldwide


[{"Type":"MASTER","Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SS3JSW","label":"IBM Sterling B2B Integrator"},"ARM Category":[{"code":"a8m50000000CjzWAAS","label":"REST API-\u003EB2B REST API"}],"ARM Case Number":"TS010914665","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

More support for:
IBM Sterling B2B Integrator

Component:
REST API->B2B REST API

Software version:
All Versions

Document number:
6831805

Modified date:
25 October 2022

UID

ibm16831805

Manage My Notification Subscriptions