./letsencrypt-auto: Permission denied

Hello i'm on paid Hosting (Shared).

My server is Apache & OS Linux srv19.main-hosting.eu 2.6.32-531.29.2.lve1.3.11.10.el6.x86_64 #1 SMP Fri Jun 12 15:09:02 EDT 2015 x86_64 x86_64 x86_64 GNU/Linux

After successful git-clone and cd letsencrypt i run this command ./letsencrypt-auto --apache -d xyz.org -d www.xyz.org but i get this error on my putty all the time " -bash: ./letsencrypt-auto: Permission denied"

Please help me install certificate with proper commands ,consider me a novice user.


You should run ls -l letsencrypt-auto-source/letsencrypt-auto to see whether that file is executable.

I’d run it with bash -x ./letsencrypt-auto ... to see where it’s getting hung up.

Do you have root on this shared hosting server? If not, you’re going to run into trouble.

As you are on a shared server, I don’t think you can run the official client. You will probably need to run one of the “Alternate clients” - I’d suggest one of the Bash clients ( since they have the minimum requirements).

1 Like

@serverco Thanks, but i am waiting for @jsha official reply.

Will see if they got a solution else i will try your’s and feedback here for sure so that other’'s also get solution if they similar problem as mine

Please help as early as possible

@serverco is correct.

You can’t use the official LE client, this is how I generated my certs with Hostinger.

  1. SSH, like you have.
  2. git clone https://github.com/kelunik/acme-client
  3. cd acme-client
  4. php -r “copy(‘https://getcomposer.org/installer’, ‘composer-setup.php’);”; php composer-setup.php; php -r “unlink(‘composer-setup.php’);”; php composer.phar install --no-dev
  5. php bin/acme issue --domains xyz.org:www.xyz.org --path /home/USERNAME/public_html:/home/USERNAME/public_html --server letsencrypt

I’ve not got a daily cron job attempting to renew my certs.

1 Like