Failed to load system roots and no roots provided

when i enable https, output some error

no plugins found, use caddyplug to add plugins
Activating privacy features... 2018/07/20 03:42:53 making ACME client to get ToS URL: get directory at 
'https://acme-v02.api.letsencrypt.org/directory': failed to get json "https://acme-v02.api.letsencrypt.org/directory": Get https://acme-v02.api.letsencrypt.org/directory: x509: failed to load system roots and no roots provided

my env:
a alpine docker

Solved

Alpine

apk add --no-cache --update ca-certificates
1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.