in reply to Cannot disable SSL certificate checking when using VPN
<TITLE>Untrusted SSL Server Certificate</TITLE>
LWP::UserAgent does not return HTML content in its error cases, so your (employers) VPN creates that HTML.
Maybe if your code behaves more like Curl, it will be let through? Have you tried to set the appropriate HTTP headers? Especially setting the User-Agent header to something like curl/7.55.1 might already be enough.
Compare what curl sends with what LWP::UserAgent sends, maybe through LWP::ConsoleLogger.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Cannot disable SSL certificate checking when using VPN
by alain_desilets (Beadle) on Jan 09, 2019 at 20:16 UTC |