Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
I
ISPConfig 3
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
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
Helmo
ISPConfig 3
Commits
473f0615
Commit
473f0615
authored
8 years ago
by
C Soellinger
Browse files
Options
Downloads
Patches
Plain Diff
Updating SSL options at ispconfig vhost based on the mozilla ssl configuration generator
https://mozilla.github.io/server-side-tls/ssl-config-generator/
parent
6e0b35c4
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
install/tpl/apache_ispconfig.vhost.master
+17
-7
17 additions, 7 deletions
install/tpl/apache_ispconfig.vhost.master
with
17 additions
and
7 deletions
install/tpl/apache_ispconfig.vhost.master
+
17
−
7
View file @
473f0615
...
@@ -62,26 +62,36 @@ NameVirtualHost *:<tmpl_var name="vhost_port">
...
@@ -62,26 +62,36 @@ NameVirtualHost *:<tmpl_var name="vhost_port">
# SSL Configuration
# SSL Configuration
<tmpl_var name="ssl_comment">SSLEngine On
<tmpl_var name="ssl_comment">SSLEngine On
<tmpl_if name='apache_version' op='>=' value='2.3.16' format='version'>
<tmpl_var name="ssl_comment">SSLProtocol All -SSLv3
<tmpl_else>
<tmpl_var name="ssl_comment">SSLProtocol All -SSLv2 -SSLv3
<tmpl_var name="ssl_comment">SSLProtocol All -SSLv2 -SSLv3
</tmpl_if>
<tmpl_var name="ssl_comment">SSLCertificateFile /usr/local/ispconfig/interface/ssl/ispserver.crt
<tmpl_var name="ssl_comment">SSLCertificateFile /usr/local/ispconfig/interface/ssl/ispserver.crt
<tmpl_var name="ssl_comment">SSLCertificateKeyFile /usr/local/ispconfig/interface/ssl/ispserver.key
<tmpl_var name="ssl_comment">SSLCertificateKeyFile /usr/local/ispconfig/interface/ssl/ispserver.key
<tmpl_var name="ssl_bundle_comment">SSLCACertificateFile /usr/local/ispconfig/interface/ssl/ispserver.bundle
<tmpl_var name="ssl_bundle_comment">SSLCACertificateFile /usr/local/ispconfig/interface/ssl/ispserver.bundle
<tmpl_var name="ssl_comment">SSLCipherSuite ECDHE-
RSA-AES256
-GCM-SHA
384
:ECDHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:
EC
DHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA:ECDHE-RSA-AES128-SHA:DHE-
R
SA-AES256-SHA
256
:DHE-RSA-AES128-SHA256:DHE-RSA-AES256-SHA:DHE-RSA-AES
128
-SHA:ECDHE-
R
SA-DES-CBC3-SHA:EDH-RSA-DES-CBC3-SHA:
AES256-GCM
-SHA
384
:AES128-GCM-SHA256:AES256-
SHA256
:AES128-SHA256:AES256-SHA:AES128-SHA:DES-CBC3-SHA:
HIGH:!aNULL:!eNULL:!EXPORT:!DES:!MD5:!PSK:!RC4
<tmpl_var name="ssl_comment">SSLCipherSuite ECDHE-
ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128
-GCM-SHA
256
:ECDHE-RSA-AES128-GCM-SHA256:
ECDHE-ECDSA-AES256-GCM-SHA384:EC
DHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-
GCM-
SHA384:ECDHE-
ECDSA-AES128-SHA256:ECDHE-
RSA-AES128-SHA256:ECDHE-
ECDSA-AES128-SHA:ECDHE-
RSA-AES256-SHA
384
:ECDHE-RSA-AES128-SHA:
EC
DHE-
ECD
SA-AES256-SHA
384:ECDHE-ECDSA-AES256-SHA:ECDHE-RSA-AES256-SHA
:DHE-RSA-AES128-SHA256:DHE-RSA-
AES128-SHA:DHE-RSA-
AES256-SHA
256
:DHE-RSA-AES
256
-SHA:ECDHE-
ECD
SA-DES-CBC3-SHA:E
C
DH
E
-RSA-DES-CBC3-SHA:
EDH-RSA-DES-CBC3
-SHA:AES128-GCM-SHA256:AES256-
GCM-SHA384
:AES128-SHA256:AES256-SHA
256
:AES128-SHA:
AES256-SHA:
DES-CBC3-SHA:
!DSS
<tmpl_var name="ssl_comment">SSLHonorCipherOrder On
<tmpl_var name="ssl_comment">SSLHonorCipherOrder On
<tmpl_if name='apache_version' op='>=' value='2.4.3' format='version'>
<tmpl_var name="ssl_comment">SSLCompression Off
</tmpl_if>
<tmpl_if name='apache_version' op='>=' value='2.4.11' format='version'>
<tmpl_var name="ssl_comment">SSLSessionTickets Off
</tmpl_if>
<IfModule mod_headers.c>
<IfModule mod_headers.c>
Header always add Strict-Transport-Security "max-age=15768000"
Header always add Strict-Transport-Security "max-age=15768000"
</IfModule>
</IfModule>
<tmpl_if name='apache_version' op='>=' value='
1.4
' format='version'>
<tmpl_if name='apache_version' op='>=' value='
2.3.3
' format='version'>
<tmpl_var name="ssl_comment">SSLUseStapling
o
n
<tmpl_var name="ssl_comment">SSLUseStapling
O
n
<tmpl_var name="ssl_comment">SSLStaplingResponderTimeout 5
<tmpl_var name="ssl_comment">SSLStaplingResponderTimeout 5
<tmpl_var name="ssl_comment">SSLStaplingReturnResponderErrors
o
ff
<tmpl_var name="ssl_comment">SSLStaplingReturnResponderErrors
O
ff
</tmpl_if>
</tmpl_if>
</VirtualHost>
</VirtualHost>
<tmpl_if name='apache_version' op='>=' value='2.
4
' format='version'>
<tmpl_if name='apache_version' op='>=' value='2.
3.3
' format='version'>
<IfModule mod_ssl.c>
<IfModule mod_ssl.c>
<tmpl_var name="ssl_comment">SSLStaplingCache shmcb:/var/run/ocsp(128000)
<tmpl_var name="ssl_comment">SSLStaplingCache shmcb:/var/run/ocsp(128000)
</IfModule>
</IfModule>
...
...
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