Thanks, explains that issue.
Is there any problem with sticking extra files in the live/example.com or archive/example.com folders?
For example the first time I ran LE I got a valid cert (this was before I messed about with the test-cert flag). To use the new LE cert it in my Jetty (Zimbra) application I needed to add the LE root CA to the bottom of chain.pem. I created a new file in the live/example.com folder called chain-ca.pem.
My Jetty application accepted the new chain-ca.pem and the private key perfectly. All worked great.
On attempting to renew though LE-auto created a folder suffixed with -0001. It complained about my renew/domain.conf file being corrupted.
I'm wondering if either:
- LE-auto doesn't like extra files in live/domain or archive/domain
- My Java certificate command somehow messed up one of the symlinks in the live folder since inspecting it shows chain.pem no longer pointing to archive/example.com/chain.pem. It exists now as a file.
Trying to figure out the issue but I've hit the limit on number of times I can renew my cert (5 times per week right?) so don't think I can troubleshoot until next week!