When attempting to connect to an Oracle database using Foglight FglAM via JDBC, the connection may fail with one of the following errors:
These errors typically occur due to mismatched encryption settings between the Oracle server and the JDBC client, or due to SSL/TLS handshake failures.
The Oracle server is configured to require encryption and data integrity using specific algorithms. If the JDBC client does not offer compatible algorithms, the connection fails with ORA-12650.
If SSL is enabled (useSSL=true
) but the server is not properly configured for SSL or the client lacks the necessary truststore setup, the connection may fail with ORA-17002.
Example server-side sqlnet.ora
settings:
SQLNET.ENCRYPTION_SERVER = REQUIRED SQLNET.ENCRYPTION_TYPES_SERVER = (AES256) SQLNET.CRYPTO_CHECKSUM_SERVER = REQUIRED
To resolve this issue, configure the encryption and checksum settings using the Agent Status Properties for the Oracle agent in Foglight. Use the following dropdown fields for this example:
required
AES256
required
SHA256
This ensures the agent offers compatible algorithms for both encryption and data integrity, matching the server's requirements.
Enable the UseSSL checbox
2484
for SSL).
useSSL=false
and rely on SQL*Net encryption.sqlnet.ora
settings to ensure compatibility.