Transmitting DCS Redis Data with Encryption Using SSL
Single-node, master/standby, and Redis Cluster basic edition DCS Redis 6.0/7.0 instances support SSL encryption to ensure data transmission security. This function is not available for other instance versions. RESP (Redis Serialization Protocol), the communication protocol of Redis, only supports plaintext transmission in versions earlier than Redis 6.0.
Notes and Constraints
- Either SSL or client IP pass-through can be enabled. When SSL is enabled, data is encrypted without carrying client IP addresses.
- Enabling SSL will deteriorate read/write performance.
- Enabling or disabling SSL 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.
Enabling or Disabling SSL
- Log in to the DCS console.
- Click
in the upper left corner of the 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
next to SSL Certificate to enable or disable SSL.
- 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. To upload it to an ECS, see File Upload/Data Transfer.
- Add the path of the ca.crt file to the command for connecting to the instance. For example, to access an instance on redis-cli, see Connecting to Redis on redis-cli.
Related Documents
To configure SSL by calling an API, see:
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot