Improve error message when using a registry with a bad (or self-signed) SSL certificate