7.2.2.2. Module axivion.dashboard.certificate_verification¶
Configuration of the client’s verification of the server certificate (chain)
Classes¶
|
Strictness of the client when verifying the server's X.509 TLS/SSL certificate (chain). |
CertificateVerification¶
- class axivion.dashboard.certificate_verification.CertificateVerification(*values)¶
Bases:
EnumStrictness of the client when verifying the server’s X.509 TLS/SSL certificate (chain).
In the LAX and DEFAULT modes the certificate is verified against the OS trust store, or, if
REQUESTS_CA_BUNDLEis set, only against that bundle.LAX and DEFAULT differ only in
ssl.VERIFY_X509_STRICT, which affects only the OpenSSL-based verification (the OS trust store on Linux, and custom CA bundles on every platform); the Windows and macOS system verifiers apply their own policies instead.- NO = 1¶
Don’t verify at all
- LAX = 2¶
Disable ssl.VERIFY_X509_STRICT
- DEFAULT = 3¶
Enable ssl.VERIFY_X509_STRICT, regardless of the Python version’s default.
Strict mode makes OpenSSL enforce RFC 5280 rules that bind the issuing CA rather than the verifying client – e.g. that basicConstraints of a CA certificate is marked critical. Certificates from well-run CAs pass these checks; hand-crafted or self-signed ones often don’t, which is what LAX is for.