mirror of
https://git.proxmox.com/git/proxmox-acme
synced 2025-04-28 12:16:51 +00:00
add support for proxies
by setting the proxy for the LWP::UserAgent Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
This commit is contained in:
parent
bec914932c
commit
621046b21d
@ -113,6 +113,12 @@ sub new($$$) {
|
||||
return bless $self, $class;
|
||||
}
|
||||
|
||||
sub set_proxy($$) {
|
||||
my ($self, $proxy) = @_;
|
||||
|
||||
$self->{ua}->proxy('https', $proxy);
|
||||
}
|
||||
|
||||
# RS256: PKCS#1 padding, no OAEP, SHA256
|
||||
my $configure_key = sub {
|
||||
my ($key) = @_;
|
||||
|
Loading…
Reference in New Issue
Block a user