I want a script checking my server's certificate. There are very good answers around here how to get this with openssl s_client or gnutls-cli, which works fine.... but NOT if you are behind a proxy! Doh!
I did not found a possibility to tell these tools to use a proxy. Openssl seems to have added the -proxy option some weeks ago (after 15 years!) but I cannot use this release because it's not yet available in my environment.
I also cannot install some fancy non standard tunneling software like proxytunnel (which I would really like to).
So is there ANY way to download a remote certificate from a web server with any standard tool like curl, wget, openssl or such?