Skip to content

Commit

Permalink
Use Apache SSLOpenSSLConfCmd DHParameters
Browse files Browse the repository at this point in the history
github: closes mozilla#125
  • Loading branch information
gstrauss committed Oct 10, 2024
1 parent 0f6501d commit 0505bcc
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions src/templates/partials/apache.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,18 @@
{{#if (minver "2.4.8" form.serverVersion)}}
{{#if output.usesDhe}}
{{#if (minver "2.4.52" form.serverVersion)}}
{{#if (minver "1.1.0" form.opensslVersion)}}
SSLCertificateFile /path/to/signed_cert_and_intermediate_certs
{{else}}
{{#unless (minver "1.1.0" form.opensslVersion)}}

# {{output.dhCommand}} >> /path/to/signed_cert_and_intermediate_certs_and_dhparams
SSLCertificateFile /path/to/signed_cert_and_intermediate_certs_and_dhparams
{{/if}}
# {{output.dhCommand}} >> /path/to/dhparams
SSLOpenSSLConfCmd DHParameters "/path/to/dhparams"
{{/unless}}
{{else}}

# {{output.dhCommand}} >> /path/to/signed_cert_and_intermediate_certs_and_dhparams
SSLCertificateFile /path/to/signed_cert_and_intermediate_certs_and_dhparams
# {{output.dhCommand}} >> /path/to/dhparams
SSLOpenSSLConfCmd DHParameters "/path/to/dhparams"
{{/if}}
{{else}}
SSLCertificateFile /path/to/signed_cert_and_intermediate_certs
{{/if}}
SSLCertificateFile /path/to/signed_cert_and_intermediate_certs
{{else}}
SSLCertificateFile /path/to/signed_certificate
SSLCertificateChainFile /path/to/intermediate_certificate
Expand Down

0 comments on commit 0505bcc

Please sign in to comment.