Challenge validation over https link #451

Closed
opened 2025-12-29 01:25:31 +01:00 by adam · 4 comments
Owner

Originally created by @Jancs-E on GitHub (Jan 4, 2020).

Hi!
I already have https server running and wanted to have the challenge validation happening using it, but I got an error showing that the challenge verification happened using regular http link.

Is it possible to switch it over or I have to create the dummy http host just for verification?

Originally created by @Jancs-E on GitHub (Jan 4, 2020). Hi! I already have https server running and wanted to have the challenge validation happening using it, but I got an error showing that the challenge verification happened using regular http link. Is it possible to switch it over or I have to create the dummy http host just for verification?
adam closed this issue 2025-12-29 01:25:31 +01:00
Author
Owner

@jobe1986 commented on GitHub (Jan 4, 2020):

When using http-01 Let's Encrypt will always try http:// instead of https://, however they will automatically follow redirects to https:// so if you create a dummy vhost it will only need to redirect to https://

@jobe1986 commented on GitHub (Jan 4, 2020): When using http-01 Let's Encrypt will always try http:// instead of https://, however they will automatically follow redirects to https:// so if you create a dummy vhost it will only need to redirect to https://
Author
Owner

@Jancs-E commented on GitHub (Jan 4, 2020):

Citēts Matthew Beeching notifications@github.com
Fri, 03 Jan 2020 23:52:31 -0800:

When using http-01 Let's Encrypt will always try http:// instead of
https://, however they will automatically follow redirects to
https:// so if you create a dummy vhost it will only need to
redirect to https://

unfortunately it is not the option in some cases - when both http and
https are used on the same server

ph. +37129203061

http://dict.dv.lv

@Jancs-E commented on GitHub (Jan 4, 2020): Citēts Matthew Beeching <notifications@github.com> Fri, 03 Jan 2020 23:52:31 -0800: > When using http-01 Let's Encrypt will always try http:// instead of > https://, however they will automatically follow redirects to > https:// so if you create a dummy vhost it will only need to > redirect to https:// unfortunately it is not the option in some cases - when both http and https are used on the same server -- ph. +37129203061 http://dict.dv.lv
Author
Owner

@lukas2511 commented on GitHub (Jan 4, 2020):

Unfortunately http-01 doesn't allow for anything else but access using http://. If you need validation on port 443 you'll need to use tls-alpn-01 which is a lot more complicated to set up. There is a bit of example config + code in the docs directory, but since there are tons of options for this it's hard to explain for every possible configuration.

@lukas2511 commented on GitHub (Jan 4, 2020): Unfortunately http-01 doesn't allow for anything else but access using http://. If you need validation on port 443 you'll need to use tls-alpn-01 which is a lot more complicated to set up. There is a bit of example config + code in the docs directory, but since there are tons of options for this it's hard to explain for every possible configuration.
Author
Owner

@Jancs-E commented on GitHub (Jan 4, 2020):

Citēts Lukas Schauer notifications@github.com
Sat, 04 Jan 2020 08:12:15 -0800:

Unfortunately http-01 doesn't allow for anything else but access
using http://. If you need validation on port 443 you'll need to use
tls-alpn-01 which is a lot more complicated to set up. There is a
bit of example config + code in the docs directory, but since there
are tons of options for this it's hard to explain for every possible
configuration.

Thank you, I will look into tls-alpn-01

Janis

ph. +37129203061

http://dict.dv.lv

@Jancs-E commented on GitHub (Jan 4, 2020): Citēts Lukas Schauer <notifications@github.com> Sat, 04 Jan 2020 08:12:15 -0800: > Unfortunately http-01 doesn't allow for anything else but access > using http://. If you need validation on port 443 you'll need to use > tls-alpn-01 which is a lot more complicated to set up. There is a > bit of example config + code in the docs directory, but since there > are tons of options for this it's hard to explain for every possible > configuration. Thank you, I will look into tls-alpn-01 Janis -- ph. +37129203061 http://dict.dv.lv
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/dehydrated#451