ERROR: Challenge is invalid!


#1

Dear team,
Just ran into another issue with renewing my domain webrz.net
Can you tell me what is wrong here? Thanks.

Processing webrz.net with alternative names: www.webrz.net

  • Checking domain name(s) of existing cert… unchanged.
  • Checking expire date of existing cert…
  • Valid till Apr 26 11:37:35 2018 GMT (Less than 30 days). Renewing!
  • Signing domains…
  • Generating private key…
  • Generating signing request…
  • Requesting authorization for webrz.net
  • Requesting authorization for www.webrz.net
  • 2 pending challenge(s)
  • Deploying challenge tokens…
  • Responding to challenge for webrz.net authorization…
    ERROR: Challenge is invalid! (returned: invalid) (result: {
    “type”: “http-01”,
    “status”: “invalid”,
    “error”: {
    “type”: “urn:acme:error:connection”,
    “detail”: “Fetching https:/www.webrz.net/.well-known/acme-challenge/YuQMG0CkWdeXEk4FkuODRHLNAG-0OctT3SalA97JLQk: Error getting validation data”,
    “status”: 400
    },
    “uri”: “https://acme-v01.api.letsencrypt.org/acme/challenge/LhuGotsqd1CUTmmmpQZi1ayi6nTl_TAodyOLYKi5yT0/4028523856”,
    “token”: “YuQMG0CkWdeXEk4FkuODRHLNAG-0OctT3SalA97JLQk”,
    “keyAuthorization”: “YuQMG0CkWdeXEk4FkuODRHLNAG-0OctT3SalA97JLQk.VDqQwSUkpBfZRW4VkTQONFmmQCEF81bEBxi1eadN310”,
    “validationRecord”: [
    {
    “url”: “https:///www.webrz.net/.well-known/acme-challenge/YuQMG0CkWdeXEk4FkuODRHLNAG-0OctT3SalA97JLQk”,
    “hostname”: “”,
    “port”: “443”
    },
    {
    “url”: “http://webrz.net/.well-known/acme-challenge/YuQMG0CkWdeXEk4FkuODRHLNAG-0OctT3SalA97JLQk”,
    “hostname”: “webrz.net”,
    “port”: “80”,
    “addressesResolved”: [
    “83.161.133.58”
    ],
    “addressUsed”: “83.161.133.58”
    }
    ]
    })
    Deploying Let’s Encrypt certificates:
    Skipped, deploy script not set or not executable.

#2

The site is redirecting http://webrz.net/ to https:/www.webrz.net/, which is missing a / between the scheme and hostname.

Check the Apache configuration for something like “Redirect / https:/www.webrz.net/” and add another “/” so it’s “Redirect / https://www.webrz.net/


#3

Stupid typo - thanks for this.
/Jos


#4

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