Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
apache
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
webarch
apache
Commits
71fefa40
Commit
71fefa40
authored
5 years ago
by
Chris Croome
Browse files
Options
Downloads
Patches
Plain Diff
TLS versions
parent
c6ac6a5d
No related branches found
No related tags found
1 merge request
!2
MPM switching and TLS 1.3
Pipeline
#9779
passed
5 years ago
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tasks/checks.yml
+2
-4
2 additions, 4 deletions
tasks/checks.yml
templates/ssl.conf.j2
+2
-2
2 additions, 2 deletions
templates/ssl.conf.j2
with
4 additions
and
6 deletions
tasks/checks.yml
+
2
−
4
View file @
71fefa40
...
...
@@ -2,8 +2,6 @@
# TODO Check that the supplied variables are sane, for example we can't have no
# mpm or we can't have mpm_event and mpm_prefork
-
name
:
Check the Apache version, modules and conf, loaded and enabled
block
:
...
...
@@ -24,7 +22,7 @@
-
name
:
Debug Apache version
debug
:
var
:
apache_version
var
:
apache_version
verbosity
:
1
-
name
:
TLS versions
...
...
@@ -32,7 +30,7 @@
-
name
:
Set facts for TLS versions
set_fact
:
apache_tls1_3
:
T
rue
apache_tls1_3
:
t
rue
when
:
apache_version is version('2.4.41', '>=')
-
name
:
Debug TLS 1.3 variable
...
...
This diff is collapsed.
Click to expand it.
templates/ssl.conf.j2
+
2
−
2
View file @
71fefa40
...
...
@@ -59,7 +59,7 @@
# options.
# Enable only secure ciphers:
# https://wiki.mozilla.org/Security/Server_Side_TLS#Modern_compatibility
SSLCipherSuite
{
{ apache_ssl
_cipher_suite }}
SSLCipherSuite
{
%
if
apache_tls1_3 == True %}{{ apache_tls1_3_cipher_suites }}:{% endif %}{{ apache_tls1_2
_cipher_suite
s
}}
# SSL server cipher order preference:
# Use server priorities for cipher algorithm choice.
...
...
@@ -73,7 +73,7 @@
# The protocols to enable.
# Available values: all, SSLv3, TLSv1, TLSv1.1, TLSv1.2
# SSL v2 is no longer supported
SSLProtocol
{{ apache_ssl_protocol }
}
SSLProtocol
TLSv1.2 {%
if
apache_tls1_3 == True %}TLSv1.3{% endif %
}
# Allow insecure renegotiation with clients which do not yet support the
# secure renegotiation protocol. Default: Off
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment