Replies: 1 comment
|
I would not look for a hidden YAML-only cipher option first. The YAML path maps the incoming TLS fields into the same The interesting part of your diff is that the YAML result only offers ECDSA-authenticated TLS 1.2 suites: while the Lua result also offers RSA-authenticated suites: That usually means the two frontends do not have equivalent certificate/key material. In the YAML snippet you showed, there is only one certificate/key pair, and the path name suggests it is the ECDSA certificate. If the Lua configuration was effectively loading both ECDSA and RSA material, the equivalent YAML needs both pairs: binds:
- listen_address: "10.52.7.42:443"
protocol: "DoT"
reuseport: true
tcp:
fast_open_queue_size: 50
tls:
provider: "OpenSSL"
certificates:
- certificate: "/etc/ssl/live/dns.digitale-gesellschaft.ch.ecdsa/fullchain.pem"
key: "/etc/ssl/live/dns.digitale-gesellschaft.ch.ecdsa/privkey.pem"
- certificate: "/etc/ssl/live/dns.digitale-gesellschaft.ch.rsa/fullchain.pem"
key: "/etc/ssl/live/dns.digitale-gesellschaft.ch.rsa/privkey.pem"
minimum_version: "tls1.2"
prefer_server_ciphers: true
ciphers: "ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256"Do not copy that cipher string blindly; it is just the shape. Use the exact OpenSSL cipher expression from the old deployment policy. Also note that your old My suggested check would be:
If a single ECDSA certificate is intentional, then the YAML output looks more internally consistent than the old Lua output: an ECDSA-only server cannot complete RSA-authenticated TLS 1.2 suites. If this explains the Lua/YAML difference, please mark the answer as solved. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Given a deployment with
dnsdistinstalled from powerdnsaptsources on Ubuntu 26.04 LTS (resolute). The goal would be to convert from lua to yaml config without changing the behavior. Basically:before:
after:
Offered tls features are assessed in a CI pipeline using
testssl(installed from resolute repository). Interestinglydnsdistoffers not the same set of ciphers when configured usingyamlcompared when its configured usinglua:The affected PR: DigitaleGesellschaft/DNS-Resolver#7
What combination of options in the yaml config would be needed to produce the same list of ciphers as in the lua config?
All reactions