Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upgrade not working on 2.45 version #728

Closed
hallonstedt opened this issue Nov 6, 2021 · 1 comment
Closed

upgrade not working on 2.45 version #728

hallonstedt opened this issue Nov 6, 2021 · 1 comment
Assignees
Labels

Comments

@hallonstedt
Copy link

It seems that the upgrade functionality is still soemwhat broken. If I add the --upgrade or -u switch to getssl it just lists the options as if the upgrade switch was not recognized.

linux:/usr/local/bin# /usr/local/bin/getssl --upgrade
getssl ver. 2.45
Obtain SSL certificates from the letsencrypt.org ACME server

Usage: getssl [-h|--help] [-d|--debug] [-c|--create] [-f|--force] [-a|--all] [-q|--quiet] [-Q|--mute] [-u|--upgrade] [-X|--experimental tag] [-U|--nocheck] [-r|--revoke cert key] [-w working_dir] [--preferred-chain chain] domain

Options:
  -a, --all          Check all certificates
  -d, --debug        Output debug information
  -c, --create       Create default config files
  -f, --force        Force renewal of cert (overrides expiry checks)
  -h, --help         Display this help message and exit
  -i, --install      Install certificates and reload service
  -q, --quiet        Quiet mode (only outputs on error, success of new cert, or getssl was upgraded)
  -Q, --mute         Like -q, but also mute notification about successful upgrade
  -r, --revoke   "cert" "key" [CA_server] Revoke a certificate (the cert and key are required)
  -u, --upgrade      Upgrade getssl if a more recent version is available - can be used with or without domain(s)
  -X, --experimental tag  Upgrade to experimental releases, specified by tag (e.g. v9.43)
  -U, --nocheck      Do not check if a more recent version is available
  -v  --version      Display current version of getssl
  -w working_dir "Working directory"
  --preferred-chain "chain" Use an alternate chain for the certificate

@timkimber timkimber self-assigned this Nov 11, 2021
@timkimber timkimber added the bug label Nov 11, 2021
@timkimber
Copy link
Member

Hi @hallonstedt

Thanks for reporting this. I've just tested and the -u option does upgrade getssl if there is a new version, but it always prints the usage message. I'll fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants