Solved security/acme.sh issue?

I recently moved to a new server. After installing security/acme.sh and moving all the config files over, acme.sh no longer reads it's configuration file when issuing commands.

I've moved everything (config/certs) to the proper location (/var/db/acme/).

This no longer works, and used to before the server move :
Code:
acme.sh --issue -d "*.example.com" -d "example.com" --dns "dns_aws"

It complains about not recognizing "dns_aws" as a valid dns option and copies the certs to /home/user/.acme.sh instead of where the rest of my certificates are located /var/db/acme/certs/

Any idea what I need to do to fix it?
 
What version is security/acme.sh? If you installed it from the quarterly repository you may not have the version with the new DNS providers. Latest has 2.8.6 and quarterly has 2.8.5.
 
Ok, it appears I forgot to move my /root/.cshrc file over to the new server.

I noticed editors/nano was not set as the default editor for root when updating cron. I'm assuming I also had set the environment variable LE_WORKING_DIR to /var/db/acme/.acme.sh in there as well. That would let me create certificates without having to use --home /var/db/acme/.acme.sh command switch.

Marking this as solved.
 
Back
Top