check_wmi_plus is a Perl based Windows monitoring tool. For monitoring, it has to communicate through WMIC server (a web application).
When the WMIC server is hosted over HTTP its works fine..., but not on HTTPS
In the check_wmi_plus.conf, there is an option to enter wmic_url
, entered the configuration as below, but its not working
$wmic_server_uri='https://192.168.59.90/wmic';
In the check_wmi_plus.conf file I could not see an option to provide the SSL certificate path..
From the code I could see that it uses the Perl LWP
module,
my $req = HTTP::Request->new( 'POST', $wmic_server_uri );
$req->header( 'Content-Type' => 'application/json' );^M
$req->content( $json );
my $ua = new LWP::UserAgent;
my $res = $ua->request($req);
Which is the default certificate location Perl LWP
module refer for SSL certificate?