in reply to Re: "certificate verify failed" error while trying to connect to https:// site using use WWW::Mechanize
in thread "certificate verify failed" error while trying to connect to https:// site using use WWW::Mechanize
Hi rkrieger
I have exported the certificate (in my case it is COMODOHigh-AssuranceSecureServerCA ) from internet explorer to a directory as a .cer file.
After that I set
$ENV{HTTPS_CA_DIR} = 'C:\temp\cert'; $ENV{HTTPS_DEBUG} = 1; $ENV{HTTP_DEBUG} = 1;
but still it is not working , I get the same Error GETing https://www.collabnet.nxp.com/sf/sfmain/do/home: Can't connect to www.collabnet.nxp.com:443 (certificate verify failed) error
Thanks
In Section
Seekers of Perl Wisdom