LE will follow redirects, but does the path need to be strict?


#1

The thread/comments here make it clear that LE will follow redirects to complete domain authentication.

When performing authentication with redirects, are we required to follow the same strict url path convention like this:

www.originaldomain.com/.well-known/acme-challenge/myAuthFileGUID

redirects to >>>

www.myredirectdomain.com/.well-known/acme-challenge/myAuthFileGUID

or will redirects with LE allow us to auth more flexibly like this:

www.originaldomain.com/.well-known/acme-challenge/myAuthFileGUID

redirects to >>>

www.myredirectdomain.com/whatever/we/want

…so long as the redirect url returns the correct value, which is the contents of the auth file we got back from the achall response?


#2

The latter is totally fine.