feat: bump ssllabs rating guide to 2009r#2830
Conversation
|
Tested it out and for the TLS1.3 part it seems fine, but i there's a discrepancy for hsts It looks like ssllabs distinguish between hsts not configured which doesn't cap the grade, and hsts explicitly disabled (max-age=0 ??) which does cap to A- but with this PR unconfigured hsts is also capped to A- |
|
Fixed in latest commit 👍 it's not always to interpret their explanations.. |
|
Latest: No hsts: no cap ✅ hsts misconfigured/invalid value in max-age: warn and cap to A-✅ hsts disabled (max-age=0): treated as misconfigured -> cap to A- ✅ one could nitpick whether the text should be changed ? hsts too low (max-age=1): warn "HSTS max-age is too short" -> cap to A- |
|
The old rating (linked aboved) (highlight by me):
If you don't put a warning on HSTS max-age less than 6 months, it would get an A+ (if everything else is "good configuration"); so it seems weird that they don't put a warning on max-age to short? |
|
Then I'd argue we have the more correct implementation. This is from SSLLabs themselves...:
So no warnings = no cap ( |
|
Thanks for the lively discussion! Enjoyed it... Will merge it latest by tomorrow. |
|
Thanks! Mind to backport it to 3.2 also? |

Describe your changes
fixes #2829
Implements the necessary changes from SSLLabs:
Since they now explicitly say HSTS gives a warning, I've updated the old grade_caps from my previous understanding of their prior ruling:
Tested on an internal host (which is misconfigured):
And on github.com:
What is your pull request about?
If it's a code change please check the boxes which are applicable
help()