meta data for this page
  •  

General

Import SSL certificate from website

echo -n | openssl s_client -port 443 -host google.com -prexit -showcerts | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > server.cert
mv server.cert /etc/ssl/certs/hostname.com.pem
c_rehash