download web server certificate with openssl on linux

https://www.shellhacks.com/get-ssl-certificate-from-server-site-url-export-download/


openssl

echo | openssl s_client -servername 192.168.0.209 -connect 192.168.0.209:443 |\
sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > 128tconductor_certificate.crt