Sign inSign up

spifftastic/openssl-certgen

By spifftastic

•Updated almost 10 years ago

Debian based image with openssl for ssl certificate generation. Forked from centurylink/openssl.

Image
0

691

spifftastic/openssl-certgen repository overview

⁠openssl

Alpine-based image with OpenSSL for SSL certificate generation. Forked from the centurylink/openssl⁠ image.

⁠Usage

docker run --rm \
	-e COUNTRY_NAME=<Country Name> \
	-e COMMON_NAME=<Common Name> \
	-e KEY_NAME=<Cert File Names Prefix> \
	-v /var/certs:/certs \
	spifftastic/openssl-certgen

⁠Environment Variables

  • COUNTRY_NAME - The country name. Defaults to nothing.
  • COMMON_NAME - The common name.
  • KEY_NAME - The name to use for the CSR, certificate, and key. By default, the files are KEY_NAME.csr, KEY_NAME.crt, and KEY_NAME.key, respectively.
  • KEY_FILE - An explicit key file to use instead of KEY_NAME.key. If KEY_NAME is not set, you must also set CRT_FILE.
  • CRT_FILE - An explicit certificate file name to use instead of KEY_NAME.crt. If KEY_NAME is not set, you must also set KEY_FILE.

Tag summary

Content type

Image

Digest

Size

2.4 MB

Last updated

almost 10 years ago

docker pull spifftastic/openssl-certgen