http://qs1969.pair.com?node_id=1108050


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.