pufferpanel / pufferd

The PufferPanel daemon
https://pufferd.pufferpanel.com
Apache License 2.0
46 stars 15 forks source link

HTTPS file in argument #52

Closed Pandry closed 6 years ago

Pandry commented 6 years ago

Hi there, excuse me for my long absence; I had some issues with my PC... In the meantime I started learning Golang, and, even if I'm still a noob I have a more in-depth knowledge of it... I started examining the code and had the idea to pass an HTTPS certificate at the launch as an argument. What do you think about it?

puffrfish commented 6 years ago

Right now it's necessary to copy (not just symlink) the https.key and https.pem files to /etc/pufferd because of permissions issues.

I'm not against it, but I'm not sure where that would be helpful. The main problem people are running into is that when the letsencrypt certificates expire, because it's not a symlink they have to re-copy the files to /etc/pufferd.