I was using let's encrypt certificates for an XMPP-Server and a file sharing server on my raspberry pi. Unfortunately, my raspberry crashed the other day and the SD card with the OS did not survive the crash. I do have a copy of the broken SD Card, though, but I don't know if all files are fine.
I had to reinstall the OS (raspbian), and then copied the content of /etc/letsencrypt to the newly installed SD card.
However, now the XMPP server does not read the certificates anylonger and when I start ./letsencrypt-auto renew it fails and tells me something about "expected link in /etc/letsencrypt/live/[domain]/privkey.pem" (sorry, I do not have the exact error message here at the moment).
How can I restore my current certificate, i.e., how should the directory layout be? (Another problem might be that I'm using a dynamic DNS provider that hits the rate limit and thus cannot easily create a new certificate or can I?)
Thanks for any help,