Skip to content

tiny-company/srv-ssc_generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ssc generator

Description

A simple docker container Self Signed Certificate generator for testing purpose.

🐳 Image is build anb pushed to dockerhub at ssc_generator

Usage

  1. First set the env var :
  • CERT_COUNTRY : two-letter code of your country. For instance, US
  • CERT_STATE : name of the state where your organization is officially registered. For example, California
  • CERT_LOCALITY : locality or city name where your company resides: For example, San Jose
  • CERT_ORGANIZATION : official name of your organization
  • CERT_ORGANIZATIONAL_UNIT : unit name within your organization responsible for managing SSL certificates. For example, IT.
  • CERT_COMMON_NAME : Fully Qualified Domain Name (FQDN) you want to secure or your name. For instance "test.com"

Note : these var can be added in a env file, see env.example file

  1. Start the container using a volume to store generated key and certificate on the host :
  • using env file :
cp example.env .env
# edit .env
docker run --env-file .env -v "<host_certs_path>:/srv/certs" tinycompany/ssc_generator:latest
  • using env in command :
docker run --env CERT_COUNTRY=US \
 --env CERT_STATE=California \
 --env CERT_LOCALITY=San-Jose \
 --env CERT_ORGANIZATION=tiny-company \
 --env CERT_ORGANIZATIONAL_UNIT=IT \
 --env CERT_COMMON_NAME=test \
 -v "<host_certs_path>:/srv/certs" \
 tinycompany/ssc_generator:latest

About

A simple docker container Self Signed Certificate generator for testing purpose.

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors