When I first tried to create a cert for my domain, I used the --apache switch, but it failed with conf parser errors, yet configtest shows success. So, I switched to using --webroot instead, but I keep getting the error about a missing renewal config file for Let’s Encrypt. I’m trying to create a new cert, not renew. Any help is appreciated.
I think the error you’re seeing is because you’re specifying --cert-name. Historically, it wasn’t possible to choose a --cert-name when creating a new certificate. It should be possible in the newest versions of Certbot, but not in slightly older ones. Which version of Certbot are you running?
After running the client with the --apache switch and getting some ambiguity with my special configuration, I switched to preferring the --webroot switch. I imagine I didn’t have to install the Apache-specific edition now, but that’s what I’m using when I receive the error. Do you recommend I switch to something else?
If you just want to get rid of the specific error and you don’t mind not being able to choose the cert name, you could just leave out --cert-name. I think that will take care of the error you’re currently seeing.
If you can eventually upgrade to a later version, there will be a rename command. Or you can manually rename every reference in /etc/letsencrypt/{live,archive,renewal}, but be careful not to miss anything (including both file names and file contents).