When monitoring remote DB2 databases in SSL mode, the Foglight Agent Manager (FglAM) must trust the database server's certificate. This requires importing the server certificate into the appropriate keystore used by the DB2 cartridge.
If the DB2 server certificate is missing or not trusted by the FglAM's keystore, the agent will fail to establish a secure SSL connection. This results in connection errors such as SSL handshake failures or inability to validate the certificate path.
lib
directory:{FGLAM_HOME}/agents/DB_DB2/5.9.7.10-xxxx-xxxx/lib
certificatetool-5.9.7.10.bat --add-certificate alias="C:\path\to\certificate.cer"
chmod u+x certificatetool-5.9.7.10.sh ./certificatetool-5.9.7.10.sh --add-certificate alias="/path/to/certificate.cer"
{FGLAM_HOME}/state/default/certificates
lib
directory:{FGLAM_HOME}/agents/DB_DB2/--/lib
DB2Keystore.info
and copy the UID value.{FGLAM_HOME}/jre/bin
keytool
to retrieve the certificate:
keytool -printcert -sslserver SERVERNAME:50000 -rfc
db2.cer
. If multiple certificates are present, split them into separate files (e.g., db2_a.cer
, db2_b.cer
, db2_c.cer
).keytool -importcert -file db2.cer -keystore /fglam/state/default/certificates/DB2Keystore.keystore -storepass UID -noprompt -alias db2test
© 2025 Quest Software Inc. ALL RIGHTS RESERVED. Termini di utilizzo Privacy Cookie Preference Center