Upgrade Fails With Certificate Invalid Or Expired Error Even If Using A Valid Certificate

How to resolve invalid/ expired certificate error during upgrade?

Issue Description: While upgrading the prerequisites, validation script fails at certificate check.

Observation: There have been scenarios where the certificate is valid and as per the prerequisites but the upgrade fails at certificate check. In this scenario, current version of automation suite works fine and the certificate in browser as well comes as a valid certificate.

Root Cause: This could be due to an invalid certificate in the ~/.uipath which is a temporary location to put certificates during installation/upgrade.

Resolution Steps:

  1. Validate the certificate using the steps in KB article - Automation Suite Validating Certificate Failed
  2. If the steps are correct, check if there is a reference of previous expired/invalid certificates in temp location (Generally it is in ~/.uipath)
  3. If there are expired/invalid certs available, delete those
  4. The cert paths may also be found in the cluster_config.json file and should be validated.

If the issue still persists, create a technical support case with UiPath for further assistance.