From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id E30437DD72 for ; Tue, 9 Nov 2021 17:20:53 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id C321C106CB for ; Tue, 9 Nov 2021 17:20:23 +0100 (CET) Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com [94.136.29.106]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS id F3DC6105FA for ; Tue, 9 Nov 2021 17:20:21 +0100 (CET) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id C0F7246064 for ; Tue, 9 Nov 2021 17:20:21 +0100 (CET) From: Stoiko Ivanov To: pmg-devel@lists.proxmox.com Date: Tue, 9 Nov 2021 17:20:01 +0100 Message-Id: <20211109162009.3186-1-s.ivanov@proxmox.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 0 AWL 0.371 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [dnschallenge.pm, acme.sh, client.rs, certificates.pm, acme.rs, acme.pm] Subject: [pmg-devel] [PATCH pmg-api/proxmox-acme/various] acme: add support for http_proxy X-BeenThere: pmg-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox Mail Gateway development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Nov 2021 16:20:53 -0000 this series resulted from a fix for #3536 (for PVE), which I then extended to cover all products (and their respective acme implementations) sending as 3 separate series (with common patches in each series) to hopefully make reviewing this easier. the individual patches are mostly short and hopefully self-explaining Tested on my setup with a publicly exposed powerdns-plugin and let's encrypt (mostly staging) proxmox-acme: Stoiko Ivanov (2): add support for proxies dns-challenge: add 'use-proxy' property src/PVE/ACME.pm | 6 ++++++ src/PVE/ACME/DNSChallenge.pm | 10 +++++++++- 2 files changed, 15 insertions(+), 1 deletion(-) proxmox-acme-rs: Stoiko Ivanov (1): client: add support for proxies src/client.rs | 15 +++++++++++++++ 1 file changed, 15 insertions(+) pmg-rs: Stoiko Ivanov (2): add support for set_proxy update to perlmod 0.8 Cargo.toml | 2 +- src/acme.rs | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) proxmox-widget-toolkit Stoiko Ivanov (1): acmeplugin: add use-proxy checkbox src/window/ACMEPluginEdit.js | 8 ++++++++ 1 file changed, 8 insertions(+) pmg-api: Stoiko Ivanov (2): api: acme: set http_proxy if configured in pmg.conf api: acme: dns-plugin: conditionally pass proxy to acme.sh wrapper src/PMG/API2/ACME.pm | 21 +++++++++++++++++++++ src/PMG/API2/Certificates.pm | 20 ++++++++++++++++++++ 2 files changed, 41 insertions(+) -- 2.30.2