Failed authorization procedure

When I enter:
./letsencrypt-auto --agree-dev-preview --server https://acme-v01.api.letsencrypt.org/directory -d example.com -d www.example.com certonly

I get the following error:

Failed authorization procedure. www. example.com (http-01): unauthorized :: The client lacks sufficient authorization :: Error parsing key authorization file: Invalid key authorization: 145 parts, healthfundit.com (http-01): unauthorized :: The client lacks sufficient authorization :: Error parsing key authorization file: Invalid key authorization: 145 parts

IMPORTANT NOTES:
- The following ‘unauthorized’ errors were reported by the server:

Domains: example.com, www. example.com
Error: The client lacks sufficient authorization

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.

How do I fix this?

2 Likes

Is your domain pointing directly to the server you’re running Let’s Encrypt?