# GoodTLS > Tested TLS configuration guides for web servers, databases, mail servers, DNS, message brokers, VPNs, and infrastructure tools: TLS 1.2 and 1.3 only, forward-secret AEAD ciphers, and post-quantum hybrid key exchange where the software supports it. Each guide gives a complete configuration for the current release and the main Linux distributions (Debian, Ubuntu, RHEL, and AlmaLinux), how to verify it, and the version-specific traps found by running it. Published by Generator Labs. Each guide link below goes to its Markdown source; drop the `.md` for the HTML page. ## Web Servers & Proxies - [Web Servers & Proxies overview](https://goodtls.com/web-servers) - [Apache](https://goodtls.com/apache.md): Apache mod_ssl TLS: TLS 1.2 and 1.3, six AEAD ciphers, HSTS, session tickets off, and OCSP stapling only where it helps, tested on Debian 13 and AlmaLinux 10. - [Caddy](https://goodtls.com/caddy.md): Caddy TLS: what automatic HTTPS already covers, the HSTS header it leaves out, keeping post-quantum curves, mTLS, and on-demand TLS, tested on Caddy 2.11.9. - [Envoy](https://goodtls.com/envoy.md): Envoy TLS both ways: listener termination, upstream TLS with CA and SAN checks, mutual TLS, and post-quantum key exchange, tested on Envoy 1.40.2 and 1.39. - [HAProxy](https://goodtls.com/haproxy.md): HAProxy TLS in the global section: a TLS 1.2 minimum, six AEAD suites, HSTS on every response, backend name checks, and mTLS, tested on HAProxy 2.8 through 3.4. - [IIS](https://goodtls.com/iis.md): IIS TLS through Schannel: TLS 1.0 and 1.1 off, AEAD-only ECDHE suites from one PowerShell script, per-site HSTS, OCSP stapling, and client certificates. - [Lighttpd](https://goodtls.com/lighttpd.md): Lighttpd TLS with mod_openssl: a TLS 1.2 minimum (the default is now 1.3), six AEAD suites, HSTS, OCSP stapling, and mTLS, tested on lighttpd 1.4.85 and 1.4.79. - [Nginx](https://goodtls.com/nginx.md): nginx TLS in one file: TLS 1.2 and 1.3 only, six AEAD cipher suites, HSTS, and post-quantum key exchange, tested on Debian 13, Ubuntu 24.04, and AlmaLinux 10. - [Squid](https://goodtls.com/squid.md): Squid TLS on every port and peer: a TLS 1.2 minimum, six AEAD suites, no session tickets, SSL bumping, and mTLS, tested on Squid 7.8, 6.13, 6.14, and 5.5. - [Tomcat](https://goodtls.com/tomcat.md): Tomcat TLS for JSSE and OpenSSL connectors: TLS 1.2 and 1.3, six AEAD suites, a pinned TLS stack, HSTS, and mTLS, tested on Tomcat 11.0, 10.1, and 9.0. - [Traefik](https://goodtls.com/traefik.md): Traefik TLS in the dynamic config: TLS 1.2 and 1.3, six AEAD suites, strict SNI, HSTS, an HTTPS redirect, and mTLS option sets, tested on Traefik 3.8 and 3.7. ## Databases - [Databases overview](https://goodtls.com/databases) - [Cassandra](https://goodtls.com/cassandra.md): Cassandra TLS in cassandra.yaml: client and internode encryption, nine AEAD ciphers, IP SANs for endpoint checks, and cqlsh, tested on Cassandra 5.0.9. - [CockroachDB](https://goodtls.com/cockroachdb.md): CockroachDB TLS: secure defaults to leave alone, node and client certificates, other CAs, DB Console certificates, and rotation, tested on CockroachDB v26.4.1. - [Elasticsearch](https://goodtls.com/elasticsearch.md): Elasticsearch and Kibana TLS: replacing the auto-generated certificates, AEAD ciphers on both layers, Kibana HTTPS, and mTLS, tested on Elasticsearch 9.5.7. - [MariaDB](https://goodtls.com/mariadb.md): MariaDB TLS: your own certificate, six suites, require_secure_transport, per-user X509, replication, and Galera SST, tested on Debian 13 and Ubuntu 24.04. - [Memcached](https://goodtls.com/memcached.md): Memcached TLS with -Z: six TLS 1.2 suites to keep CBC out, client certificates with ssl_verify_mode, and the session cache bypass fixed in 1.6.46. - [MongoDB](https://goodtls.com/mongodb.md): MongoDB TLS under net.tls: requireTLS, TLS 1.0 and 1.1 off everywhere, opensslCipherConfig to drop CBC, mTLS, and x509 replica sets, tested on 9.0 and 8.0. - [MySQL](https://goodtls.com/mysql.md): MySQL TLS: your own certificate, six ECDHE AEAD suites, require_secure_transport, VERIFY_IDENTITY on clients, and per-account mTLS, tested on 8.0 to 26.10. - [Oracle](https://goodtls.com/oracle.md): Oracle Database TLS over TCPS: wallet setup, TLS settings in both sqlnet.ora and listener.ora, server name checks, and no plaintext port, tested on 26ai Free. - [PostgreSQL](https://goodtls.com/postgresql.md): PostgreSQL TLS in two files: a TLS 1.2 minimum and AEAD ciphers in postgresql.conf, hostssl in pg_hba.conf to refuse plaintext, and post-quantum key exchange. - [Redis](https://goodtls.com/redis.md): Redis TLS with no plaintext port: six AEAD suites, client certificates, and TLS for replication and cluster traffic, tested on Redis 8.12, 7.0, and Valkey 8.1. ## Message Brokers - [Message Brokers overview](https://goodtls.com/message-brokers) - [ActiveMQ](https://goodtls.com/activemq.md): ActiveMQ Classic TLS: TLS 1.2 and 1.3 only, a cipher list on every connector, mutual TLS, and an HTTPS web console, tested on ActiveMQ 6.4.0 and 5.19.12. - [Kafka](https://goodtls.com/kafka.md): Kafka TLS in server.properties: nine cipher suites with no CBC, TLS on the KRaft controller listener, and mTLS, tested on Kafka 4.4.0. - [NATS](https://goodtls.com/nats.md): NATS TLS in nats-server.conf: a cipher list in every tls block, mTLS between cluster nodes, and post-quantum key exchange by default, tested on 2.15.3. - [Mosquitto](https://goodtls.com/mosquitto.md): Mosquitto MQTT over TLS on 8883: six cipher suites, configurations for 2.0 and 2.1, no anonymous access, and mTLS, tested on Debian 13 and Ubuntu 24.04. - [RabbitMQ](https://goodtls.com/rabbitmq.md): RabbitMQ TLS for AMQP, the management UI, and clustering: TLS 1.2 and 1.3, nine cipher suites, mTLS, and post-quantum key exchange, tested on RabbitMQ 4.4. ## Mail Servers - [Mail Servers overview](https://goodtls.com/mail-servers) - [Dovecot](https://goodtls.com/dovecot.md): Dovecot IMAP and POP3 TLS: 2.3 and 2.4 setting names, AEAD ciphers, client certificates, and the COMPRESS fix, tested on Debian 13 and Ubuntu 24.04. - [Exim](https://goodtls.com/exim.md): Exim TLS for OpenSSL and GnuTLS builds: matching cipher strings, required TLS on submission ports, DANE, and Debian macros, tested on Alpine and Debian 13. - [Postfix](https://goodtls.com/postfix.md): Postfix TLS for mail in and out: a TLS 1.2 minimum, six AEAD suites, opportunistic STARTTLS that keeps mail flowing, authenticated submission, and DANE. - [Sendmail](https://goodtls.com/sendmail.md): Sendmail STARTTLS for mail in and out: a TLS 1.2 minimum, six AEAD suites, the P-256 key exchange fix, and required TLS per domain, tested on Sendmail 8.18. - [OpenSMTPD](https://goodtls.com/opensmtpd.md): OpenSMTPD TLS in smtpd.conf: STARTTLS on 25 and 587, implicit TLS on 465, a cipher list for portable builds, and mTLS, tested on Debian, Ubuntu, and AlmaLinux. ## File Transfer - [File Transfer overview](https://goodtls.com/file-transfer) - [ProFTPD](https://goodtls.com/proftpd.md): ProFTPD FTPS with mod_tls: TLS 1.2 and 1.3, six AEAD suites, TLS required on every connection, and implicit FTPS, tested on Debian 13, Ubuntu 24.04, and EPEL. - [vsftpd](https://goodtls.com/vsftpd.md): vsftpd FTPS: TLS forced on logins and data, six AEAD suites, the P-256 limit, and implicit FTPS, tested on Debian 13, Ubuntu 24.04, and AlmaLinux 10. ## Communications & VPN - [Communications & VPN overview](https://goodtls.com/communications-vpn) - [Asterisk](https://goodtls.com/asterisk.md): Asterisk PJSIP TLS: the comma-separated cipher trap, the right method setting, SRTP over TLS, mutual TLS, and chan_sip, tested on Asterisk 24, 22, and 20. - [FreeSWITCH](https://goodtls.com/freeswitch.md): FreeSWITCH TLS and SRTP: fixing weak vars.xml defaults, certificate files, TLS-only phones, trunk verification, and SRTP suites, tested on FreeSWITCH 1.11.4. - [Kamailio](https://goodtls.com/kamailio.md): Kamailio SIP over TLS: enable_tls, tls.cfg profiles with a TLS 1.2 minimum and six cipher suites, trunk SNI, and mTLS, tested on Debian 13 and AlmaLinux 10. - [OpenSSH](https://goodtls.com/openssh.md): Harden OpenSSH in one drop-in: trimmed key exchange, ciphers, and MACs, key-only login, and post-quantum key exchange, tested on Debian 13 and Ubuntu 24.04. - [OpenVPN](https://goodtls.com/openvpn.md): OpenVPN with both channels locked down: a TLS 1.2 minimum, ECDHE AEAD ciphers, tls-crypt, and AEAD data ciphers, tested on Alpine, Debian 13, and Ubuntu 24.04. - [strongSwan](https://goodtls.com/strongswan.md): strongSwan IKEv2 with swanctl: certificates on both sides, AEAD-only proposals, forward secrecy on every rekey, and ML-KEM, tested on 6.1, 6.0, and 5.9. ## Infrastructure - [Infrastructure overview](https://goodtls.com/infrastructure) - [Chrony](https://goodtls.com/chrony.md): Chrony NTS: authenticated time from public NTS servers, an NTS-KE server, key permissions, and renewals, tested on AlmaLinux 10, Debian 13, and Ubuntu 24.04. - [Docker](https://goodtls.com/docker.md): Docker daemon API TLS: client certificates, daemon.json and a systemd drop-in, the tlsverify default, and contexts, tested on Debian 13 and Ubuntu 24.04. - [Consul](https://goodtls.com/consul.md): Consul TLS in one tls stanza: mutual TLS on internal RPC and HTTPS, TLS for gRPC, HTTPS-only API, gossip encryption, and auto_encrypt, tested on Consul 2.1.0. - [etcd](https://goodtls.com/etcd.md): etcd TLS for client and peer traffic: YAML keys versus flags, client certificate auth, peer IP SANs, and AEAD ciphers, tested on etcd 3.7.4, 3.5.16, and 3.4.30. - [Grafana](https://goodtls.com/grafana.md): Grafana TLS in grafana.ini: protocol h2 for six AEAD suites, a TLS 1.2 minimum, HSTS, secure cookies, and post-quantum key exchange, tested on Grafana 13.3.2. - [NTPsec](https://goodtls.com/ntpsec.md): NTPsec NTS: nts on every server line, no unauthenticated fallback, an NTS-KE server on port 4460, and certbot renewal, tested on Debian 13 and Ubuntu 24.04. - [Node.js](https://goodtls.com/nodejs.md): Node.js TLS in createServer options: a TLS 1.2 minimum, six cipher suites that drop CBC, HSTS, mTLS, and verified outbound calls, tested on Node.js 18 to 26. - [OpenLDAP](https://goodtls.com/openldap.md): OpenLDAP slapd TLS: cipher strings for OpenSSL and GnuTLS builds, a TLS 1.2 minimum, LDAPS, and ssf=128 to require TLS, tested on Debian 13 and Ubuntu 24.04. - [Prometheus](https://goodtls.com/prometheus.md): Prometheus HTTPS through the web config file: six AEAD suites, HSTS, an HTTPS self-scrape, mTLS, and TLS scrape targets, tested on Prometheus 3.16 and 2.53. - [Vault](https://goodtls.com/vault.md): Vault listener TLS: six AEAD suites on every listener, HSTS, mTLS, and certificate reloads that don't seal Vault, tested on Debian 13 and Ubuntu 24.04. - [stunnel](https://goodtls.com/stunnel.md): stunnel in server and client mode: a TLS 1.2 minimum, six AEAD suites, post-quantum curves, mTLS, and checkHost, tested on Alpine, Debian 13, and Ubuntu 24.04. - [Keycloak](https://goodtls.com/keycloak.md): Keycloak TLS in keycloak.conf: a cipher list that keeps TLS 1.3 on, PEM certificates, mTLS with your own truststore, and per-realm HSTS, tested on 26.8.2. ## DNS - [DNS overview](https://goodtls.com/dns) - [BIND](https://goodtls.com/bind.md): BIND DNSSEC and DNS over TLS: dnssec-policy zone signing, DS records, a validating resolver, DoT, and TLS forwarding, tested on Debian 13 and Ubuntu 24.04. - [dnsdist](https://goodtls.com/dnsdist.md): dnsdist DNS over TLS and HTTPS: one cipher list on every DoT and DoH listener and TLS backend, session tickets, and OCSP stapling, tested on dnsdist 2.1.4. - [Knot Resolver](https://goodtls.com/knotresolver.md): Knot Resolver DoT and DoH: net.listen and net.tls in kresd.conf, GnuTLS overrides that drop CBC and DHE, TLS forwarding, and 6.x YAML, tested on 5.7 and 6.5.1. - [PowerDNS](https://goodtls.com/powerdns.md): PowerDNS DNSSEC and DoT: pdnsutil signing, strict Recursor validation, DoT through dnsdist, and checked upstreams, tested on Authoritative 5.1 and Recursor 5.4. - [Unbound](https://goodtls.com/unbound.md): Unbound DoT and DoH: six AEAD suites, the 1.24 TLS 1.3-only catch, DoT forwarding with certificate checks, and client setup, tested on Unbound 1.26 and 1.19. - [CoreDNS](https://goodtls.com/coredns.md): CoreDNS DNS over TLS and HTTPS: tls and https server blocks, TLS forwarding upstream, mutual TLS, Go's defaults, and the CBC fallback, tested on CoreDNS 1.15.0. ## TLS Concepts - [TLS Concepts overview](https://goodtls.com/tls-concepts) - [Post-Quantum TLS](https://goodtls.com/post-quantum-tls.md): How to deploy post-quantum hybrid key exchange (X25519MLKEM768 / ML-KEM) in TLS 1.3 across OpenSSL 3.5, nginx, HAProxy, Caddy, and Go. ## About - [About GoodTLS](https://goodtls.com/about.md): Who publishes GoodTLS, how every TLS configuration guide is tested on current releases and Linux distributions, and the baseline all the guides follow.