On this page
  1. ssl.CertificateError
  2. Import
  3. Signature & Overview
  4. Methods & Attributes
  5. Usage
  6. Gotchas
  7. REPL Inspect

ssl.CertificateError

Prev: ssl.cert_time_to_seconds | Up: ssl | Next: ssl.create_connection
Rel: ssl.AlertDescription, ssl.cert_time_to_seconds, ssl.create_connection, ssl.create_default_context
Ref: docs.python.org โ€” ssl.CertificateError
Tags: #public #python3 #stdlib #ssl


Import

import ssl
from ssl import CertificateError

Signature & Overview

ssl.CertificateError(...)

A certificate could not be verified.

Methods & Attributes

Usage

import ssl

assert issubclass(ssl.CertificateError, ssl.SSLError)

Gotchas

REPL Inspect

from ssl import CertificateError
help(CertificateError)

Linked from

Related notes