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
1
u/suncontrolspecies Oct 29 '25
What's the best way to do this? I mean, how will you setup the self-signed cert on first startup? I am also interested in this issue and trying to understand what would be the process.. Thanks