HUB
Sign inSign up
certshelper logo

fonoster/certshelper

By fonoster

•Updated about 5 years ago

Image
0

624

fonoster/certshelper repository overview

⁠Self Signed Certificates Helper

Helper to generate self signed certificates

publish to docker

This docker image helps to quickly create a self signed certificate. Useful for testing environment only.

⁠Available Versions

You can see all images available to pull from Docker Hub via the Tags⁠ page. Docker tag names that begin with a "change type" word such as task, bug, or feature are available for testing and may be removed at any time.

⁠Installation

You can clone this repository and manually build it.

cd certshelper
docker build -t fonoster/certshelper:%%VERSION%% .

Otherwise you can pull this image from docker index.

docker pull fonoster/certshelper:latest:%%VERSION%%

⁠Usage Example

The following is a minimal example of using this image.

docker run -it \
  -v $(pwd)/certs:/certs \
  -e SUBJECT=localhost \
  -e CERT_NAME=client \
  fonoster/certshelper

⁠Environment Variables

Run environment variables are used in the entry point script to render configuration templates. You can specify the values of these variables during docker run, docker-compose up, or in Kubernetes manifests in the env array.

  • CA_KEY - Path of Certificate Authority key file. Defaults is ca-key.pem
  • CA_CERT - Path to Certificate Authority certificate. Defaults is ca.crt
  • CERT_NAME - Name of the certificate. Default is cert
  • SUBJECT - Subject for the certificate. Default is localhost

Please check the gen-cert⁠ script for more environment variables.

⁠Volumes

  • /certs - Location of the generated certificates

⁠Contributing

Please read CONTRIBUTING.md⁠ for details on our code of conduct, and the process for submitting pull requests to us.

⁠Authors

See also the list of contributors who participated⁠ in this project.

⁠License

Copyright (C) 2020 by Fonoster Inc. MIT License (see LICENSE⁠ for details).

Tag summary
Recent tags
Content type
Image
Digest
Size
4.3 MB
Last updated
about 5 years ago
docker pull fonoster/certshelper:latest