mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-01-11 22:30:44 +01:00
Challenge is invalid! possible missing "/" in url #162
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Supergoof on GitHub (Nov 15, 2016).
I have followed the nice example at https://www.aaflalo.me/2016/09/dehydrated-bash-client-lets-encrypt/ and have things setup on an Ubuntu 14.04
But I seem to have a missing slash "/" somewhere and I cant find it.
My output is:
I notice that the hostname is prepended with ".well-known" Could that be the issue ?
Regards and thanks for a nice script
Supergoof
@lukas2511 commented on GitHub (Dec 18, 2016):
This looks like you are doing a redirect on your webserver, and it is missing the '/' on the redirected path, nothing to do with this script or Let's Encrypt.
@cdarken commented on GitHub (Jan 26, 2017):
I don't think it's that because I have the same problem and if I access the url in the browser with 'http' instead of 'https' it redirects correctly. And the alias is created like in your doc file.
@lukas2511 commented on GitHub (Jan 29, 2017):
@cdarken you can clearly see that it first tries the http:// url with correct path and only tries the broken path afterwards, and that only happens if your server is sending a redirect. none of my example configs do redirects, so this has to be something else in your configuration.
since i did this mistake myself a few times i know how easy it is to make, check using curl or something else, your browser might not be a good debugging tool if you have/had hsts enabled, it will do its own redirect and not ask the server on what to do.
Just an example with apache: