Skip to content

Instantly share code, notes, and snippets.

View kenjikato's full-sized avatar
💭
Thinking really hard 🤔

Kenji Kato kenjikato

💭
Thinking really hard 🤔
View GitHub Profile
@kenjikato
kenjikato / 2-Way-TLS-Auth-for-Node-and-Nginx.md
Last active April 15, 2022 10:48 — forked from pcan/README.md
2-Way TLS Symmetric Client Server Cert Auth for Node.js and Nginx

Two-Way TLS or mTLS Symmetric Client Server Cert Auth for Node.js using plain TLS sockets and/or Nginx

This file describes how to set up a bidirectional client/server TLS authentication or mTLS (mutual-auth TLS) for plain TLS sockets using Node.js.

If you don't know why you would use a two-way TLS or mTLS auth mechaniusm it's worth checking out these videos to get a better understanding.