]> git.proxmox.com Git - pve-manager.git/commitdiff
Enable TLS 1.1 and 1.2, change default DH params
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Tue, 26 Jan 2016 14:09:11 +0000 (15:09 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Tue, 26 Jan 2016 15:42:53 +0000 (16:42 +0100)
AnyEvent uses a built-in DH group defined as 'schmorp1539'
by default, which seems to trigger the bug in [1] for every
attempt of accessing the web GUI using IE11 and TLS1.2. By
switching to a bigger default DH group ('skip2048'), the
bug seems to be gone (or trigger sufficiently rarely).

1: http://engineering.imvu.com/2015/01/27/the-case-of-the-page-cant-be-displayed-intermittent-selenium-test/
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
PVE/Service/pveproxy.pm

index 5be7488c6bdd90a3b6717df37f68c65c07f20508..22812e7b01c637354c905a8de4d32e3d4f37f243 100755 (executable)
@@ -108,12 +108,13 @@ sub init {
        ssl => {
            # Note: older versions are considered insecure, for example
            # search for "Poodle"-Attac
-           method => 'tlsv1',
+           method => 'any',
            sslv2 => 0,
            sslv3 => 0,
            cipher_list => $proxyconf->{CIPHERS} || 'HIGH:MEDIUM:!aNULL:!MD5',
            key_file => '/etc/pve/local/pve-ssl.key',
            cert_file => '/etc/pve/local/pve-ssl.pem',
+           dh => 'skip2048',
        },
        # Note: there is no authentication for those pages and dirs!
        pages => {