Home / Companies / Ngrok / Blog / Post Details
Content Deep Dive

How to implement mutual TLS (mTLS) with ngrok’s API gateway

Blog post from Ngrok

Post Details
Company
Date Published
Author
Joel Hans
Word Count
1,357
Company Posts That Month
10
Language
English
Hacker News Points
-
Post removed?
No
Summary

To implement mutual TLS (mTLS) with ngrok's API gateway, you need to generate public and private keys for a certificate authority (CA), create a self-signed CA certificate, and then generate certificates for your client. You configure the ngrok agent to terminate TLS on the server and reject all requests missing a certificate signed by your CA. To verify mTLS is configured correctly, send a request without passing the client's certificate and check for a TLS error response. With mTLS enabled, you can access your API with a certificate and private key, establishing non-repudiation in how API consumers interact with your service. ngrok provides a free account to help meet security best practices, saving you from configuring web servers or deploying custom DNS, and enabling you to get to production quickly without complex reverse proxies or wrestling with your ops team. Once mTLS is enabled, you can extend your API gateway goodness with additional policies and a developer-first configuration workflow.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Kubernetes 1 1,274 169 70 -11%
Zero Trust 1 39 14 11 -39%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.