admittedly old, but outer circumstances force me to stay with this for the moment.
and deleted all certificates.
I had some VirtualHost :443 residues in the /etc/apache2/sites-enabled files.
I ran this command:
certbot --apache -d <comma-separated-list of 44 domains>
and it gave a syntax error about non existing file in /etc/letsencrypt/live/mydomain/fullchain.pem
Should I delete all VirtualHosts sections for port 443 first, before issuing the certbot --apache command?
Do have normal port 80 Virtualhosts have to exist for every domain prior to running the certbot command?
Does certbot automatically create command to do a redirection of http-> https ?
I had left all VirtualHost 443 sections in the .conf files and removed every SSL reference there. This way I was able to start apache2 again.
Now I'm getting:
... http-01 challenge for zeitraum-reise.de http-01 challenge for zeitraumreise.de http-01 challenge for zeitundraumreise.de Waiting for verification... Cleaning up challenges Failed authorization procedure. zeitraumreise.de (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: 188.8.131.52: Invalid response from http://zeitraumreise.de/.well-known/acme-challenge/ZBlPUvewS3R4IIV4KTf3MjLpeCjtwBXlTeRNXXoDQnA: 404 IMPORTANT NOTES: - The following errors were reported by the server: Domain: zeitraumreise.de Type: unauthorized Detail: 184.108.40.206: Invalid response from http://zeitraumreise.de/.well-known/acme-challenge/ZBlPUvewS3R4IIV4KTf3MjLpeXxXXXXlTeRNXXoXxXX: 404 To fix these errors, please make sure that your domain name was entered correctly and the DNS A/AAAA record(s) for that domain contain(s) the right IP address.
At this point in time there are not yet any certficate files created in /etc/letsencrypt/archive