acme.sh icon indicating copy to clipboard operation
acme.sh copied to clipboard

setting CERT_HOME

Open ghost opened this issue 4 years ago • 2 comments

I am not sure if this is a bug per say but during the install process I set cert-home location and when I execute/issue certificate it is stored in /root/acme.sh. How do I fix that?

ghost avatar Jan 25 '21 19:01 ghost

Possible duplicate of #3153

C-Duv avatar Feb 23 '21 16:02 C-Duv

Hi, i encured the same issue. I solved it editing the file acme.sh.env and adding --cert-home to alias:

alias acme.sh="/etc/acme/acme.sh --config-home '/etc/acme/conf' --home '/etc/acme' --cert-home '/etc/acme'"

Make sure you have this line:

. "/acme_install_path/acme.sh.env" in .bashrc

and finally you can do:

source acme.sh.env 
source .bashrc

hamadodene avatar Mar 21 '24 09:03 hamadodene