:original_name: dcs-ug-023129.html

.. _dcs-ug-023129:

Configuring SSL
===============

DCS Redis 6.0 instances support SSL encryption to ensure data transmission security. This function is not available for other instance versions.

Procedure
---------

#. Log in to the DCS console.
#. Click |image1| in the upper left corner of the management console and select the region where your instance is located.
#. In the navigation pane, choose **Cache Manager**.
#. On the **Cache Manager** page, click a DCS instance.
#. In the navigation pane, choose **SSL**.
#. Click |image2| next to **SSL Certificate** to enable or disable SSL.

   .. important::

      -  This will restart the instance and disconnect it for a few seconds. Wait until off-peak hours and ensure that your application can re-connect.
      -  The restart cannot be undone. For single-node DCS instances and other instances where AOF persistence is disabled (**appendonly** is set to **no**), data will be cleared and ongoing backup tasks will be stopped. Exercise caution when performing this operation.

#. Click **Download Certificate** to download the SSL certificate.
#. Decompress the SSL certificate and upload the decompressed **ca.crt** file to the server where the Redis client is located.
#. Add the path of the **ca.crt** file to the command for connecting to the instance. If you use redis-cli to connect to an instance, refer to :ref:`Accessing a DCS Redis Instance Through redis-cli <dcs-ug-0326009>`.

.. |image1| image:: /_static/images/en-us_image_0148195246.png
.. |image2| image:: /_static/images/en-us_image_0000001505063901.png
