#acme.sh: command not found

25 messages · Page 1 of 1 (latest)

vocal wind
#

got this issue trying to create my ssl certificate through cloudflare and cant really understand why
the command im using is

acme.sh --issue --dns dns_cf -d "tb.georgefilos.dev" --server letsencrypt \
--key-file /etc/letsencrypt/live/tb.georgefilos.dev/privkey.pem \
--fullchain-file /etc/letsencrypt/live/tb.georgefilos.dev/fullchain.pem

which is exactly what it says on the website if you change example.com with your domain

regal valve
#

What command did u use?

vocal wind
#

the one i just sent

#

im following this btw

regal valve
#

And you first put in the right api credentials?

vocal wind
#

indeed

#

exported all 3 things it asked for with a new api key i just generated and my credentials

regal valve
#

Just trying to think w u, since i dont use cf myself.

#

Any errors? Since that isnt clear in yr msg

#

Or i overlooked it

vocal wind
#

no just deadass acme.sh: command not found

regal valve
#

And u sure acme is installed properly?

vocal wind
#

hmh

regal valve
#

What was the output of the acme install?

vocal wind
#
root@srv658019:~# curl https://get.acme.sh | sh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1032    0  1032    0     0   9558      0 --:--:-- --:--:-- --:--:--  9644
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  217k  100  217k    0     0  1214k      0 --:--:-- --:--:-- --:--:-- 1220k
[Sat Feb  3 10:50:23 AM PST 2024] Installing from online archive.
[Sat Feb  3 10:50:23 AM PST 2024] Downloading https://github.com/acmesh-official/acme.sh/archive/master.tar.gz
[Sat Feb  3 10:50:23 AM PST 2024] Extracting master.tar.gz
[Sat Feb  3 10:50:23 AM PST 2024] Installing to /root/.acme.sh
[Sat Feb  3 10:50:23 AM PST 2024] Installed to /root/.acme.sh/acme.sh
[Sat Feb  3 10:50:23 AM PST 2024] Installing alias to '/root/.bashrc'
[Sat Feb  3 10:50:23 AM PST 2024] OK, Close and reopen your terminal to start using acme.sh
[Sat Feb  3 10:50:23 AM PST 2024] Installing cron job
1 9 * * * "/root/.acme.sh"/acme.sh --cron --home "/root/.acme.sh" > /dev/null
[Sat Feb  3 10:50:23 AM PST 2024] Good, bash is found, so change the shebang to use bash as preferred.
[Sat Feb  3 10:50:25 AM PST 2024] OK
[Sat Feb  3 10:50:25 AM PST 2024] Install success!
echo tinselBOT
#

There were too many logs to read @vocal wind. Please post 5 or less. Alternatively, please share larger logs using paste sites, such as pteropaste or hastebin.

regal valve
#

I think, you might need to re-open ur current terminal

#

And then try again

vocal wind
#

oh

#

source ~/.bashrc fixed it

regal valve
#

Oh perfect.

vocal wind
#

found a thread from 2 years ago on their github issues

regal valve
#

Nice.

#

I think reopening terminal would also work in that case