By Vito Botta
Hi! I am trying to use a managed MySQL database with my Rails app. I thought that I had to have the client use the CA certificate that I can download from the DO control panel for the MySQL cluster, but if I specify that I get the error SSL_CTX_set_default_verify_paths failed. If I don’t specify the certificate, I can connect to the database. Since ssl_mode is still set to required in the connection string, can I rest assured that the connection between the database and the clients is encrypted?
Thanks in advance
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!
Hello, @vito
In order to secure your MySQL Managed Database you can check our official documentation: https://www.digitalocean.com/docs/databases/mysql/how-to/secure/
And check this link as well: https://dev.mysql.com/doc/refman/8.0/en/using-encrypted-connections.html
In order to secure MySQL connections on Ubuntu droplet you can check: https://www.digitalocean.com/community/tutorials/how-to-configure-ssl-tls-for-mysql-on-ubuntu-18-04
Hope this helps. Let me know if you have any questions.
Rregards, Alex
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.