Skip to main content
1

Give the server a certificate for its host name

For TLS verified, the certificate must name the host in the connection string and come from a CA you can paste in the connect form.
  • Postgres: ssl = on, ssl_cert_file and ssl_key_file in postgresql.conf, then reload.
  • MySQL: TLS is on by default, but the certificate MySQL makes for itself doesn’t name your host. Set ssl_ca, ssl_cert and ssl_key.
A self-signed server certificate connects, but stays Encrypted, not verified (TLS).
2

Let Midplane in

Postgres must listen where Midplane can reach it (listen_addresses), with hostssl lines in pg_hba.conf for your region’s egress addresses; MySQL, on its bind_address. Open the port to those addresses in the firewall (allowlists). On a private network, use an SSH bastion.
3

Run the role script

As a superuser or a role with CREATEROLE on Postgres; as root or a user that can create users and grant SELECT on MySQL (the role script). If pg_hba.conf names its users, add the new role first.
Check: TLS verified, with Verified against the CA certificate given for it, besides the public authorities.