Sign inSign up

acmephp/testing-ca

By acmephp

Updated over 7 years ago

Image of a ACME/Let's Encrypt protocol Certificate Authority server for testing purposes

Image
2

6.1K

acmephp/testing-ca repository overview

Acme Testing CA

Provide a Certificate Authority server for testing purpose.

Requirements

  • docker

Usage

Hosted on Docker Hub: https://hub.docker.com/r/acmephp/testing-ca/

Start the server container in background.

docker run -d --net host --add-host acmephp.com:127.0.0.1 acmephp/testing-ca
docker run -d --add-host acmephp.com:127.0.0.1 acmephp/testing-ca

By design, the CA server will resolve the DNS for domains you are requesting. For testing purpose you have 2 way to resolve challenges

  • Running several containers in the same network. The domain to test is the name of the container. Docker will automatically resolve the name of the container
  • Starting testing-ca on the host network, and declare domains with --add-host
docker run -d --net host --add-host acmephp.com:127.0.0.1 acmephp/testing-ca
docker run -d --add-host acmephp.com:127.0.0.1 acmephp/testing-ca

Configure your application to call the testing CA with the following endpoints

https://127.0.0.1:14000/dir

Tag summary

Content type

Image

Digest

Size

144.1 MB

Last updated

over 7 years ago

docker pull acmephp/testing-ca