I am trying to install CABI (either on a fresh deployment or having run the CABI cleanup script to clean up a previously unsuccessful installation).
CABI installation fails with the following error:
Controller: Probe 'cabi' (command = <startup java>) returns no-restart code (42)
Above that in the log I see the following error:
SSL handshake failed: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
TLS is not enabled for the DX UIM database connection in data_engine, and this is working fine, so why are we getting an SSL failure?
CABI 7.50, 8.00, 8.20, 23.4.0
Microsoft SQL Database
TLS not enabled in data_engine
This could be caused by a misconfiguration on the MSSQL Server, specifically the following combination of settings:
1. "Force Encryption" on the instance is enabled
2. No Certificate is selected for the instance
This can be verified in SQL Configuration Manager.
With this combination of settings, data_engine will still connect to the database without using TLS, but CABI will fail.
There are two options:
Note that it may be necessary to enable TLS on data_engine if you choose the second option.
Additionally, if the certificate used for SQL is a self-signed certificate, you will likely need to import that certificate to the Trusted Store in Java on the CABI server.
To do so:
..\..\bin\keytool -importcert -alias <servername of SQL Server> -file <X:\Path\to\certificate.cer> -keystore .\cacerts
After doing these steps, restart the cabi probe, which will re-run the installer, and the installation should now succeed.