Skip to content

Commit

Permalink
Merge pull request #286 from gstrauss/apache-explicit-sslprotocol
Browse files Browse the repository at this point in the history
apache,oraclehttp: explicit SSLProtocol list
  • Loading branch information
gstrauss authored Dec 6, 2024
2 parents c68fd7a + 5fbe100 commit b737c6f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions src/templates/partials/apache.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,7 @@
</VirtualHost>

# {{form.config}} configuration
SSLProtocol all {{#unless (minver "2.3.16" form.serverVersion)}}-SSLv2 {{/unless}}-SSLv3
{{~#unless (includes "TLSv1" output.protocols)}} -TLSv1{{/unless}}
{{~#unless (includes "TLSv1.1" output.protocols)}} -TLSv1.1{{/unless}}
{{~#unless (includes "TLSv1.2" output.protocols)}} -TLSv1.2{{/unless}}
SSLProtocol {{{join output.protocols " "}}}
{{#if output.ciphers.length}}
SSLCipherSuite {{{join output.ciphers ":"}}}
{{/if}}
Expand Down
2 changes: 1 addition & 1 deletion src/templates/partials/oraclehttp.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
</VirtualHost>

# {{form.config}} configuration
SSLProtocol All {{#unless (includes "TLSv1" output.protocols)}}-TLSv1{{/unless}}{{#unless (includes "TLSv1.1" output.protocols)}} -TLSv1.1{{/unless}}
SSLProtocol {{{join output.protocols " "}}}
SSLCipherSuite {{{join output.ciphers ":"}}}
{{#if (minver "12.2.1" form.serverVersion)}}
SSLHonorCipherOrder {{#if output.serverPreferredOrder}}on{{else}}off{{/if}}
Expand Down

0 comments on commit b737c6f

Please sign in to comment.