Is '-agree' flag required when using 'tls' directive in caddyfile?

Title pretty much says it all.

If I have a Caddyfile with a ‘tls’ directive, will Caddy still prompt for agreement (or require ‘-agree’ flag on start) to successfully acquire a certificate, or does the tls directive imply agreement?

Using a tls directive does not imply agreement to the terms and conditions. Unless you’ve already got an account created and saved in the caddypath, running Caddy with a tls directive but no -agree flag will require an interactive prompt.

That’s what I figured. Thanks.

1 Like

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