View Issue Details

IDProjectCategoryView StatusLast Update
0008898libmicrohttpdHTTPS (TLS)public2025-08-14 13:53
ReporterAhsanSadeeb Assigned ToChristian Grothoff  
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
Tagscertificate, example

Activities

Christian Grothoff

2025-08-14 13: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 Modified Username Field Change
2024-06-05 15:27 AhsanSadeeb New Issue
2024-06-05 15:27 AhsanSadeeb Tag Attached: beginner
2024-06-05 15:27 AhsanSadeeb Tag Attached: certificate
2024-06-05 15:27 AhsanSadeeb Tag Attached: example
2025-07-11 22:21 Christian Grothoff Tag Detached: beginner
2025-08-14 13:52 Christian Grothoff Note Added: 0025643
2025-08-14 13:53 Christian Grothoff Assigned To => Christian Grothoff
2025-08-14 13:53 Christian Grothoff Status new => resolved
2025-08-14 13:53 Christian Grothoff Resolution open => no change required
2025-08-14 13:53 Christian Grothoff Fixed in Version => 1.0.0
2025-08-14 13:53 Christian Grothoff Fixed in Version 1.0.0 => 1.0.1
2025-08-14 13:53 Christian Grothoff Target Version => 1.0.1
2025-08-14 13:53 Christian Grothoff Status resolved => closed