Copy-Paste Fix-It-Konfigurationen
Nginx + OpenSSL 3.5+
Aktiviere RFC 10024 X25519MLKEM768 an erster Stelle bei vollem Fallback für ältere Clients.
# Requires OpenSSL 3.5+ (check: nginx -V && openssl version)
ssl_protocols TLSv1.3;
ssl_ecdh_curve X25519MLKEM768:X25519:prime256v1:secp384r1;
ssl_prefer_server_ciphers off;
Caddy (Go 1.24+)
Caddy ab Go 1.24+ handelt X25519MLKEM768 automatisch aus, solange keine alten Kurven-Overrides gesetzt sind.
# Caddyfile — remove custom 'curves' overrides to keep Go's PQC defaults!
example.com {
tls {
protocols tls1.3
}
reverse_proxy 127.0.0.1:8080
}
# Ensure GODEBUG=tlsmlkem=0 is NOT set in your environment.
Cloudflare Edge + Origin
Aktiviere Post-Quantum TLS am Edge UND rüste deinen Origin-Server auf, um die CDN-Lücke zu schließen.
# Cloudflare Dashboard -> SSL/TLS -> Edge Certificates:
# Enable "Post-Quantum Cryptography" (X25519MLKEM768)
# Plus set SSL Mode = "Full (Strict)" and enable ML-KEM on your origin reverse proxy.
Post-Quantum Edge TLS mit 1 Klick aktivieren? Mehr erfahren →
Go 1.24+ / 1.26 crypto/tls
Go 1.24+ aktiviert X25519MLKEM768 standardmäßig; Go 1.26 unterstützt zudem SecP256r1MLKEM768 & SecP384r1MLKEM1024.
tlsCfg := &tls.Config{
MinVersion: tls.VersionTLS13,
// Leave CurvePreferences nil for default X25519MLKEM768, or specify:
CurvePreferences: []tls.CurveID{
tls.X25519MLKEM768,
tls.SecP384r1MLKEM1024,
tls.X25519,
},
}
OpenSSH 9.9 / 10.0+
Priorisiere NIST FIPS 203 mlkem768x25519-sha256 in /etc/ssh/sshd_config.
# /etc/ssh/sshd_config (OpenSSH 9.9+ / 10.0+)
KexAlgorithms mlkem768x25519-sha256,[email protected],curve25519-sha256
Ciphers [email protected],[email protected]
# Test before reload: sshd -t && systemctl reload sshd
Postfix SMTP STARTTLS + MTA-STS
Aktualisiere Postfix auf OpenSSL 3.5+ mit TLS 1.3 und publiziere eine erzwingende MTA-STS-Policy.
# /etc/postfix/main.cf (with OpenSSL 3.5+)
smtpd_tls_protocols = >=TLSv1.2
smtpd_tls_mandatory_protocols = >=TLSv1.2
tls_ssl_options = NO_COMPRESSION
# Publish DNS TXT: _mta-sts.example.com "v=STSv1; id=20261205"
# Host https://mta-sts.example.com/.well-known/mta-sts.txt with "mode: enforce"