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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Python