Re: Leaf 7.2.1 lighthtp certificate missing or invalid
Erich Titl <[email protected]> Wed, 5 Apr 2023 12:59:40 +0200
| Newsgroups | gmane.linux.leaf.user |
|---|---|
| Message-ID | <[email protected]> |
Am 04.04.2023 um 18:50 schrieb Timothy Wegner: > Erich and list, > > I apologise to everyone, I discovered that my lighttpd certificate problem > was very long standing and caused by myself. There is no problem with the > leaf distribution. Kp and I discussed this off-list, and I never reported > the resolution of this to the list. Here's a quote from my last message to > kp: > >>> > ... all I had to do to fix the lighttpd certificate problem was rename > /etc/ssl/private/lighttpd.pem to something else, save, and reboot. Then all > was well, and the correct pem file got copied to two places. This is > embarrassing, but the bad lighttpd.pem file had a timestamp of April 2 > 2018!!!!! Yikes! I've been getting that error message for five years!! >>> Mhhh... just changing the name of the certificate file does not make much sense to me. Are you using https? If so then the default path to the certificate file would be '/etc/ssl/private/lighttpd.pem'. The CA signing certificate would be 'etc/ssl/certs/LEAF_Bering_CA_certificate.pem'. These files are used for https only. Which place(s) is the renamed certificate file copied to so it is reloaded from configdb and why would such a copy change the behaviour of lighttpd without touching the lighttpd configuration? In my configuration lighttpd does not start at all if the certificate file is renamed. > > Let me add that my (too lazy) method of updating Leaf for many years has > been to copy configdb.lrp and leaf.cfg from my previous working copy. I am > long overdue for a major configdb.lrp cleanup! If you dropped mhttp for lighttpd then the old certificate files would still linger in /etc for at least one save operation, but this should not interfere with lighttpd unless you are starting both instances. Make sure you only load one http daemon. cheers ET ------------------------------------------------------------------------ leaf-user mailing list: [email protected] https://lists.sourceforge.net/lists/listinfo/leaf-user Support Request -- http://leaf-project.org/
OpenPGP_signature
(application/pgp-signature, 840 B) - not displayed