Export Let’s Encrypt SSL Certificates from Nginx Proxy Manager to another machine
Tags: #selfhosting #letsencrypt #nginx #npm #prosody #python
Especially when self-hosting, the wonderful Nginx Proxy Manager (NPM) is often used as a reverse proxy, and for generating and auto-renewing SSL certificates. But how to export the right certificate to another machine that needs it, like the Prosody XMPP server?
This can get rather complicated, since NPM internally stores its configuration and certificates in numbered files instead of using the domain names for filenames.
Well, here is a possible solution.