Posts

Showing posts from January, 2020

Stunnel to DigitalOcean Redis DB

Stunnel to DigitalOcean Redis DB Connecting to your DigitalOcean DBaaS Redis server The DigitalOcean DBaaS Redis offering requires that connections be made over secure connections using SSL/TLS. Unfortunately the default redis-cli client does not support SSL/TLS connections. So to get your clients connected you’ll need to either use a third-party client or library that supports secured connections, or use Stunnel to create a tunnel through which your redis-cli can connect. We’ll quickly go through setting up Stunnel and getting it connected to your Redis server. Keep in mind that your application will most likely use a library, but this can be useful if you have a management node or a jumpbox/bastion node. Prerequisites We’ll be using an Ubuntu 18.04 server in SFO2. The size doesn’t really matter for this example, but if you do plan to use this moving forward, be sure to give yourself enough room to run your tool set from it as well as having room for other use...