![]() |
|
Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
How to get a better error message from LWP::UserAgent on missing SSL certificates?by moritz (Cardinal) |
on Aug 31, 2016 at 09:45 UTC ( [id://1170854]=perlquestion: print w/replies, xml ) | Need Help?? |
moritz has asked for the wisdom of the Perl Monks concerning the following question: I just spent several hours debugging some code using LWP::UserAgent. The code could be reduced to this:
So pretty much a copy&paste from the LWP::UserAgent docs. The error message I got was:
After some debugging, strace finally showed me an ENOENT for an SSL CA file, which nudged me into the right direction. So, my questions are:
This is on a Debian Jessie box with perl 5.20.2, and LWP::UserAgent 6.06.
I'm writing a book on automating deployments and Continuous Delivery. Feedback very welcome!
Back to
Seekers of Perl Wisdom
|
|