Skip to content

Commit 136550b

Browse files
committed
docs(docker): add TRUSTED_CA_FILE env var for custom CA certificates
1 parent 060ce4d commit 136550b

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

docs/installation/docker.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,21 @@ docker logs poweradmin | grep -i password
251251
| `PA_OIDC_ENABLED` | false | Enable OpenID Connect |
252252
| `PA_SAML_ENABLED` | false | Enable SAML authentication |
253253

254+
### Custom CA Certificate
255+
256+
| Variable | Default | Description |
257+
|----------|---------|-------------|
258+
| `TRUSTED_CA_FILE` | - | Path to a custom CA certificate file inside the container |
259+
260+
Use this when connecting to services (OIDC, SAML, LDAP, PowerDNS API) that use self-signed or internal CA certificates:
261+
262+
```bash
263+
docker run -d --name poweradmin -p 80:80 \
264+
-e TRUSTED_CA_FILE=/certs/my-ca.crt \
265+
-v /path/to/my-ca.crt:/certs/my-ca.crt:ro \
266+
poweradmin/poweradmin
267+
```
268+
254269
### Miscellaneous
255270

256271
| Variable | Default | Description |

0 commit comments

Comments
 (0)