Closed pedrosland closed 7 years ago
I started looking at this. Will send a PR as soon as possible but first I would like to define what is desired.
My opinion is to use ssl-dh-param
as a secret name and then render the base64 to a specific path, the config supplied to the template will point to this location if the dh exists and is valid.
WDYT?
/cc @aledbf
I noticed this while writing documentation that the ssl_dhparam value in the config is expected to be a base46 string and NGINX expects it to be a file. The controller documentation says:
ssl-dh-param: sets the Base64 string that contains Diffie-Hellman key to help with "Perfect Forward Secrecy".
The nginx documentation says:
To verify, I provided the base64 encoded string from
openssl dhparam
:The logs report:
As I see it, there are three options:
AddOrUpdateCertAndKey
.Perhaps there are more? Personally, I think option 1 or 2 sounds the best.
I would be willing to attempt a fix for this.