Skip to content

Commit

Permalink
Merge pull request #253 from janbrasna/fix/tomcat-tls13
Browse files Browse the repository at this point in the history
Include TLSv1.3 suites in some Tomcat configurations
  • Loading branch information
gstrauss authored Oct 17, 2024
2 parents ea1349d + 9df3e19 commit f7a5e5b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/js/configs.js
Original file line number Diff line number Diff line change
Expand Up @@ -185,9 +185,9 @@ module.exports = {
tls13: '5.50',
usesOpenssl: true,
},
tomcat: {
tomcat: {
highlighter: 'xml',
latestVersion: '9.0.30',
latestVersion: '9.0.96',
name: 'Tomcat',
supportsHsts: true,
supportsOcspStapling: false,
Expand Down
6 changes: 3 additions & 3 deletions src/templates/partials/tomcat.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@
port="443"
SSLEnabled="true">

<!-- TLS 1.3 requires Java 11 or higher -->
{{#if (includes "TLSv1.3" output.protocols)}}<!-- TLSv1.3 requires Java 11 or higher -->{{/if}}
<SSLHostConfig
{{#if output.ciphers.length}}
ciphers="{{{join output.ciphers ":"}}}"
ciphers="{{#if (includes "TLSv1.3" output.protocols)}}{{{join output.cipherSuites ":"}}}:{{/if}}{{{join output.ciphers ":"}}}"
{{/if}}
disableSessionTickets="true"
honorCipherOrder="{{#if output.serverPreferredOrder}}true{{else}}false{{/if}}"
protocols="{{join output.protocols ", "}}">
protocols="{{join output.protocols ","}}">

<Certificate
certificateFile="/path/to/signed_certificate"
Expand Down

0 comments on commit f7a5e5b

Please sign in to comment.