Skip to content

max-lt/client-tls-authentication

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Client TLS authentication test

This repository is made to test client tls authentication.

Dependencies:

You will need docker and openssl installed on your machine.

Prerequisites:

You must have a certificate for your server: (it can be self signed*)

HTTP_TLS_CERTIFICATE=path/to/certificate.crt
HTTP_TLS_KEY=path/to/certificate.key

* Generate self signed certificate: openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout nginx.key -out nginx.crt

Setup:

  • Generate a certificate authority: ./gen-master
  • Generate client key/certificate: ./gen-cert
  • Add the generated client key (cert/client/client.p12) on your browser.

Run the server

./run

About

Sandbox repository to play with client TLS authentication.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages