When connecting to a remote SQL Server PI repository in SSL mode, the Foglight Agent Managers and Foglight Management Server (FMS) must trust the database server's certificate. This requires importing the certificate into the appropriate keystores.
If the SQL PI repository certificate is not trusted by the FMS or Agent Manager keystores, secure SSL connections will fail with errors such as:
Unable to find certificate chain
Import the certificate into the default truststore:
{Foglight}/jre/bin
.keytool -import -trustcacerts -alias host1 -file c:/test.cer -keystore C:/Quest/Foglight/config/security/trust.fips.keystore -deststoretype BCFKS -provider org.bouncycastle.jcajce.provider.BouncyCastleFipsProvider -providerpath C:/Quest/Foglight/server/core/bc-fips.jar -storepass nitrogen -noprompt
Note: In federation mode, import the certificate into both master and child FMS instances.
Import the certificate into fogdb.store
on both the DB agent manager and PI agent manager:
lib
directory:{fglam_home}/agents/DB_SQL_Server/5.9.7.10-xxxx/lib
or {fglam_home}/agents/DB_Oracle/5.9.7.10-xxxx/lib
certificatetool-5.9.7.10.bat --add-certificate host1=c:\test.cer
chmod u+x certificatetool-5.9.7.10.sh ./certificatetool-5.9.7.10.sh --add-certificate host1=/path/to/test.cer
The following video details the certificate installation steps.
© ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center