Check & print remote certificate openssl s_client -connect <hostname>:<port> -showcerts
openssl s_client -connect <hostname>:<port> -showcerts