Certificate errors when Starting OPB (On-Premises Bridge)

  • KM03632805
  • 07-Apr-2020
  • 07-Apr-2020

Summary

Certificate errors when Starting OPB (On-Premises Bridge)

Error

SSLHadshakeException: sun.security.validator.ValidatorException: PKIX path building failed

Cause

The cause of this issue is that the SMAX certificates are not imported in the OPB cacerts

Fix

1. It will be necessary to import the SMAX certificates in the OPB cacerts

   Find the SMAX certificates by logging in in SMAX and in the browser, click the left side of the SMAX url. Where you will find a certificate warning, then click view certificate and finally export the certificate in a file in some location

2. Import the certificate in the OPB:

    Go to the location: C:\Program Files\HP\On-Premises Bridge Agent\product\util\3rd-party\jre\bin.

    Run the following command:
    keytool -import -keystore ..\lib\security\cacerts -alias "ONE ALIAS" -file <NAME OF THE EXPORTED CERT FROM PREVIOUS STEP>

    If a password is requested, type “changeit”

For more details, visit this link:

https://docs.microfocus.com/itom/SMAX:2019.05/PractitionersNotes/SMAX_Config/cg_opb_certificates