你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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