Digital ocean managed database connection with SSL

I followed the procedure and it works well as I obtained the lock sign for my website, see below:

But when I input any info into the forms that point to the managed MySQL database in Digital Ocean I get the following error message in the dev tools:

code: “HANDSHAKE_SSL_ERROR”
message: “self signed certificate in certificate chain”
stack: “Error: self signed certificate in certificate chain\n at TLSSocket. (/opt/node_app/node_modules/mysql2/lib/connection.js:342:54)\n at TLSSocket.emit (events.js:315:20)\n at TLSSocket._finishInit (_tls_wrap.js:932:8)\n at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:706:12)”
status: “500”

And, obviously, the data doesn’t get posted to the DO database.

Any idea on what may be this?

Thanks in advance for your help

Best.

Jay

Community Page
Last updated: