Don't ask to ask, just ask | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
I have the usual headache when trying to send an email from Perl which requires TLS. I'm running Strawberry Perl on a Windows7 machine, and I'm running code that works on other Windows PCs (in the past), so it is basically a configuration issue rather than basic coding, but it is an issue I see happening to other guys quite a bit. I recall in the past I always had problems getting this to run on those PCs also. The code is basically:
So the accounts and passwords are correct, as that works on another machine in the company. The initial error I got was: invalid SSL_version specified at C:/strawberry/perl/vendor/lib/IO/Socket/SSL.pm line 418 But I applied the following workaround to C:\strawberry\perl\vendor\lib\Crypt\SSLeay\SSL.pm line 1602:
That now seems to work, but I get the following error further down the line: Couldn't start TLS: SSL connect attempt failed with unknown error error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed I also tried updating Crypt::SSLeay in case it was old:
But that made no difference, has anyone got any ideas ? In reply to Couldn't start TLS: SSL connect attempt failed with unknown error error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed by rich101v2
|
|