I want to re-use the certificates generated by Let’s Encrypt for my Synology NAS. For this I need to export the pem files and upload them to the NAS. Problem is I can’t seem to find the right files. I need a key.pem, chain.pem and cert.pem. I’m on Ubuntu 16.04 LTS
I have read the files should be in /etc/letsencrypt/ but this folder doesn’t exist on my server. I have found some files in my home folder (~/.caddy) but I think these are not te correct files. Can someone point me in the right direction?
If you run Caddy without any extra configuration, they’ll be in ~/.caddy/acme/sites/<your site>.
The certificate file is a bundle – so the leaf certificate and its intermediate are put together. The key is of course by itself in an adjacent file. Hope this helps!