NginxProxyManager / nginx-proxy-manager

Docker container for managing Nginx proxy hosts with a simple, powerful interface
https://nginxproxymanager.com
MIT License
23.43k stars 2.72k forks source link

Automatically generate PFX certificate #186

Open Kashiroo opened 5 years ago

Kashiroo commented 5 years ago

Is your feature request related to a problem? Please describe. I recently moved from the linuxserver/letsencrypt docker container to nginx-proxy-manager. linuxserver/letsencrypt would also generate a PFX cert during cert renewal, and store this in the same folder as the other cert files. It would be lovely if this feature could also be added to this container.

Describe the solution you'd like Perhaps an automated script that would generate a PFX cert during cert renewal?

Something along the lines of:

"openssl pkcs12 -export -out privkey.pfx -inkey privkey.pem -in cert.pem -certfile chain.pem -passout pass:"

Describe alternatives you've considered I'm currently generating the PFX cert manually, but this means having to do this every three months.

Additional context I'm running a dockerized Plex server which only accepts PFX cert formats. I'm using a path mapping which points at the folder where the certs are stored. This means Plex always uses an up to date certificate. This currently doesn't work because there is no PFX being generated.

FreakyBigFoot commented 4 years ago

I came here to ask the same thing. Looks like you beat me to it. I really need to be able to get .pfx files from this tool upon generation/renewal.

the1ts commented 3 years ago

I can see how this could be done using the deploy-hook functionality of certbot, but as to where to put it since it isn't going to be used by NPM, I'm not 100% sure. People will want to mount this between different VMs and containers, while others may want it in the download link from the ssl certificates section.

github-actions[bot] commented 8 months ago

Issue is now considered stale. If you want to keep it open, please comment :+1:

guiweber commented 1 month ago

This would be really nice to have!