Code Fix: An error occurs after running the K2 Setup Repair option when removing K2 signing certificates

LEGACY/ARCHIVED CONTENT
This article has been archived, and/or refers to legacy products, components or features. The content in this article is offered "as is" and will no longer be updated. Archived content is provided for reference purposes only. This content does not infer that the product, component or feature is supported, or that the product, component or feature will continue to function as described herein.

Issue Description

After upgrading to K2 Five the App Deployment fails due to an error retrieving the K2 signing certificate. If you delete the certificate from all artifacts from the database and attempt to run a K2 Setup > Repair, an error occurs.

Error Message

The error message states: “Error retrieving the K2 Signing Certificate. Verify that the [K2_SIGNING_CERTIFICATE_PRIVATE] is correctly configured”.

Resolution

  1. Ensure you have K2 Five installed.
  2. Get the K2 Five FP3 from Regional Support.
  3. Install the K2 Five FP3 to apply the fix.
  4. Reconfigure the K2 Setup via Windows Start Menu > K2 > Setup > K2 Setup Manager.