I'm trying to use caddy v2 but I'm getting this error (tried with caddy:2.0.0-alpine and caddy:latest from Docker as well ... same results after installed nss-tools):
mySoloApp.1.mwq7f87wutja@hallo | {"level":"info","ts":1593503577.8973098,"msg":"using provided configuration","config_file":"Caddyfile","config_adapter":""}
mySoloApp.1.mwq7f87wutja@hallo | {"level":"info","ts":1593503577.9260137,"logger":"admin","msg":"admin endpoint started","address":"tcp/localhost:2019","enforce_origin":false,"origins":["localhost:2019","[::1]:2019","127.0.0.1:2019"]}
mySoloApp.1.mwq7f87wutja@hallo | 2020/06/30 07:52:57 [INFO][cache:0xc00003d380] Started certificate maintenance routine
mySoloApp.1.mwq7f87wutja@hallo | {"level":"info","ts":1593503577.9409568,"logger":"http","msg":"enabling automatic HTTP->HTTPS redirects","server_name":"srv0"}
mySoloApp.1.mwq7f87wutja@hallo | {"level":"info","ts":1593503577.9440491,"logger":"tls","msg":"cleaned up storage units"}
mySoloApp.1.mwq7f87wutja@hallo | {"level":"warn","ts":1593503577.9619067,"logger":"pki.ca.local","msg":"installing root certificate (you might be prompted for password)","path":"storage:pki/authorities/local/root.crt"}
mySoloApp.1.mwq7f87wutja@hallo | 2020/06/30 07:52:57 not NSS security databases found
mySoloApp.1.mwq7f87wutja@hallo | 2020/06/30 07:52:57 define JAVA_HOME environment variable to use the Java trust
mySoloApp.1.mwq7f87wutja@hallo | {"level":"error","ts":1593503577.9627054,"logger":"pki.ca.local","msg":"failed to install root certificate","error":"install is not supported on this system","certificate_file":"storage:pki/authorities/local/root.crt"}
mySoloApp.1.mwq7f87wutja@hallo | {"level":"info","ts":1593503577.9628742,"msg":"autosaved config","file":"/root/.config/caddy/autosave.json"}
mySoloApp.1.mwq7f87wutja@hallo | {"level":"info","ts":1593503577.962932,"msg":"serving initial configuration"}
LE: Fixed it ... I just used caddy v2.1
Hi,
I'm trying to use caddy v2 but I'm getting this error (tried with caddy:2.0.0-alpine and caddy:latest from Docker as well ... same results after installed nss-tools):
What should I do to fix this issue?
Regards,
LE: Fixed it ... I just used caddy v2.1