Methodology
CipherGrade uses an SSL Labs–inspired grading methodology. Every domain is scored from 0 to 100 across four weighted categories, then mapped to a letter grade. Two additional pass/fail categories can cap your grade regardless of score.
Score Formula
Your numeric score (0–100) is a weighted average of four category scores:
Vulnerability and Best Practices don't contribute to the numeric score directly. Instead, they act as pass/fail checks that can cap your letter grade (e.g., force it down to B or F) or gate access to A+.
Grade Scale
Standard Grades
Special Grades
Requires grade A, score ≥ 90, no grade caps, and HSTS enabled with max-age of at least 6 months (15,552,000 seconds).
The server's certificate is not trusted (e.g., self-signed, expired, or from an unknown CA).
The certificate's hostname does not match the domain being scanned.
Category Scoring
Certificate
30% of scoreEvaluates the server's X.509 certificate: chain validity, trust anchor, key strength, signature algorithm, expiration, and revocation status.
RSA/DSA Key Size Scoring
| Key Size | Score |
|---|---|
| < 512 bits | 20 |
| 512 – 1023 bits | 40 |
| 1024 – 2047 bits | 80 |
| 2048 – 4095 bits | 90 |
| ≥ 4096 bits | 100 |
Automatic zero: Invalid certificates, untrusted chains, self-signed certs, expired certs, and weak signature algorithms (MD5, SHA-1) all receive a score of 0.
Protocol
30% of scoreScores the best and worst supported protocol version and averages them. This rewards servers that support modern TLS while penalizing legacy protocol support.
| Protocol | Score | Grade Cap |
|---|---|---|
| TLS 1.3 | 100 | — |
| TLS 1.2 | 100 | — |
| TLS 1.1 | 80 | Capped to B |
| TLS 1.0 | 80 | Capped to B |
| SSL 3.0 | 80 | Capped to F |
| SSL 2.0 | 0 | Capped to F |
A− cap: If TLS 1.3 is not supported, the maximum grade is A- (even if the score is high enough for A).
Cipher Suite
10% of scoreScores the strongest and weakest cipher by symmetric key length, then averages them.
| Cipher Strength | Score | Grade Cap |
|---|---|---|
| 0 bits (NULL) | 0 | Capped to F |
| < 128 bits | 20 | — |
| 128 – 255 bits | 80 | — |
| ≥ 256 bits | 100 | — |
B caps: RC4 cipher suites, no forward secrecy, or no AEAD ciphers each cap the grade to B.
F caps: NULL ciphers and export-grade ciphers cap to F.
Key Exchange
30% of scoreScores the strongest and weakest key exchange parameters, then averages them. Modern elliptic-curve methods score highest.
| Method | Score |
|---|---|
| X25519 / X448 | 90 |
| ECDHE P-384, P-521 | 100 |
| ECDHE P-256 | 90 |
| DHE ≥ 4096 bits | 90 – 100 |
| DHE 2048 – 4095 bits | 80 |
| DHE 1024 – 2047 bits | 40 (Capped to B) |
| DHE < 1024 bits | 20 (Capped to F) |
Vulnerability
Pass / FailWe actively probe for known TLS/SSL vulnerabilities. Any critical vulnerability immediately caps the grade to F.
CRIME (TLS compression) caps the grade to C rather than F.
Best Practices
Pass / FailBest practices don't affect your numeric score, but they determine whether you qualify for A+.
HSTS (HTTP Strict Transport Security)
| Condition | Penalty |
|---|---|
| HSTS missing | −30 points |
| HSTS max-age < 120 days | −10 points |
| HSTS max-age ≥ 6 months | No penalty |
Security Headers (−5 points each if missing)
X-Content-Type-OptionsX-Frame-OptionsContent-Security-PolicyReferrer-PolicyPermissions-PolicyFor domains behind a CDN (e.g., Cloudflare), OCSP stapling is managed by the CDN and is reported as informational only — no recommendation is made.
Grade Caps Quick Reference
Certain issues force a maximum grade regardless of your numeric score. The strictest cap wins.
Capped to F
- •Revoked certificate
- •SSL 2.0 support
- •SSL 3.0 support (POODLE)
- •NULL cipher suites
- •Export-grade ciphers
- •Insecure DH parameters (< 1024 bits)
- •Critical vulnerabilities (Heartbleed, DROWN, FREAK, Logjam, CCS Injection, Ticketbleed, ROBOT)
Capped to B
- •RC4 cipher suites
- •No forward secrecy
- •No AEAD cipher suites
- •Weak DH parameters (1024 – 2047 bits)
- •Incomplete certificate chain
- •TLS 1.0 or TLS 1.1 support