openssl s_client -showcerts -connect proxy.fatlan.com:465 </dev/null 2>/dev/null|openssl x509 -outform PEM > downloaded_cert.pem