Thanks for coming back to this @patrick.
Yes still the same, just replicated again by doing the same steps that did make it work a long time ago:
The certificate is downloaded from digitalocean and does work when I connect to the db using DBeaver.
Tried a few other paths also:
~.wappler/targets/ca-certificate.crt
.wappler/targets/ca-certificate.crt
This is the error:
{"status":"500","code":"HANDSHAKE_SSL_ERROR","message":"self signed certificate in certificate chain","stack":"Error: self signed certificate in certificate chain\n at TLSSocket.<anonymous> (/opt/node_app/node_modules/mysql2/lib/connection.js:342:54)\n at TLSSocket.emit (events.js:315:20)\n at TLSSocket.EventEmitter.emit (domain.js:529:15)\n at TLSSocket._finishInit (_tls_wrap.js:932:8)\n at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:706:12)\n at TLSWrap.callbackTrampoline (internal/async_hooks.js:131:14)"}
Can it have anything to do with Traefik? We changed some settings in there in the last few months.