mtls-proxy

command module
v0.0.0-...-3cd7e09 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 8, 2021 License: MIT Imports: 9 Imported by: 0

README

mTLS Proxy

Generate Certificate

CAROOT=. mkcert -ecdsa server
CAROOT=. mkcert -ecdsa -client client

Build

go build -o mtls-proxy

Run

Server
mtls-proxy \
  -mode=server \
  -ca=rootCA.pem -cert=server.pem -key=server-key.pem \
  -server-addr=localhost:9000 \
  -addr=:3000
Client
mtls-proxy \
  -mode=client \
  -ca=rootCA.pem -cert=client-client.pem -key=client-client-key.pem \
  -server-addr=localhost:3000 -server-name=server \
  -addr=:4000

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL