Files
Jamie Curnow 6845b1af98 Update all references to correct dockerhub location:
nginxproxymanager/testca

Also remove armv7 from build as upstream image doesn't use that either
2026-05-13 10:06:58 +10:00

53 lines
1.4 KiB
Markdown

# testca
<p>
<a href="https://hub.docker.com/repository/docker/nginxproxymanager/testca">
<img src="https://img.shields.io/docker/stars/nginxproxymanager/testca.svg?style=for-the-badge">
</a>
<a href="https://hub.docker.com/repository/docker/nginxproxymanager/testca">
<img src="https://img.shields.io/docker/pulls/nginxproxymanager/testca.svg?style=for-the-badge">
</a>
</p>
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
```