Change letsencrypt challenge to https

Issue #369 resolved
Ronny Laborius created an issue

Hi,

to use the TLS letsencrypt feature, a challenge in http://{host} is sent to letsencrypt. In my setup, i have a nginx reverse proxy in front of the mailserver.

So all http request will be redirected to https. Is it possible to change the initial challenge from http to https ?

Thanks

Comments (4)

  1. Ronny Laborius reporter

    I have done this ... The problem is the offload nginx in front of the mailserver redirects all to https

    so this one

    http://{host}/.well-known/acme-challenge/

    is redirected to

    https://{host}/.well-known/acme-challenge/

    which is not available

  2. SH repo owner

    You need to change settings of nginx in front of mailserver to not redirect, acme challenge http-01 requires token be accessible through HTTP...

  3. Ronny Laborius reporter

    Ok thanks i try to find out how ... Thought there is an option in Letsencrypt to change the challenge to https

    Thanks Ronny

  4. Log in to comment