Yes it is all fine but the SSL to your digital ocean database connection is a very different SSL than your web site.
The SSL certificate is managed by digital ocean self because you are using their managed database with their url name.
You can download the CA authority file that is offering by digital ocean next to their connection settings and use it as custom profile SSL in tge Wappler database connection settings.