Skip to content

Commit 3e7aa52

Browse files
committed
Refactor certificate management in certy.go
- Introduced helper functions for file path management, JSON reading/writing, and directory creation. - Updated the `IssueCert` method to handle errors more gracefully and ensure proper account key management. - Improved challenge token retrieval and error handling in the HTTP handler. - Streamlined the certificate issuance process with better error reporting and state management. This refactor enhances code readability and maintainability while ensuring robust error handling throughout the certificate management workflow.
1 parent 7c600b7 commit 3e7aa52

File tree

1 file changed

+195
-178
lines changed

1 file changed

+195
-178
lines changed

0 commit comments

Comments
 (0)