SSL cert failed to verify: x509: certificate signed by unknown authority | Verification is on, and the CA from CA certificate source didn’t sign the server’s certificate. | Paste the CA that signed the server’s certificate, or point to it. |
tls: failed to verify certificate: x509: certificate signed by unknown authority | tls in Extra Parameters checks the server against the system’s trusted CAs only. | Remove tls from Extra Parameters, and set up TLS in the TLS section. |
SSL cert failed to verify: x509: certificate is valid for …, not … | Hostname isn’t one of the names in the server’s certificate. | Use a name from the certificate, or have the certificate reissued. |
connection closed unexpectedly by the other side: EOF | The server requires TLS and TLS mode is Disabled, or it requires a client certificate and TLS mode isn’t Mutual TLS. | Set TLS mode to TLS, or to Mutual TLS with a client certificate. |
(AuthenticationFailed) Authentication failed. | The password is wrong, or the user is defined in a database other than Authentication Database, which defaults to admin. | Check the password, and set Authentication Database to the user’s database. |
lookup _mongodb._tcp.… : no such host | mongodb+srv:// is selected, and Hostname has no DNS SRV record. | Use the SRV host name from your provider, or choose mongodb://. |
server selection error: … ReplicaSetNoPrimary | Replica Set doesn’t match the name of the replica set, or Bytebase can’t reach the primary. | Check the replica set name. To reach one member on its own, use Direct Connection. |
ssl_cert and ssl_key must be both set or unset | Only one of the client certificate and its private key is set. | Provide both. |