Open Kashiroo opened 5 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.
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.
Issue is now considered stale. If you want to keep it open, please comment :+1:
This would be really nice to have!
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.