Create certificate for a domain that is located on a different host


root@debian:/home/solar/letsencrypt# ./letsencrypt-auto -d
Checking for new version…
Requesting root privileges to run letsencrypt…
/root/.local/share/letsencrypt/bin/letsencrypt -d
Failed authorization procedure. (tls-sni-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Correct zName not found for TLS SNI challenge. Found ‘,


  • The following errors were reported by the server:

    Type: unauthorized
    Detail: Correct zName not found for TLS SNI challenge. Found,

    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.


Take a look at the manual plugin.

You can use it with ./letsencrypt-auto certonly --manual -d It will ask you to place files under a certain path on the server where your domain is hosted at in order to verify ownership of the domain.

You’ll have to repeat those steps manually every 90 days.


The alternate client was designed for automating installation on remote hosts ( it does require ssh to securely transfer the challenge and then the certificates )

Alternatively it might be worth looking at the DNS challenge ( supported by several of the alternate clients - I know the three bash ones do )


Hey @engin,

just use the manual way to get the certificate:

letsencrypt certonly -a manual -d

certonly: Obtain cert, but do not install it

While using this mode, you need to publish a document on the target webserver to authenticate via file:

For example:{some_random_string}
with the shown content during the authentication process.


There’s also some work in progress to add remote webroot support (so you could say "send challenges via scp to www@remotehost:/var/www/example_site" or something). This will eventually be possible and then should be another alternative for some situations like this.


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