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:

Score = 0.30 × Certificate + 0.30 × Protocol + 0.30 × Key Exchange + 0.10 × Cipher Suite

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

AScore ≥ 80
BScore 65 – 79
CScore 50 – 64
DScore 35 – 49
EScore 20 – 34
FScore < 20

Special Grades

A+

Requires grade A, score ≥ 90, no grade caps, and HSTS enabled with max-age of at least 6 months (15,552,000 seconds).

T

The server's certificate is not trusted (e.g., self-signed, expired, or from an unknown CA).

M

The certificate's hostname does not match the domain being scanned.

Category Scoring

Certificate

30% of score

Evaluates the server's X.509 certificate: chain validity, trust anchor, key strength, signature algorithm, expiration, and revocation status.

RSA/DSA Key Size Scoring

Key SizeScore
< 512 bits20
512 – 1023 bits40
1024 – 2047 bits80
2048 – 4095 bits90
≥ 4096 bits100

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 score

Scores the best and worst supported protocol version and averages them. This rewards servers that support modern TLS while penalizing legacy protocol support.

ProtocolScoreGrade Cap
TLS 1.3100—
TLS 1.2100—
TLS 1.180Capped to B
TLS 1.080Capped to B
SSL 3.080Capped to F
SSL 2.00Capped 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 score

Scores the strongest and weakest cipher by symmetric key length, then averages them.

Cipher StrengthScoreGrade Cap
0 bits (NULL)0Capped to F
< 128 bits20—
128 – 255 bits80—
≥ 256 bits100—

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 score

Scores the strongest and weakest key exchange parameters, then averages them. Modern elliptic-curve methods score highest.

MethodScore
X25519 / X44890
ECDHE P-384, P-521100
ECDHE P-25690
DHE ≥ 4096 bits90 – 100
DHE 2048 – 4095 bits80
DHE 1024 – 2047 bits40 (Capped to B)
DHE < 1024 bits20 (Capped to F)

Vulnerability

Pass / Fail

We actively probe for known TLS/SSL vulnerabilities. Any critical vulnerability immediately caps the grade to F.

HeartbleedPOODLEDROWNFREAKLogjamBEASTCRIMEROBOTCCS InjectionTicketbleedLucky13Zombie POODLE

CRIME (TLS compression) caps the grade to C rather than F.

Best Practices

Pass / Fail

Best practices don't affect your numeric score, but they determine whether you qualify for A+.

HSTS (HTTP Strict Transport Security)

ConditionPenalty
HSTS missing−30 points
HSTS max-age < 120 days−10 points
HSTS max-age ≥ 6 monthsNo penalty

Security Headers (−5 points each if missing)

X-Content-Type-OptionsX-Frame-OptionsContent-Security-PolicyReferrer-PolicyPermissions-Policy

For 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.

F

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)
B

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
CTLS compression enabled (CRIME)
A-TLS 1.3 not supported