lets' encrypt: the setting are in the e-smith config db but not the certificates
you might be better to also backup restore /etc/dehydrated, or you might get a failing httpd service missing its certs.
Thanks. I found this out the hard way
My first attempt failed because of this.
Can I just check that I've got the syntax right for adding a template fragment to DAR. Using the example on the Backup with dar wiki page, because I only need to include etc/dehydrated, then the code I need in 41go-into is:
--include etc/dehydrated
I then expand the template with
expand-template /etc/dar/DailyBackup.dcf
I wonder if I would have been OK first time if I had installed and configured Letsencrypt before restoring from my backup? That way there would have been certificates for httpd to find? Or do I have to backup /etc/dehydrated anyway?
Anyway, this time I mean to:
- Install, and update SME
- Install and configure both contribs (letsencrypt and whitelist/blacklist)
- Restore from backup
Last time I restored from backup before installing the contribs, which is where I thought I'd gone wrong (my excuse is I was about to go on holiday, so time was pushing).