Skip to content

SSL / TLS

SSL/TLS encrypts the connection between Seaquel and your database server, preventing eavesdropping and man-in-the-middle attacks.

ModeBehavior
DisableNo encryption. Use only for trusted local connections.
AllowConnects without SSL, but upgrades if the server supports it.
PreferTries SSL first, falls back to unencrypted if unavailable.
RequireEnforces SSL. Rejects the connection if SSL is unavailable.
  • Local development — Disable or Allow is usually fine for localhost.
  • Cloud databases — Use Require. Most cloud providers (AWS RDS, Supabase, PlanetScale, Azure SQL) require or strongly recommend SSL.
  • Production — Always use Require.

For databases using self-signed certificates, you may need to provide certificate files in the connection settings. Check your database provider’s documentation for the correct CA certificate.

SSL/TLS is available for database types that support it:

  • PostgreSQL — full SSL mode support
  • MySQL — SSL encryption
  • MSSQL — TLS encryption