retrieve-cert.sh script - fetch SSL certificate from remote server.