localsend / mtls-example

Simple mTLS example with NodeJS and curl

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mTLS Debugging

Simple mTLS example with NodeJS and curl.

In this example, there are no external authorities.

It follows the "Trust on First Use" principle.

Getting Started

Run the server:

node main.js

Make a request with curl:

curl --cert client-cert.pem --key client-key.pem -k https://localhost:3000

About

Simple mTLS example with NodeJS and curl

License:MIT License


Languages

Language:JavaScript 100.0%