]> git.proxmox.com Git - pve-manager-legacy.git/commit
enable certificate pinning for proxied requests
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Thu, 17 Nov 2016 10:36:32 +0000 (11:36 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 17 Nov 2016 14:55:17 +0000 (15:55 +0100)
commit333dd203d5e07d9d3e20d3674a2e3ff2fc89fa8c
tree09965d515675b7181f99413d838e3098be347d17
parentb92cdcc9d3e530a1802f99afc7ac219e2c88536b
enable certificate pinning for proxied requests

when forwarding an API request to the responsible node,
only accept the certificate that this node should have
according to the contents of the cluster file system.

to limit performance issues, cache certificate fingerprint
on first request for each node, and only regenerate cache
(at most once per minute) if the actual encountered
fingerprint does not match or every 30 minutes (to clear out
old entries).
PVE/HTTPServer.pm