]> git.proxmox.com Git - pve-http-server.git/commit
fix #4859: properly configure TLSv1.3 only mode
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Wed, 19 Jul 2023 09:15:55 +0000 (11:15 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 20 Jul 2023 10:42:58 +0000 (12:42 +0200)
commit365c5d1d4835631a61fbad05a86ee8ce9489aa1f
tree7f93e41a2b06677813bb30089c024efd8efe3b40
parent6b09edd884e6d66dce153ccb2a33c8aab1436b29
fix #4859: properly configure TLSv1.3 only mode

set_min/max_proto_version is recommended upstream nowadays, and it seems to be
required for some reason if *only* TLS v1.3 is supposed to be enabled.

querying via get_options gives us the union of
- system-wide openssl defaults
- our internal SSL defaults
- flags configured by the user via /etc/default/pveproxy

note that by default only 1.2 and 1.3 are enabled in the first place, so
disabling either leaves a single version being set as min and max.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
src/PVE/APIServer/AnyEvent.pm