1
2
Fork
You've already forked auto-encrypt
3

Regression: certificate checkForRenewal() crash on second start of server, prior to first https hit #22

Closed
opened 2025年12月31日 14:04:36 +01:00 by aral · 0 comments
Owner
Copy link

Introduced in commit 1c7f2b5, with the addition of ARI support, the checkForRenewal method now references AcmeRequest.directory... prior to the static initialisation of the AcmeRequest class, thereby causing a crash.

AcmeRequest is initialised currently at first https hit when the SNICallback of the https server gets invoked and asks to get/create the secure context.

Last functional state is in the current release version (see commit 96a3ad1).

Introduced in commit 1c7f2b5, with the addition of ARI support, the `checkForRenewal` method now references `AcmeRequest.directory...` prior to the static initialisation of the `AcmeRequest` class, thereby causing a crash. `AcmeRequest` is initialised currently at first https hit when the `SNICallback` of the https server gets invoked and asks to get/create the secure context. Last functional state is in the current release version (see commit 96a3ad1).
Sign in to join this conversation.
No Branch/Tag specified
main
ip-address-support
ari-fix
jose-1.28.2-to-6.1.3-upgrade
ARI
2.x
5.1.0
5.0.1
5.0.0
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
small-tech/auto-encrypt#22
Reference in a new issue
small-tech/auto-encrypt
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?