mirror of
https://git.proxmox.com/git/proxmox-acme
synced 2025-10-04 19:21:53 +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;
|
return bless $self, $class;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sub set_proxy($$) {
|
||||||
|
my ($self, $proxy) = @_;
|
||||||
|
|
||||||
|
$self->{ua}->proxy('https', $proxy);
|
||||||
|
}
|
||||||
|
|
||||||
# RS256: PKCS#1 padding, no OAEP, SHA256
|
# RS256: PKCS#1 padding, no OAEP, SHA256
|
||||||
my $configure_key = sub {
|
my $configure_key = sub {
|
||||||
my ($key) = @_;
|
my ($key) = @_;
|
||||||
|
Loading…
Reference in New Issue
Block a user