On Python device, automatically delete invalid certificate if status leaves the "Validated" mode
This commit is contained in:
@ -57,6 +57,7 @@ def enroll_device(csr: str):
|
||||
print(res.text)
|
||||
raise Exception(f"Enrollment failed with status {res.status_code}")
|
||||
|
||||
|
||||
def device_certificate() -> str:
|
||||
"""
|
||||
Retrieve device certificate
|
||||
|
Reference in New Issue
Block a user