Using OpenSSL Behind a (Corporate) Proxy
This post's featured URL for sharing metadata is https://www.jvt.me/img/profile.jpg.
When at work, I'm behind a corporate proxy, which requires all my traffic to the outside world needing to pass through the proxy for various security reasons.
However, if I'm trying to i.e. use OpenSSL to get the public certificate for a website using the steps in my article Extracting SSL/TLS Certificate Chains Using OpenSSL, I've found that the requests I send sending are just timing out.
I found that this is because OpenSSL doesn't go via the proxy unless you explicitly tell it with an explicit
openssl s_client -showcerts -connect "jvt.me:443" -proxy proxy.example.com:8888 ...
EDIT: Thanks to this comment from Charles MERLEN, there doesn't need to be a scheme on the proxy connection above (i.e.
With that set, my connections then start to go through OK again.