Ankcorn / mutual-tls-example

Example of mutual TLS using nginx and docker-compose

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Intro

This repo contains a reference setup for a nginx as a https reverse proxy

[x] Test client to check that the config is correct

[x] https with tls 1.2

[x] mutual tls

Links

https://blog.codeship.com/how-to-set-up-mutual-tls-authentication/ - Mutual TLS blog

Instructions

To test the implementation of HTTPS follow these steps

    git clone https://github.com/Ankcorn/mutual-tls-example.git
    cd mutual-tls-example
    npm install
    ./nginx/gen_certs.sh
    docker-compose up -d
    npm test

About

Example of mutual TLS using nginx and docker-compose


Languages

Language:JavaScript 58.3%Language:Shell 35.5%Language:Dockerfile 6.2%