# testca
This is a ready-to-go [step-ca](https://hub.docker.com/r/smallstep/step-ca) docker image, for use in development and CI testing of [nginx-proxy-manager](https://github.com/NginxProxyManager/nginx-proxy-manager). ### Usage: docker-compose.yml: ```yml version: "3" services: testca: image: nginxproxymanager/testca networks: default: aliases: - ca.internal ``` You'll need to grab the root CA from this project `step/certs/root_ca.crt` and bootstrap it (install it) in your system before you will be able to trust this CA. You can also install this as part of a Dockerfile: ``` FROM nginxproxymanager/testca as testca FROM alpine COPY --from=testca /home/step/certs/root_ca.crt /etc/ssl/NginxProxyManager.crt ``` If you are using the `step` client: ``` step ca bootstrap --ca-url https://ca.internal \ --fingerprint 324f766f1bbfe9bb292d7185267ab46ef8b8efa9b2799853997bfcc3f18b446f ``` Then use the following acme url: ``` https://ca.internal/acme/nginxproxymanager/directory ```