https://github.com/nginxproxymanager/docker-testca
https://github.com/nginxproxymanager/docker-testca
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/nginxproxymanager/docker-testca
- Owner: NginxProxyManager
- Created: 2021-07-28T11:27:36.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2023-03-15T05:21:50.000Z (over 2 years ago)
- Last Synced: 2025-01-18T02:26:10.414Z (5 months ago)
- Language: Dockerfile
- Size: 17.6 KB
- Stars: 4
- Watchers: 4
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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](jc21/nginx-proxy-manager).### Usage:
docker-compose.yml:
```yml
version: "3"
services:
testca:
image: jc21/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 jc21/testca as testca
FROM alpineCOPY --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
```