Report this

What is the reason for this report?

How to setup SSL tunnel with stunnel

Posted on March 31, 2020

Hi, Digital Ocean send us to Redis-stunnel in connection errors link. But this not explain how to achieve instruction in a managed database. Thanks



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hello,

For connecting to a Managed Redis Database, you can follow this tutorial or follow the next steps

https://www.digitalocean.com/community/tutorials/how-to-connect-to-managed-redis-over-tls-with-stunnel-and-redis-cli

  1. Access your Redis Managed Database Cluster in your DigitalOcean Control Panel.
  2. Click on the “Connection Details” tab to find the connection information needed, such as Host, Port, and URI.
  3. Use a Redis client such as redis-cli or your application’s Redis driver, including the provided Host, Port, URI and any necessary certificate files for SSL connections.

If you’re using the redis-stunnel in a Managed Database, please ensure that you have correctly configured stunnel with the appropriate parameters provided in the Connection Details tab.

For more information on connecting to your DigitalOcean Managed Redis Database, you can consult the following documentation: https://docs.digitalocean.com/products/databases/redis/how-to/connect/.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.