View Issue Details

IDProjectCategoryView StatusLast Update
0008898libmicrohttpdHTTPS (TLS)public2026-01-25 14:13
ReporterAhsanSadeeb Assigned ToChristian Grothoff Due Date
PrioritynormalSeverityfeatureReproducibilityN/A
Status closedResolutionno change required 
Product Version1.0.0 
Target Version1.0.1Fixed in Version1.0.1 
Summary0008898: Reloading TLS/SSL certificates without downtime
DescriptionI was wondering if microhttpd supports hot reload of certificates so I can implement auto-renewal of certificates once the server is running. From what I see we need to provide certificates while starting the mhd daemon. Couldn't find anything regarding changing the certificates while server is running (maybe I missed something). If it is possible can I get some documentation or better yet example? If
TagsNo tags attached.

Activities

Christian Grothoff

2025-08-14 11:52

manager   ~0025643

You could use MHD_quiesce_daemon() and pass the listen socket to a new daemon with the new certificates. Then stop the old daemon once its connection count drops to 0.

Issue History

Date ModifiedUsernameFieldChange
2024-06-05 13:27AhsanSadeebNew Issue
2024-06-05 13:27AhsanSadeebTag Attached: beginner
2024-06-05 13:27AhsanSadeebTag Attached: certificate
2024-06-05 13:27AhsanSadeebTag Attached: example
2025-07-11 20:21Christian GrothoffTag Detached: beginner
2025-08-14 11:52Christian GrothoffNote Added: 0025643
2025-08-14 11:53Christian GrothoffAssigned To => Christian Grothoff
2025-08-14 11:53Christian GrothoffStatusnew => resolved
2025-08-14 11:53Christian GrothoffResolutionopen => no change required
2025-08-14 11:53Christian GrothoffFixed in Version => 1.0.0
2025-08-14 11:53Christian GrothoffFixed in Version1.0.0 => 1.0.1
2025-08-14 11:53Christian GrothoffTarget Version => 1.0.1
2025-08-14 11:53Christian GrothoffStatusresolved => closed
2026-01-25 14:08Christian GrothoffTag Detached: example
2026-01-25 14:13Christian GrothoffTag Detached: certificate