🔒 Redis Encrypted Connection (SSL/TLS)
🌐 Introduction
The Redis certified by Virtuozzo includes an integrated add-on that implements encryption in transit (SSL/TLS).
This ensures the protection of data during transfer between servers.
- Port 6380 → secure connections (TLS)
- Port 6379 → unencrypted connections (compatibility)
🛒 Step 1 - Accessing the Marketplace
Open the SaveInCloud Marketplace and select the encrypted connection add-on for Redis.

⚙️ Step 2 - Installation
Follow the installation wizard to enable SSL/TLS support.

After installation, you will see the readiness notice:

Port 6380 is automatically configured and added to the firewall rules.

📂 Certificates
SSL certificates are automatically generated and stored in:
/var/lib/jelastic/keys/SSL-TLS
- 📁 server → certificates used by the Redis server
- 📁 client → client certificates for optional authentication

⚙️ Redis Settings
The SSL settings are in the file:
/etc/redis.conf
Main directives:
tls-port→ SSL connection port (default: 6380)port→ non-secure connection port (6379, can be disabled)tls-cert-file,tls-key-file,tls-ca-cert-file→ certificate pathstls-auth-clients→ defines if clients require certificate authenticationtls-replication,tls-cluster→ enable TLS in replication/cluster

🔑 Secure Connection
Simple connection with redis-cli
export REDISCLI_AUTH={password}
redis-cli -p 6380 --tls --cacert /var/lib/jelastic/keys/SSL-TLS/client/root.crt

Connection with client certificate
redis-cli -p 6380 --tls --cert /var/lib/jelastic/keys/SSL-TLS/client/client.crt --key /var/lib/jelastic/keys/SSL-TLS/client/client.key --cacert /var/lib/jelastic/keys/SSL-TLS/client/root.crt

🔐 Advanced Modes
- Force SSL only → set
port 0andtls-port 6379in/etc/redis.conf - Cluster/Sentinel via SSL → enable
tls-clusterandtls-replicationin the configuration file - Multiregional Cluster → use the same root certificate on all nodes across environments
✅ Done! Now your Redis accepts secure connections with SSL/TLS, protecting data in transit.
🧠 Support
If you have questions, encounter difficulties in configuration, or need help in specific situations, contact SaveinCloud technical support through the channels available in the platform dashboard.