dkeshri/ca-cert

By dkeshri

Updated 11 days ago

This repository will help users to create Certificate Authority

Image
Networking
0

46

Certificate Authority

This image will help user to create Certificate Authourity. They can use that certificate to sign certificate for the server. and Install this CACert to client machine so that SSL Certification will have complete handshake, and browser will validate server certificate valid.

How to generate CA certificate

Note:

  • Replace pathToHostMachine with you actual host machine path where you want certificate to be create.
  • Make sure to create the diriectory before running below command.
docker run -v pathToHostMachine:/etc/certificate --name ca-cert dkeshri/ca-cert
Eaxmple

On Windows machine let's say you want to generate certificate at path D:/Dev/CACert

docker run -v D:/Dev/CACert:/etc/certificate --name ca-cert dkeshri/ca-cert

Install CA Certificate on Client Machine

Windows

certutil.exe -addstore root D:\Dev\CACert\StoreCA.crt

Docker Pull Command

docker pull dkeshri/ca-cert