Question

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

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?

Subscribe
Share

Submit an 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