|go ahead... be a heretic|
"certificate verify failed" error while trying to connect to https:// site using use WWW::Mechanizeby sam_bakki (Monk)
|on Jul 17, 2011 at 13:20 UTC||Need Help??|
sam_bakki has asked for the
wisdom of the Perl Monks concerning the following question:
I am trying to connect to https web site (actually it is collabnet site, we have project tracker in it) and trying to download some content.
Since it is password protected page, I used WWW::Mechanize module. (Activeperl 5.14, x64, windows 7). I do have Crypt::SSLeay comes with ActivePerl 5.14
When I tried to get the content from web site using below code, I get Error GETing https://www.collabnet.com/: Can't connect to www.collabnet.com:443 (certificate verify failed) Error
What I know is, I need to set HTTPS_CA_DIR path but i do not know where should I point this in windows os. This https://www.collabnet.com/ is perfectly working using internet explorer.
Here is my code, Please help me to solve this problem. Thanks in Advance
UPDATE: Solved :)
Learning: Need to read LWP doc properly