Skip to content
/ sra Public

A smallstep registration authority for DNS3L

License

Notifications You must be signed in to change notification settings

dns3l/sra

Repository files navigation

CI workflow GitHub release Semantic Release License

Smallstep registration authority for DNS3L

docker pull ghcr.io/dns3l/sra

Configuration

variable note default
ENVIRONMENT production or other deployments
SRA_BIND Registration Authority Bind Port or Address :9443
SRA_DNS Registration Authority DNS Names "localhost", "acmera"
STEP_CA_URL Certificate Manager Authority URL https://stepca:9000
STEP_CA_FINGERPRINT Certificate Manager Authority Fingerprint foobar
STEP_CA_PROVISIONER Certificate Manager JWK Provisioner Name acme-ra
STEP_CA_PASSWORD JWK provisioner password random
SRA_DATABASE MariaDB database name acmera
SRA_DB_USER database user acmera
SRA_DB_PASS user password random
SRA_DB_HOST MariaDB server IP/FQDN db
SRA_RESOLVER Optional DNS resolver IP (1.2.3.4:53)
MARIADB_ROOT_PASSWORD MariaDB root password

If ENVIRONMENT is ! production and MARIADB_ROOT_PASSWORD is set the database and user are created.

Mount a custom step-ca config to /etc/stepca.conf.json if environment based template seems not sufficient.