Unable to start caddy - acme: Trying to solve TLS-SNI-01

When starting caddy i get the following error:

Mar 02 07:49:32 example.net systemd[1]: Stopped Caddy HTTP/2 web server.
Mar 02 07:49:32 example.net systemd[1]: Started Caddy HTTP/2 web server.
Mar 02 07:49:32 example.net caddy[30216]: Activating privacy features...2017/03/02 07:49:32 [INFO][test.example.net] acme: Obtaining bundled SAN certificate
Mar 02 07:49:33 example.net caddy[30216]: 2017/03/02 07:49:33 [INFO][test.example.net] acme: Trying to solve TLS-SNI-01
Mar 02 07:49:34 example.net systemd[1]: caddy.service: Main process exited, code=exited, status=1/FAILURE
Mar 02 07:49:34 example.net systemd[1]: caddy.service: Unit entered failed state.
Mar 02 07:49:34 example.net systemd[1]: caddy.service: Failed with result 'exit-code'.

My caddy file:

test.example.net {
        proxy / 127.0.0.1:8000 {
                proxy_header Host {host}
                proxy_header X-Forwarded-Proto {scheme}
                except /assets
        }
        root /home/www/example.net
        tls chaos@example.net
}

Changed my domain to example.net for pasting. I did make sure to run the command to allow caddy to bind to :443… Not sure what is causing this. Any help would be awesome.

Does Caddy give any more info if you run it manually rather than via systemd?

1 Like

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