Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: Net::SMTP::SSL connect failure

by noxxi (Pilgrim)
on Nov 21, 2014 at 20:34 UTC ( [id://1108050]=note: print w/replies, xml ) Need Help??


in reply to Re: Net::SMTP::SSL connect failure
in thread Net::SMTP::SSL connect failure

> I suspect this has to do with an invalid certification because my test program works fine for sending to gmail.
> ...
> my $s = Net::SMTP::SSL->new('192.168.100.1'...
> ...
> ...SSL3_GET_SERVER_CERTIFICATE:certificate verify failed

I guess your certificate is not signed by any of the trusted CAs on the system. Thus the verification will fail, because there is not trust anchor. In old times (before 1.950, released 07/2013) the default was to not verify the certificate which is of course a bad idea for a default when doing security relevant stuff.

Replies are listed 'Best First'.
Re^3: Net::SMTP::SSL connect failure
by linxdev (Sexton) on Nov 23, 2014 at 16:45 UTC
    Yep, I changed that code. These devices run on LANs with multiple interfaces.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1108050]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2024-04-24 08:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found