get certificate at a URL in plain text