SSL/SSH/Proxy

Protect or route around your database connection's transport layer using SSL/TLS with certificates, SSH tunnels, and proxies.

SSL/TLS Connection

Encrypt communication with the database for a secure connection. Enable the SSL/TLS toggle on the SSL/SSH tab of the connection settings to display the configuration panel.

SSL/TLS Connection
FieldDescription
ModeSSL connection level. Choose from disable, prefer, require, verify-ca, verify-full.
CA CertificateCA certificate file for verifying the server certificate. Supports .pem, .crt, .cer formats.
Client CertificateUsed when the server requires client authentication. Click the upload button to select a file.
Client KeyPrivate key file corresponding to the client certificate.
Client Key PasswordEnter the password if the client key file is encrypted.
Server Certificate VerificationWhether to verify the validity of the certificate presented by the server. Recommended to enable in production.
Allow Public Key RetrievalAllow automatic retrieval of public key from server for MySQL/MariaDB caching_sha2_password authentication.

SSL Mode Behavior

ModeEncryptionServer Cert VerificationDescription
disableNoneNoneSSL is not used.
preferIf possibleNoneUses SSL if the server supports it, otherwise connects without encryption.
requireRequiredNoneAlways uses encrypted connection, but does not verify the server certificate.
verify-caRequiredCA onlyVerifies that the server certificate was issued by a trusted CA.
verify-fullRequiredCA + HostnameIn addition to CA verification, verifies that the certificate hostname matches the actual server.
Tip

When connecting to cloud DBs such as AWS RDS, download the CA certificate from the cloud provider and upload it to the CA certificate field.

SSH Tunnel Connection

Securely connect to databases not directly accessible from outside via SSH tunnel. Enable the SSH Tunnel toggle to display the configuration panel.

SSH Tunnel Connection

SSH Server Info

FieldDescriptionDefault
HostSSH server (Bastion Host) address-
PortSSH service port22
UserSSH login account-

Authentication Method

Choose one of two authentication methods:

  • Password — Enter the SSH account password directly.
  • Public Key — Upload an OpenSSH-format private key file. Enter the passphrase if one is set on the key file.

Port Forwarding

Port forwarding settings for the SSH tunnel. Generally, default values work fine.

FieldDescriptionDefault
Local HostLocal binding address127.0.0.1
Local PortLocal binding port (0 for auto-assign)0
Remote HostDB host accessible from the SSH server (uses connection host if empty)-
Remote PortDB port accessible from the SSH server (uses connection port if 0)0

Advanced Settings

FieldDescriptionDefault
Keep-Alive (sec)Packet interval to keep SSH connection alive (0 to disable)0
Timeout (sec)SSH connection timeout30
Host Key VerificationWhether to verify the SSH server's host key (Strict Host Key Checking)Disabled
Tip

When connecting to cloud DBs like AWS RDS, use a Bastion Host as an SSH tunnel to maintain security. Enter the RDS endpoint as the remote host and the DB port as the remote port.

Proxy Connection

Connect to the database through a proxy server. Enable the Proxy toggle to display the configuration panel.

Proxy Connection
FieldDescriptionDefault
TypeProxy protocol: SOCKS5, SOCKS4, HTTPSOCKS5
HostProxy server address-
PortProxy server port1080
UserUsername if proxy authentication is required-
PasswordPassword if proxy authentication is required-