ACME not using configured http proxy

h-k

New Member
Nov 20, 2021
1
0
1
It seems like ACME is not using the globally configured http proxy when doing requests. If I try to add an account in the PVE GUI I get
Code:
Error: GET to https://acme-v02.api.letsencrypt.org/directory Can't connect to acme-v02.api.letsencrypt.org:443 (Network is unreachable) Network is unreachable at /usr/share/perl5/LWP/Protocol/http.pm line 50. (500)

I can register an account via the CLI if i provide the "https_proxy" environment variable ("http_proxy" does not work) but as this need to work automatically on renewals this is not feasible in the long run.
Code:
https_proxy="http://proxy.example.com:3128" pvenode acme account register letsencrypt admin@example.com
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!