Closed fpcarv closed 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
--- 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)
My mistake :-( bad configuration at getssl.cfg
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)