Obtain public key for google.de
openssl s_client -connect google.de:443 | openssl x509 -pubkey -noout
Obtain certificate for google.de
openssl s_client -connect google.de:443 | openssl x509
Obtain certificate for google.de and store to google.crt
openssl s_client -connect autostadt.vwg:636 | openssl x509 -out google.crt