Failed Authorisation Procedure


I’m having some trouble getting the the client working with this command :

./letsencrypt-auto certonly --webroot -w /path-to-root to -d

I get this error:

  • The following errors were reported by the server:

    Type: unauthorized
    Detail: Error parsing key authorization file: Invalid key
    authorization: 1 parts

    To fix these errors, please make sure that your domain name was
    entered correctly and the DNS A record(s) for that domain
    contain(s) the right IP address.

Obviously, the domain is mine and resolves to the server I’m using.

I can access when set up using a self-cert.

Anybody know what’s going on?



For some reason, when Boulder wants to check the token in the challenge file, located in /.well-known/acme-challenge/RaNdOmCharsHere, the contents of the challenge file (/token) is incorrect.

Does your server respond with some sort of error message/some other file when serving files in /.well-known/acme-challenge/?