Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

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

by noxxi (Pilgrim)
on Nov 21, 2014 at 20:34 UTC ( #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(''...
> ...
> ...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?

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2023-09-22 08:13 GMT
Find Nodes?
    Voting Booth?

    No recent polls found