Enabling SSL encryption of the connection from microservices to your Microsoft SQL Server database
By default, Content Delivery microservices are configured to connect to a Microsoft SQL Server database without using encryption. If you would prefer to encrypt your connections, you can do so by changing your microservice configurations. This causes the JDBC Driver to use encryption.
Before you begin
- Your Java application has appropriate encryption keys added to the trust store.
- The server certificate is trusted.
About this task
Procedure
- Ensure that the
encryptproperty in the Storage Layer configuration file, cd_storage_conf.xml, of each microservice that connects to a Microsoft SQL Server database, resolves to the valuetrue. (The environment variable associated with this property isdbencrypt). - Ensure that the
encryptproperty in the caching configuration file, cache-conf.xml, of each microservice that connects to a Microsoft SQL Server database, resolves to the valuetrue. (The environment variable associated with this property isdbencrypt). - If your Content Deployer connects to a Microsoft SQL Server database, ensure that the
encryptproperty in the configuration file of the Content Deployer, deployer-conf.xml, resolves to the valuetrue. (The environment variable associated with this property isdbencrypt). - Restart all affected microservices.