Skip to content

sjucovschi/mutual-ssl-dev-certificates

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Generate certificates for testing 2 way TLS

This project creates all files needed for enabling testing of a 2 way TLS setup (Mutual SSL). The client and sever certificates are created by using a root certificate authority. The ca-cert.pem certificate is used to validate the identity of the two.

The domains.ext files define the domain names that these certificates are valid for. I've included host.docker.internal, besides localhost, so that MSSL and SSL requests could work between two docker hosts.

To recreate the certificates run the .sh script in the root folder. The certificates to use will be copied over to the dist folder.

The folder named postman, inside the dist folder, contains certificates that enable testing through Postman. Go to Postman/Settings/Certificates and add them there.

About

Create your own self signed certs for 2 way TLS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%