We don't bite newbies here... much | |
PerlMonks |
IO::Socket::SSL with http proxy tunnel?by lembark (Novice) |
on Jun 15, 2022 at 19:13 UTC ( [id://11144778]=perlquestion: print w/replies, xml ) | Need Help?? |
lembark has asked for the wisdom of the Perl Monks concerning the following question:
Trying to access a service behind a firewall that uses http proxies.
Q: Anyone have experience, or reference to a working example, of using IO::Socket::* to connect with this soft of a HTTP->HTTPS tunnel proxy? thank you
IO-Socket-SSL-2.074.tar.gz Looking at the tunnel portion I've tried several approaches shown in IO::Socket::SSL: Under "Talk Plain and SSL With The Same Socket" Alternatives are turning a stock INET socket into an SSL: Or starting the connection without SSL and going from there: Both of these get me "connection reset by peer", maybe because the HTTP portion of the connection doesn't like the switchover to SSL. Leaves me with a sigpipe.
Back to
Seekers of Perl Wisdom
|
|