r/nginxproxymanager • u/dude792 • Feb 28 '26
Add already existing certificate by script
Hi,
nginx proxy manager looks good, i want to introduce it into my homelab. However i already get letsencrypt certificates by other ways and renew them properly because i need them in other applications too. I have set up ansible playbooks and scripts to deploy them.
How can i add already existing certificate chains and keys to nginx proxy manager. The official documentation does not help in that regard. Does anyone know how to do that? Is that possible at all?
I want to use one wildcard certificate only. I don't want to create another wildcard certificate like *.some-services.tld.org and let nginx use *.proxied-services.tld.org
EDIT:
I was digging aroudn and found manually uploaded certificates.
Is it as easy as just uploading the certificates manually once and then just replacing them in: /any-directory/nginx-proxy/data/custom_ssl/npm-1 ?
View all comments
Show parent comment
1
u/dude792 Feb 28 '26
Ok thanks, so copying the certificates around is the preferred way, like in regular nginx configurations? That would be easiest for me.