caddyserver / caddy-docker

Source for the official Caddy v2 Docker Image
https://hub.docker.com/_/caddy
Apache License 2.0
405 stars 74 forks source link

2.7-alpine warning: "certutil" is not available #303

Closed ikluft closed 1 year ago

ikluft commented 1 year ago

The 2.7-alpine container image displays a warning, and fails to start unless it's fixed:

INFO warning: "certutil" is not available, install "certutil" with "apt install libnss3-tools" or "yum install nss-tools" and try again

The fix is to install the nss-tools apk package.

run-caddy-issue.txt

francislavoie commented 1 year ago

That's just a warning (not an error), and it does not fail to start. You can safely ignore that.

When using the internal issuer, Caddy attempts to install its root cert using multiple approaches. Using certutil is one of those approaches.

It's only needed if you have any software in the container which uses nss. Caddy does not, so it doesn't need it.