Skip to main content

Terminating TLS

You can configure TLS termination for HTTPS, TCP, and TLS endpoints with ngrok. By default, ngrok automatically terminates TLS for HTTPS endpoints, but you can still customize how that termination is done using the terminate-tls Traffic Policy action.

TLS (SSL) certificate management is automatically handled for you by default for all endpoints, though you can also bring your own TLS certificates.

How is TLS terminated by default?

An endpoint's protocol determines the ngrok cloud service's default TLS termination behavior.

Endpoint ProtocolTLS Termination
HTTPNone
HTTPSAlways at ngrok's cloud service.
TLSDefault no termination, configurable with terminate-tls
TCPDefault no termination, configurable with terminate-tls

Using terminate-tls

Visit the Traffic Policy docs to see examples using the terminate-tls action.

Learn more

Limits & pricing

TLS endpoints are available on Pay-as-you-go, Pro, and Enterprise plans. Consult the pricing documentation for general billing details.

For TLS limits, see the endpoint Limits documentation.