Can't create certificates for subdomains

I’ve create certificate for mac-guitars.com and www.mac-guitars.com (already setup and working). When I try to create certificates for any subdomain like mail.mac-guitars.com then the client fails with the following.

sudo ./letsencrypt-auto certonly --agree-dev-preview --server https://acme-v01.api.letsencrypt.org/directory -t -d cloud.mac-guitars.com
Updating letsencrypt and virtual environment dependencies…
Running with virtualenv: /root/.local/share/letsencrypt/bin/letsencrypt certonly --agree-dev-preview --server <server uri here, cannot post because of new users limit> -t -d cloud.mac-guitars.com
An unexpected error occurred.
Error: unauthorized :: The client lacks sufficient authorization :: Error creating new authz :: Name is not whitelisted
Please see the logfiles in /var/log/letsencrypt for more details.

What seems to be the problem here?

see: Subdomains during Beta

1 Like