Allow WebGUI::Cache and all consumers to fetch SSL URLs, but not verify the certificates.
This commit is contained in:
parent
c75ef5e044
commit
d760289918
2 changed files with 2 additions and 1 deletions
|
|
@ -230,7 +230,7 @@ sub setByHTTP {
|
|||
my $self = shift;
|
||||
my $url = shift;
|
||||
my $ttl = shift;
|
||||
my $userAgent = LWP::UserAgent->new();
|
||||
my $userAgent = LWP::UserAgent->new(ssl_opts => { verify_hostname => 0, }, );
|
||||
$userAgent->env_proxy;
|
||||
$userAgent->agent("WebGUI/".$WebGUI::VERSION);
|
||||
$userAgent->timeout(30);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue