Allow WebGUI::Cache and all consumers to fetch SSL URLs, but not verify the certificates.

This commit is contained in:
colin 2017-07-19 20:06:46 -07:00
parent 2a139743de
commit 7adee00e9b
2 changed files with 2 additions and 1 deletions

View file

@ -1,5 +1,6 @@
7.10.31
- fixed: Warnings about API changes in POE::Component::IKC::ClientLite
- fixed: Allow WebGUI::Cache and all consumers to fetch SSL URLs, but not verify the certificates.
7.10.30
- fixed: Do not generate the Not Found page when JS or CSS is requested. In admin mode, this is bypassed so that admins can see which pages are really missing and can easily add them.

View file

@ -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);