An SSL connection is a connection that uses the SSL/TLS (Secure Socket Layer/Transport Layer Security) protocol for encrypted and secure communication between MongoDB clients and servers. SSL is a protocol used to encrypt data transmission. It ensures that data is securely encrypted during transmission, preventing third parties from intercepting and eavesdropping on data.
With SSL connection enabled, you can establish an encrypted channel between MongoDB servers and clients, ensuring the following security:
Data encryption: Data transmitted between clients and servers is encrypted to prevent data from being intercepted or tampered with during transmission.
Authentication: The SSL connection allows mutual authentication between clients and servers, ensuring that both parties are legitimate, valid MongoDB instances.
Data integrity: The SSL connection also ensures that data is not tampered with during transmission, ensuring data integrity.
Enable SSL
Go to the DDS Management Console.
Click the Instance Management menu to go to the instance list page.
Select the instance for which you want to enable the SSL connection and click the instance ID of the instance to go to the instance details page.
Locate the SSL information in the Basic Information section and select Enable SSL.
Note:
The instance restarts when SSL is enabled. Therefore, exercise caution with this action.
After SSl is enabled, you can download the SSL certificate and use the SSL certificate to connect instances to ensure data security.
Disable SSL
Go to the DDS Management Console.
Click the Instance Management menu to go to the instance list page.
Select the instance for which you want to disable the SSL connection, and click the instance ID to go to the instance details page.
Locate the SSL information in the Basic Information section and select Disable SSL.
Note:
The instance restarts when SSL is disabled. Therefore, exercise caution with this action.