526 Invalid SSL Certificate

Cloudflare: origin certificate is invalid.

Status code
526
Reason phrase
Invalid SSL Certificate
Class
5xx Server errors
Source
Cloudflare (non-standard)

What does 526 Invalid SSL Certificate mean?

Cloudflare-specific, in Full (strict) mode: the origin certificate is expired, self-signed or does not match the hostname.

Common causes

How to fix it

526 and webhooks

Retried by providers.

Test how your client handles 526

In the webhook tester you can add a response rule that answers 526 — useful to check retries, error handling and alerts before production.

FAQ

What does HTTP 526 mean?

Cloudflare: origin certificate is invalid. Cloudflare-specific, in Full (strict) mode: the origin certificate is expired, self-signed or does not match the hostname.

Is 526 an error?

Yes — a server error: the request may succeed if retried later.

Other 5xx codes

500 Internal Server Error · 501 Not Implemented · 502 Bad Gateway · 503 Service Unavailable · 504 Gateway Timeout · 505 HTTP Version Not Supported · 507 Insufficient Storage · 508 Loop Detected · 511 Network Authentication Required · 520 Web Server Returned an Unknown Error · 521 Web Server Is Down · 522 Connection Timed Out · 523 Origin Is Unreachable · 524 A Timeout Occurred · 525 SSL Handshake Failed

← 525   All status codes  

About HTTP 526

The status line “HTTP/1.1 526 Invalid SSL Certificate” belongs to the 5xx family — server errors, where the request may be fine but the server failed.

A 526 is usually safe to retry with exponential backoff; most payment providers retry webhooks that got a 526.

In monitoring, alert on the rate of 526 responses rather than single events, and split by endpoint to find the source.