root@debian:/home/solar/letsencrypt# ./letsencrypt-auto -d meralyemek.web.tr
Checking for new version…
Requesting root privileges to run letsencrypt…
/root/.local/share/letsencrypt/bin/letsencrypt -d meralyemek.web.tr
Failed authorization procedure. meralyemek.web.tr (tls-sni-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Correct zName not found for TLS SNI challenge. Found ‘www.firstmarca.com, firstmarca.com’
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.
You can use it with ./letsencrypt-auto certonly --manual -d example.com. 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 https://github.com/srvrco/getssl 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 )
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.