est.tests.clientΒΆ
Basic test EST client implementation.
AttributesΒΆ
ClassesΒΆ
EST Client representing a single EST request. |
Module ContentsΒΆ
- class est.tests.client.ESTClient(est_url, auth_type, domain=None, cert_template=None, username=None, password=None, cert_path=None, key_path=None, ca_cert_path=None, out_cert_path=None, out_key_path=None)[source]ΒΆ
EST Client representing a single EST request.
- _get_auth()[source]ΒΆ
Returns authentication parameters based on the chosen method.
- Return type:
tuple
- enroll(common_name, serial_number, save_key=True)[source]ΒΆ
Performs EST enrollment to obtain a new certificate, with an option to store the private key.
- Return type:
None
- reenroll(cert_path, key_path=None, generate_new_key=False)[source]ΒΆ
Performs EST reenrollment using an existing certificate.
- Parameters:
cert_path β Path to the existing certificate
key_path β Path to the existing private key (if using existing key)
generate_new_key β Boolean to determine if a new key should be generated
- Return type:
None