Renewing SSL certificate - "letsencrypt-auto: command not found"

My SSL certificate was working fine, but I think it has expired. Thus I tried renewing the certificate. From what I found, I think I needed to run ' letsencrypt-auto renew '. However, I started getting an error:

letsencrypt-auto: command not found

I tried $ letsencrypt-auto renew in also this two paths:

  • $ find / -name letsencrypt-auto
    /root/letsencrypt/letsencrypt-auto-source/letsencrypt-auto
    /root/letsencrypt/letsencrypt-auto

I still get error: letsencrypt-auto: command not found -

What am I doing wrong or missing?

P.S: I am using Nginx from Digital Ocean.


More details:
$ cd /root/letsencrypt/letsencrypt-auto-source
$ letsencrypt-auto renew
letsencrypt-auto: command not found

$ cd /root/letsencrypt
$ letsencrypt-auto renew
letsencrypt-auto: command not found

you need to run it as

letsencrypt-auto

not

letsencrypt-auto-

For example:

cd /root/letsencrypt/; ./letsencrypt-auto renew

P.S. Was trying to post the above example for at least 15 minutes, seems like something is wrong today with LE forums ... :expressionless:

Thanks a lot. After stopping and running this command, I successfully made it work! Hooray!!

1 Like

You should actually switch to using certbot.

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