Skip Menu |

This queue is for tickets about the Net-Nessus-XMLRPC CPAN distribution.

Report information
The Basics
Id: 75612
Status: new
Priority: 0/
Queue: Net-Nessus-XMLRPC

People
Owner: Nobody in particular
Requestors: martin [...] mailbeschleuniger.de
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Nessus-Login, LWP::UserAgent and the CA-file
Date: Wed, 07 Mar 2012 23:27:13 +0100
To: bug-Net-Nessus-XMLRPC [...] rt.cpan.org
From: Martin Schobert <martin [...] mailbeschleuniger.de>
Hello, I encountered a problem with connecting in to a Nessus backend, Maybe something changed in Nessus or LWP::UserAgent. However, I traced the problem and detected, that LWP::UserAgent fails to connect, because it does not know the server's certificate. Obviously, that makes sense. I fixed it, by obtaining the servers certificate using openssl s_client -host 127.0.0.1 -showcerts -port 8834 extracted both certs and wrote them to a file 'ca'. By setting the environment variable $ENV{HTTPS_CA_FILE} = 'ca'; it was possible to connect to the Nessus server. Maybe you might want to document this or add a further optional parameter to the new() and login() functions in Net::Nessus::XMLRPC to specify a CA file. Regards, Martin
Download signature.asc
application/pgp-signature 900b

Message body not shown because it is not plain text.