X509 Class

A class with references to the certificate, key, and optional pass-phrase used to authenticate a TLS connection using x509 certificates

Initializer for X509 Certificate :param cert_file: The file path to contents of the certificate (or certificate chain)

used to authenticate the device.

Inheritance
builtins.object
X509

Constructor

X509(cert_file, key_file, pass_phrase=None)

Parameters

Name Description
key_file
Required

The file path to the key associated with the certificate

pass_phrase

(optional) The pass_phrase used to encode the key file

default value: None
cert_file
Required

Attributes

certificate_file

key_file

pass_phrase