APAR status
Closed as program error.
Error description
B2B REST API call to /B2BAPIs/svc/sshknownhostkeys/ can return empty brackets despite having Known Host Keys in system. The Known Host UI displays all Known Hosts, but the REST API GET command can return none.
Local fix
B2BISFG-52255
Problem summary
Users Affected All Problem Description: B2B REST API call to GET /B2BAPIs/svc/sshknownhostkeys/ can return an empty result set if there is a problem parsing the Known Host Public key. The B2BI UI SSH Known Host UI displays all SSH Known Host Keys, but the REST API GET returns an empty bracket set. Platforms Affected: All
Problem conclusion
Resolution Summary: A code fix is provided. Fixed to return all SSH Known Host Keys through the REST API GET Known Host query. If there is an error with the loading a key, the error is reported in the Noapp Log, listing the SSH Key name: [2020-05-08 15:41:07.916] ALL 000000000000 GLOBAL_SCOPE Failed to load Public Key, record, knownhost_ssh1, Unable to parse key as format could not be identified. Also added validation of the saved Known Host Key, during the SSH Known Host Key creation, through the UI. If the Key cannot be retrieved and parsed successfully, the UI report an error to the dialog, when saving the Key: Unable to save the current object. Please contact your system administrator. The cause for this defect was when a RSA1 Type SSH Public Key was created through the UI. The SSHTools used by B2BI accepted the key, but interpreted its type incorrectly when parsing the key, resulting in errors if the Key was used, and resulting the empty brackets during the REST API call. Delivered in: 6000203
Temporary fix
Comments
APAR Information
APAR number
IT32802
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
2020-05-08
Closed date
2020-11-26
Last modified date
2020-12-01
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
[{"Line of Business":{"code":"LOB59","label":"Sustainability Software"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS3JSW","label":"IBM Sterling B2B Integrator"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"5.2.6"}]
Document Information
Modified date:
02 December 2020