Report this

What is the reason for this report?

how to obtain CA, server certificate and server key from managed redis database

Posted on April 26, 2022
Paul

By Paul

I deployed a managed redis database on digitalocean and want to connect to the database from an app which need the CA certificate, tls certificate, and tls KEY. No way from the control panel to find those certificates and key file. I can use openssl s_client to get the certificate without problem. But how can I get the private key file used for the managed redis cluster?



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,

Usually, the private key and the certificate file should not be needed for authentication to the managed instances.

You can follow the steps here on how to connect over TLS:

https://docs.digitalocean.com/products/databases/redis/how-to/connect/#connect-to-the-database

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

In the app that you are using, there should be a way to specify that the authentication method to your Redis cluster is a password and not a private + public key.

Best,

Bobby

The developer cloud

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

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

Dark mode is coming soon.