IBM Support

API Connect v2018 to v10 form factor Migration and OVA upgrade error during import of CSV

Troubleshooting


Problem

When migrating form factors to OVA, users might see errors during the import of the CSV, if the new ISO is not generated using the same encryption secret that was used on the previous version.

Symptom

Try populating public_key_jwk in keystore for id nnnnnnn-nnnn-nnnn-nnnn-nnnnnnnnnnnn

uncaught exception: Error: error:1C800064:Provider routines::bad decrypt

  at Decipher.final (node:internal/crypto/cipher:199:29)

  at decrypt (/app/node_modules/apic-util/src/util.js:1060:30)

  at transform (/app/transform/transform.js:511:48)

  at processTicksAndRejections (node:internal/process/task_queues:95:5)

  at /app/load.js:333:17

  at pipeLogs (/app/lib/util.js:375:9)

  at run (/app/load.js:332:13) {

 library: 'Provider routines',

 reason: 'bad decrypt',

 code: 'ERR_OSSL_BAD_DECRYPT'

}

Errored and exiting : Error: error:1C800064:Provider routines::bad decrypt

  at Decipher.final (node:internal/crypto/cipher:199:29)

  at decrypt (/app/node_modules/apic-util/src/util.js:1060:30)

  at transform (/app/transform/transform.js:511:48)

  at processTicksAndRejections (node:internal/process/task_queues:95:5)

  at /app/load.js:333:17

  at pipeLogs (/app/lib/util.js:375:9)

  at run (/app/load.js:332:13) {

 library: 'Provider routines',

 reason: 'bad decrypt',

 code: 'ERR_OSSL_BAD_DECRYPT'

}

Resolving The Problem

For form factor migration you should ensure you set the encryption-secret for your v10 deployment to be the same as the encryption-secret extracted from your v2018 source deployment as described in Installing the v10 target system on VMware
For OVA upgrade, ensure you used the same apicup project directory that you used to generate the v2018 instance to generate the v10 instance as described in Preparing the 2018 deployment for upgrade

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB67","label":"IT Automation \u0026 App Modernization"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSMNED","label":"IBM API Connect"},"ARM Category":[{"code":"a8m0z000000GnUpAAK","label":"API Connect-\u003EManagement and Monitoring (MM)-\u003EMigration"}],"ARM Case Number":"TS016024048","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]

Document Information

Modified date:
29 April 2024

UID

ibm17149314