Re: [pve-devel] [PATCH v2 20/22] auto-installer: fetch: add http post utility module

2024-02-21 Thread Christoph Heiss
On Wed, Feb 21, 2024 at 12:08:03PM +0100, Aaron Lauterer wrote: > It sends a http(s) POST request with the sysinfo as payload and expects > an answer file in return. > [..] > diff --git a/proxmox-auto-installer/src/fetch_plugins/utils/post.rs > b/proxmox-auto-installer/src/fetch_plugins/utils/post

[pve-devel] [PATCH v2 20/22] auto-installer: fetch: add http post utility module

2024-02-21 Thread Aaron Lauterer
It sends a http(s) POST request with the sysinfo as payload and expects an answer file in return. In order to handle non FQDN URLs (e.g. IP addresses) and self signed certificates, it can optionally take an SHA256 fingerprint of the certificate. This can of course also be used to pin a certificate