Improve SSL Labs Rating by tweaking TLS configs #4

Closed
opened 2020-09-29 22:59:01 +00:00 by 3wordchant · 1 comment
Owner

From autonomic-cooperative/traefik.autonomic.zone#3:

@kawaiipunk:

Currently our SSL Labs certs are only getting a B:

https://www.ssllabs.com/ssltest/analyze.html?d=autonomic.zone&hideResults=on
https://www.ssllabs.com/ssltest/analyze.html?d=git.autonomic.zone&hideResults=on

The two main issues are:

This server does not support Forward Secrecy with the reference browsers. Grade capped to B. MORE INFO »
This server supports TLS 1.0 and TLS 1.1. Grade capped to B.

We should add config options for improved security. Here is the Traefik docs. I feel like that page is missing details though.

We may need to look at other documentation. There are numerous blogposts.

Mozilla has some good guides too.

This is probablly what we want to be going by:
https://ssl-config.mozilla.org/#server=traefik&version=2.1.2&config=modern&guideline=5.6

Or intermediate to ensure compat with older clients:
https://ssl-config.mozilla.org/#server=traefik&version=2.1.2&config=intermediate&guideline=5.6

From autonomic-cooperative/traefik.autonomic.zone#3: @kawaiipunk: > Currently our SSL Labs certs are only getting a B: > > https://www.ssllabs.com/ssltest/analyze.html?d=autonomic.zone&hideResults=on > https://www.ssllabs.com/ssltest/analyze.html?d=git.autonomic.zone&hideResults=on > > The two main issues are: > > This server does not support Forward Secrecy with the reference browsers. Grade capped to B. MORE INFO » > This server supports TLS 1.0 and TLS 1.1. Grade capped to B. > > We should add config options for improved security. Here is the Traefik docs. I feel like that page is missing details though. > > We may need to look at other documentation. There are numerous blogposts. > > Mozilla has some good guides too. > > This is probablly what we want to be going by: https://ssl-config.mozilla.org/#server=traefik&version=2.1.2&config=modern&guideline=5.6 > > Or intermediate to ensure compat with older clients: > https://ssl-config.mozilla.org/#server=traefik&version=2.1.2&config=intermediate&guideline=5.6
decentral1se self-assigned this 2020-10-23 14:06:05 +00:00
Owner

OK, achieved via https://git.autonomic.zone/coop-cloud/traefik/pulls/8.

Each app that wants to get the A+ rating needs to add the following labels to their compose.yml configuration so as to hook into Traefiks magic SSL configuration:

- "traefik.http.routers.traefik.tls.options=default@file"
- "traefik.http.routers.traefik.middlewares=security@file"

I have enabled that for https://autonomic.zone now.

I'm gonna close this off and add some follow up tickets.

OK, achieved via https://git.autonomic.zone/coop-cloud/traefik/pulls/8. Each app that wants to get the A+ rating needs to add the following labels to their `compose.yml` configuration so as to hook into Traefiks magic SSL configuration: ``` - "traefik.http.routers.traefik.tls.options=default@file" - "traefik.http.routers.traefik.middlewares=security@file" ``` I have enabled that for https://autonomic.zone now. I'm gonna close this off and add some follow up tickets.
Sign in to join this conversation.
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: coop-cloud/traefik#4
No description provided.