CF-Changes Spectrum - Connect clients that require ALPN to Spectrum applications

Cloudflare Reporting - Product Changelog

ENF News Bot

Automated News Bot
Joined
Apr 15, 2022
Messages
4,500
Clients that require Application-Layer Protocol Negotiation (ALPN) can now connect to Spectrum applications that terminate TLS at the edge. ALPN lets a client and server agree on an application protocol during the TLS handshake. Some clients refuse to connect without it, such as gRPC clients (h2) and PostgreSQL clients using direct TLS (postgresql).

To turn it on, list the protocols your origin speaks, in order of preference, in the application's Edge ALPN protocols setting in the dashboard, or in edge_alpn_protocols with the Spectrum API or the Cloudflare CLI:


"edge_alpn_protocols": ["h2"]

Cloudflare then rejects clients that offer none of the listed protocols, or no ALPN at all, before any data reaches your origin. Applications that do not set edge_alpn_protocols keep their current behavior.

For details and requirements, refer to ALPN.

Continue reading...
 
Back
Top