tpope / vim-dadbod

dadbod.vim: Modern database interface for Vim
https://www.vim.org/scripts/script.php?script_id=5665
3.75k stars 132 forks source link

TLS_CA_CERTS parameter not supported #186

Closed JarnDev closed 1 month ago

JarnDev commented 1 month ago

I have a MongoDB cluster string connection that looks like this:

mongoDB://<USER>:<PASS>@<URL>:<PORT>/?tls=true&tls_ca_certs=<cert-file.pem>&replicaSet=rs&readPreference=secondaryPreferred&retryWrites=false

The error:

Screenshot 2024-10-01 at 13 30 09

It's a DBUI error, but it's referring to a connection problem!

Is there a way to enable the TLS_CA_CERTS?

JarnDev commented 1 month ago

Solved the situation using tlsCAFile instead of tls_ca_certs