I have gotten the same problem and now, I found out the cause for my environment.
1. https_proxy
My environment is befind a proxy, and "export https_proxy=..." seemed to be evil for vCLI.
If you are using proxy, try "unset https_proxy".
2. Perl_module version
As mentioned in http://search.cpan.org/~gaas/libwww-perl-6.04/lib/LWP/UserAgent.pm,
LWP will for secure protocol schemes ensure it connects to servers that have a valid certificate matching the expected hostname.
in newer version than libwww-perl-5.837. libwww-perl-5.837 and earlier releases have no problem.
So what I did is,
remove ~/.cpan files and reinstall libwww-perl for my env.
cpan> i /libwww-perl/
...
Hope this help you.