|Subject:||Ease the https upgrade from LWP 5 to 6|
I upgraded all my CPAN modules recently and started getting a mysterious "Can't verify SSL peers without knowning which Certificate Authorities to trust" error from Metabase::Client::Simple.I've tracked it down to that it appears LWP now seems to require Mozilla::CA to do https. Somehow the explanatory text got swallowed and I just saw the first line. I'm concerned that if you have a working LWP 5 setup with all the necessary modules for https, but not Mozilla::CA, that an upgrade to LWP 6 will break https. The error message is informative, but it still means an upgrade breaks stuff which can cause an outage. Is there any way to ease that transition? Can the Makefile.PL do some heuristics to see if A) you have LWP 5 installed and B) https works, maybe even just check for Crypt::SSLeay? If both are true, maybe it automatically installs the new https support modules.