r/linuxadmin • u/Haunting_Meal296 • Oct 27 '25
Need advise to decide https certificate approach
Hi, we are working on an embedded linux project that hosts a local web dashboard through Nginx. The web UI let the user configure hardware parameters (it’s not public-facing), usually accessed via local IP.
We’ve just added HTTPS support and now need to decide how to handle certificates long-term.
A) Pre-generate one self-signed cert and include it in the rootfs
B) Dynamically generate a self-signed cert on each build
C) Use a trusted CA e.g. Let’s Encrypt or a commercial/internal CA.
We push software updates every few weeks.. The main goal is to make HTTPS stable and future-proof, the main reason is that later we’ll add login/auth and maybe integrate cloud services (Onedrive, Samba, etc.)
For this kind of semi-offline embedded product, what is considered best practice for HTTPS certificate management? Thank you for your help
View all comments
Show parent comment
2
u/Haunting_Meal296 Oct 27 '25
Great. The challenge for us is that the devices usually sit behind NAT on customer networks, so DNS validation etc sounds tricky. Thank you for the advise