Skip to content

Conversation

@cjwalsh
Copy link
Contributor

@cjwalsh cjwalsh commented Feb 21, 2024

Fix for empty error objects in the response which mess up the extraction of domain validation types due to the closing brace in the error object prematurely matching the end of the search pattern.

This seems to be a recent change with ZeroSSL in particular where "error":{} is being included in responses.

There could potentially be a related issue if there is a complex error object ever returned in the validation check response where an embedded sub-object could lead to an incomplete extraction of the error message, roughly around line 5040.

Adapted from fix suggested here: #4933 (comment)

… validation types

Fix for empty error objects in the response which mess up the extraction of domain validation types due to the closing brace in the error object prematurely matching the end of the search pattern.

This seems to be a recent change with ZeroSSL in particular where "error":{} is being included in responses.

There could potentially be a related issue if there is a complex error object ever returned in the validation check response where an embedded sub-object could lead to an incomplete extraction of the error message, roughly around line 5040.

Adapted from fix suggested here: acmesh-official#4933 (comment)
@cjwalsh
Copy link
Contributor Author

cjwalsh commented Feb 21, 2024

FYI I have validated this fix and have successfully generated a new cert with ZeroSSL, where previously it was failing due to the "error":{} in the response.

@cjwalsh
Copy link
Contributor Author

cjwalsh commented Aug 3, 2025

@Neilpang any change this fix could get merged? I have to keep manually applying this change in my setup.

@Neilpang Neilpang merged commit ec5ecab into acmesh-official:dev Aug 6, 2025
36 of 37 checks passed
@cjwalsh cjwalsh deleted the patch-1 branch August 6, 2025 15:50
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.

2 participants