Skip to main content
Midplane connects to every source over TLS, whatever the connection string says, and refuses a database that doesn’t offer it. A source’s page says, under Connection, whether the certificate verified:

How Midplane decides

The test tries a verified connection first. The certificate must name the host in the connection string and chain to one of:
  • the public authorities in Node.js’s root store, such as Let’s Encrypt (Neon and PlanetScale chain to them);
  • Amazon RDS’s global bundle (RDS and Aurora, every region) and Supabase Root 2021 CA, which Midplane carries;
  • a CA certificate you pasted for the source.
If the certificate fails, Midplane connects encrypted but not verified, unless the connection string asks for verification or the source has verified before. Then the test fails (the database certificate did not verify).

What the connection string asks

MySQL’s may be spelled ssl-mode, sslmode or ssl_mode. File paths such as sslrootcert, sslcert and sslkey show as Ignored. Midplane presents no client certificate, so a database that requires one refuses it.

Get it verified

Paste the authority’s certificate in PEM (-----BEGIN CERTIFICATE----- to -----END CERTIFICATE-----), never a private key: in the connect form, or for a source under Credentials, with its connection string, then Test and replace.

Through an SSH bastion

Midplane checks the certificate against the host in the connection string, never the bastion. Write the database’s host as its certificate names it and as the bastion resolves it; a MySQL database named by an IP address connects encrypted, not verified.

When the certificate changes

A verified source keeps verifying while new certificates chain to an authority Midplane trusts. If your host moves to another CA, paste the new one under Credentials: until then the source stops answering.