Project

General

Profile

Actions

Bug #6843

closed

Bug #6831: Use HTTP for inventory handling on AIX to prevent minicurl errors

minicurl on AIX tries to use a function that is not defined due to OpenSSL absence

Added by Matthieu CERDA almost 9 years ago. Updated almost 9 years ago.

Status:
Released
Priority:
1
Category:
System techniques
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

This:

$ua->ssl_opts( verify_hostname => 0, SSL_verify_mode => 0

Won't work on AIX (no ssl support in perl)

We should instead do:

if ( LWP::UserAgent->can("ssl_opts") ) { $ua->ssl_opts( verify_hostname => 0, SSL_verify_mode => 0 ); }

Actions

Also available in: Atom PDF