PyDocs

Nav

Networking and Interprocess Communication

SSLContext.load_cert_chain

ssl

method of SSLContextnot WASI
  • SSLContext.load_cert_chain(certfile, keyfile=None, password=None)
Load a private key and the corresponding certificate. The certfile string must be the path to a single file in PEM format containing the certificate as well as any number of CA certificates needed to establish the certificate’s authenticity. The keyfile string, if present, must point to a file containing the private key. Otherwise the private key will be taken from certfile as well. See the discussion of Certificates for more information on how the certificate is stored in the certfile.
Changed in 3.3
  • 3.3: New optional argument password.
0 Examples
No examples for ssl/SSLContext.load_cert_chain.
See Also
No see-alsos for ssl/SSLContext.load_cert_chain
0 Notes
No notes for SSLContext.load_cert_chain