-
Notifications
You must be signed in to change notification settings - Fork 136
Open
Description
When configuring NIPAPD for remote postgresql, and DB_SSLMODE=require, where or what configuration parameters need to be set that specify the use of certificate, key and ca-certificate file (paths)?
Steps to reproduce
- Create a set of TLS certificate, key and ca-certificate
- Create a postgresql container with TLS enable
- Use the following env file for the docker version of nipapd
#~/nipap.env
LISTEN_ADDRESS=0.0.0.0
LISTEN_PORT=1337
SYSLOG=true
DB_HOST=pgsql._redacted_
DB_PORT=35432
DB_NAME=nipap
DB_USERNAME=nipap
DB_PASSWORD=_redacted_
DB_SSLMODE=require
NIPAPD_USERNAME=nipapd
NIPAPD_PASSWORD=_redacted_
NIPAPD_HOST=nipapd
NIPAPD_PORT=1337
WWW_USERNAME=nipap
WWW_PASSWORD=_redacted_
- Run the container
docker run --rm --name nipapd-test --env-file ~/nipap.env --network=test nipap/nipapd:latest
The output is
Metadata
Metadata
Assignees
Labels
No labels
