Subject: | certificate verify failed |
The test suite fails on most systems, see http://matrix.cpantesters.org/?dist=WWW-Amazon-Wishlist%202.012
Looking into the issue it seems to be a cert verification problem:
----
$ /opt/perl-5.20.3/bin/lwp-request -eS 'https://www.amazon.co.uk/gp/registry/wishlist/ref=cm_wl_search_1?page=1&cid=A1NU8UVEIOGXZ'|&less
GET https://www.amazon.co.uk/gp/registry/wishlist/ref=cm_wl_search_1?page=1&cid=A1NU8UVEIOGXZ
500 Can't connect to www.amazon.co.uk:443 (certificate verify failed)
Content-Type: text/plain
Client-Date: Wed, 23 Sep 2015 20:02:33 GMT
Client-Warning: Internal response
Can't connect to www.amazon.co.uk:443 (certificate verify failed)
LWP::Protocol::https::Socket: SSL connect attempt failed error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed at /opt/perl-5.20.3/lib/site_perl/5.20.3/LWP/Protocol/http.pm line 47.
----
This looks like a variation of the problem described in https://github.com/gisle/mozilla-ca/pull/5
In fact, if I downgrade to Mozilla-CA-20130114, then tests pass.