SteveLTN / https-portal

A fully automated HTTPS server powered by Nginx, Let's Encrypt and Docker.
MIT License
4.46k stars 295 forks source link

Create self-signed certificate with CSR #327

Closed sarisia closed 1 year ago

sarisia commented 1 year ago

Current implementation ignores CSR when self-signing and force creates new RSA keypair, so CERTIFICATE_ALGORITHM=prime256v1 is not working for STAGE=local.

This PR fixes this by stop creating new RSA key on self_sign and sign to CSR instead.

SteveLTN commented 1 year ago

Thank you! I'm a bit busy at my day job. Will check later!

SteveLTN commented 1 year ago

1.23.0 is released and includes this PR. Thanks for the help!