Skip to content

Master cert rotation#23

Open
sw-ms-ankitsangani wants to merge 3 commits intomaster-std-21-patchfrom
master-cert-rotation
Open

Master cert rotation#23
sw-ms-ankitsangani wants to merge 3 commits intomaster-std-21-patchfrom
master-cert-rotation

Conversation

@sw-ms-ankitsangani
Copy link
Copy Markdown
Collaborator

No description provided.

Implements automatic X.509 certificate renewal for IoTConnect Python SDK v2.1. Adds certificate expiry detection, auth challenge, and ACK methods to IoTConnectSDK.py, DER Hex to PEM conversion utilities to util.py, and a firmware callback for certificate rotation in the sample. The implementation is backward compatible and includes error handling and logging for all certificate rotation scenarios.
Refactored IoTConnectSDK to store pending certificate rotation data until the MQTT client is ready, ensuring proper callback execution. Enhanced certificate ACK logic to only send acknowledgments on successful installation. Updated sample firmware to improve certificate conversion, file handling, and output formatting with ANSI colors. Util.py now saves PEM files with explicit encoding and newline handling.
Corrected indentation and comma placement in the SdkOptions dictionary to improve code readability and prevent potential syntax issues.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant