The following steps help you establish a secure connection between the MS SQL database and Applications Manager.
sqlserver.domain.comsqlserver (short hostname - will cause SSL validation failure)Paste the certificate file inside the following folder:
<AppManager_Home>\conf
Open Command Prompt and navigate to:
<AppManager_Home>\bin
Run the following command, replacing the filename with your certificate file name:
For Windows: importCertificate.bat mssql.cerFor Linux: importCertificate.sh mssql.cer
Note: MSSQL SSL will be enabled only if the certificate CN and the value configured in database_params.conf in the next step are the same.
Navigate to the following folder:
<AppManager_Home>\conf
Update the JDBC URL with the following parameters:
encrypt=true;trustServerCertificate=false;hostNameInCertificate=<FQDN_of_SQL_Server>
Example of a complete URL:
url=jdbc:sqlserver://localhost:1433;databaseName=<DBName>;encrypt=true;trustServerCertificate=false;hostNameInCertificate=sqlserver.domain.com
Important: The value of hostNameInCertificate must match the CN of the certificate exactly. Always use the FQDN - using a short hostname will cause SSL validation to fail.
Restart Applications Manager for all the changes to take effect.
It allows us to track crucial metrics such as response times, resource utilization, error rates, and transaction performance. The real-time monitoring alerts promptly notify us of any issues or anomalies, enabling us to take immediate action.
Reviewer Role: Research and Development