Update the certificate using https