Caddy tls configure problem

I want to use the email to register the certificate, can configure the maximum and minimum range of the encryption protocol version. Is there any way to achieve this?

Hi @faritor,

Set your email with the -email CLI flag:

Or per site with the tls directive:

Which also allows for configuration of the min/max protocol with the protocols subdirective:

No, you don’t understand. I want to use email to register the certificate and configure the encryption protocol version. I refer to the official website documentation, but I have not found a suitable solution. {
        tls {
               protocols tls1.0 tls1.2

this is wrong

Try both separately. {
  tls {
    protocols tls1.0 tls2.0

Solved my problem, thank you very much

1 Like

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