Merge branch 'ent-12310-no-funciona-log_agent-en-alertas-de-log' into 'develop'

Make LWP use IO::Socket::SSL instead of Net::SSL.

See merge request artica/pandorafms!6616
This commit is contained in:
Daniel Rodriguez 2023-11-06 15:54:43 +00:00
commit e498c36e7c
1 changed files with 0 additions and 6 deletions

View File

@ -2735,12 +2735,6 @@ sub get_user_agent {
# Disable verify host certificate (only needed for self-signed cert)
$ua->ssl_opts( 'verify_hostname' => 0 );
$ua->ssl_opts( 'SSL_verify_mode' => 0x00 );
# Disable library extra checks
BEGIN {
$ENV{PERL_NET_HTTPS_SSL_SOCKET_CLASS} = "Net::SSL";
$ENV{PERL_LWP_SSL_VERIFY_HOSTNAME} = 0;
}
}
};
if($@) {