cozy / python_cozy_management

Python module to manage self hosted cozy
GNU Lesser General Public License v3.0
1 stars 5 forks source link

Expired certificate #25

Open pomarec opened 7 years ago

pomarec commented 7 years ago

I had an error from my browser telling me that the certificate was out of date. I logged on the sever via ssh, ran cozy_management renew_certificate that told me the certif was up to date. I fixed the thing with a sudo service restart nginx My guess is, when a job is launched from somewhere to renew the certificates it does not reload nginx. Is nginx accountable for watching cert file changes ? Probably but still this affects cozy Kind regards

clochix commented 7 years ago

Thanks for reporting @pomarec You're right, you need to manually restart the web server after updating the cert files. I don't know if cozy_management should restart the web server, or just display a reminder. Some users uses other web servers, so maybe should we just display a warning message.

Ping @aeris