How to get a remote server SSL certificate15 June 2021openssl s_client -connect {HOSTNAME}:{PORT} -showcerts