Like CertificateInvalidError and HostnameError, it would be useful to expose the Certificate in UnknownAuthorityError as this provides important information for TLS/X509 testing tools.
This would also present a slightly more consistent API for the various X509 validation errors.
Like
CertificateInvalidErrorandHostnameError, it would be useful to expose theCertificateinUnknownAuthorityErroras this provides important information for TLS/X509 testing tools.This would also present a slightly more consistent API for the various X509 validation errors.