tencent cloud

Tencent Cloud Distributed Cache (Redis OSS-Compatible)

Release Notes and Announcements
Release Notes
Announcements
User Tutorial
Product Introduction
Overview
Product Strengths
Use Cases
Storage Engine
Product Series
Product Versions
Specifications and Performance
Read/Write Separation
Multi-AZ Deployment
Regions and AZs
Terms
Service Regions and Service Providers
Purchase Guide
Billing Overview
Pricing Center
Instance Purchasing
Renewal (Yearly/Monthly Subscription)
Refund (Yearly/Monthly Subscription)
Overdue Payments
Switching from Pay-as-You-Go to Yearly/Monthly Subscription
Getting Started
Quickly Creating an Instance
Connecting to Redis Instance
Operation Guide
Operation Overview
Connecting to a Database Instance
Managing Instances
Upgrade Instance
Management Node (Redis/ValKey Edition)
Multi-AZ Deployment Management
Backup and Restoration
Managing Accounts
Parameter Configuration
Slow Query
Access Management
Network and Security
Monitoring and Alarms
Event Management (Redis/ValKey Edition)
Data Migration
Global Replication for Redis Edition
Database Audit
Performance Optimization
Sentinel Mode
Development Guidelines
Naming Rules
Basic Usage Guidelines
Design Principles of Key and Value
Command Usage Guidelines
Design Principles of Client Programs
Connection Pool Configuration
Command Reference
Command Reference Overview
Redis Edition and Valkey Edition Command Compatibility
Version Command Usage Differences
Differences Between the Proxy Architecture and Direct Connection Mode
More Command Operations (Redis/Valkey Edition)
Memcached Edition Command Compatibility
Practical Tutorial
Building TencentDB for Redis® Client Monitoring Based on Spring Boot
Redis Client Connection Configuration Policy and Practice
Global SCAN Guide for Cluster Architecture
Eliminating Instances Securely
Hot Key and Big Key
AZ Migration Scheme
Troubleshooting
Connection Exception
Exception Analysis and Solution of Redisson Client Timeout Reconnection
Performance Troubleshooting and Fine-Tuning
API Documentation
History
Introduction
API Category
Making API Requests
Instance APIs
Parameter Management APIs
Other APIs
Backup and Restoration APIs
Region APIs
Monitoring and Management APIs
Log APIs
Data Types
Error Codes
FAQs
General
Connection and Login
Purchase
Service Agreement
Service Level Agreement
Terms of Service
Glossary
Contact Us

SSL Encryption

PDF
포커스 모드
폰트 크기
마지막 업데이트 시간: 2026-03-18 14:21:51

Overview

Secure Sockets Layer (SSL) authentication is a process that authenticates the connection from the user client to the TencentDB server. After SSL encryption is enabled, you can get a CA certificate and upload it to the server. Then, when the client accesses the database, the SSL protocol will be activated to establish an SSL secure channel between the client and the server. This implements encrypted data transfer, prevents data from being intercepted, tampered with, and eavesdropped during transfer, and ultimately ensures the data security for both the client and the server.
Note:
The Memcached edition does not support SSL encryption.

Billing Details

SSL encryption is free of charge.

Precautions

Enabling SSL encryption ensures the security of data access and transfer but may slightly affect the instance performance. We recommend you enable it only when encryption is required.
When SSL encryption is enabled, password-free access cannot be supported.
After the SSL encryption feature is disabled, clients using encrypted connections will not be able to connect properly.
The SSL certificate is valid for 20 years.

Version and Architecture Requirements

Version Description
New instances: SSL encryption can be enabled directly for compatible version 4.0 and above..
Existing instances:
If the compatible version is 2.8, you need to upgrade to version 4.0 or above to enable SSL encryption. For more information, see Upgrading Instance Version.
For compatible version 4.0 or above, the proxy version must be upgraded to 5.6.0 to support this feature.. For more information, see Upgrading Proxy.
Architecture Both standard architectures and cluster architecture support SSL encryption.

Prerequisites

The database instance is in Running status, with no ongoing tasks.
The operation is performed in off-peak hours, or the client has an automatic reconnection mechanism.

Directions

2. Above the Instance List on the right, select the region.
3. In the instance list, find the target instance.
4. In the Instance ID/Name column of the target instance, click the instance ID to enter the Instance Details page.
5. Click the SSL Encryption tab. If the system prompts you to upgrade the version under SSL Encryption Settings, click Upgrade Version, and wait until the version is successfully upgraded.
6. After Encryption Status, click

to display Download Certificate.
7. Wait until the Encryption Status shows as Enabled, as shown in the figure below. Click Download Certificate in the upper-right corner.

8. Apply the obtained certificate on the server and access the database using SSL encryption. For a Java client connection code example, see Java Connection Example. For a Python client connection code example, see Python Connection Example.

Related APIs

API
Feature Description
Enables SSL
Disables SSL

도움말 및 지원

문제 해결에 도움이 되었나요?

피드백