srvrco / getssl

obtain free SSL certificates from letsencrypt ACME server Suitable for automating the process on remote servers.
GNU General Public License v3.0
2.07k stars 372 forks source link

getssl -w (working directory) #815

Closed fpcarv closed 9 months ago

fpcarv commented 9 months ago

Describe the bug The -w option (working directory) seems not to be working. getssl tries to use /root/.getssl no matter what the -w option is

To Reproduce

getssl -a -w /etc/getssl/

--- The output: ---

Check all certificates creating account key /root/.getssl/account.key creating key - /root/.getssl/account.key /usr/sbin/getssl: line 1185: /root/.getssl/account.key: No such file or directory getssl: Invalid key file creating account key /root/.getssl/account.key creating key - /root/.getssl/account.key /usr/sbin/getssl: line 1185: /root/.getssl/account.key: No such file or directory getssl: Invalid key file creating account key /root/.getssl/account.key creating key - /root/.getssl/account.key /usr/sbin/getssl: line 1185: /root/.getssl/account.key: No such file or directory getssl: Invalid key file creating account key /root/.getssl/account.key creating key - /root/.getssl/account.key /usr/sbin/getssl: line 1185: /root/.getssl/account.key: No such file or directory getssl: Invalid key file

Expected behavior

Should use the files at /etc/getssl

Operating system (please complete the following information):

linux 6.5.3, CRUX 3.6.1

GNU bash, version 5.2.15(1)-release (x86_64-pc-linux-gnu)

fpcarv commented 9 months ago

My mistake :-( bad configuration at getssl.cfg