Commit Graph

813 Commits

Author SHA1 Message Date
Christopher Engelhard 1521199e44 add hidden alias --to-pkcs for --to-pkcs12 2020-08-21 09:56:57 +02:00
Christopher Engelhard 2910be82a4 revert change of --no-color option 2020-08-21 09:54:47 +02:00
Christopher Engelhard 07fdb087dc fix typo 2020-08-21 09:53:04 +02:00
Christopher Engelhard 58150f5dcd change --pkcs to --pkcs12 2020-08-21 09:53:04 +02:00
Christopher Engelhard e7a6ff39f9 fix wrong indentation 2020-08-21 09:53:04 +02:00
Christopher Engelhard b086afb272 fix some more issues in showhelp() 2020-08-21 09:53:04 +02:00
Christopher Engelhard 7decf76883 group commands logically, rearrange option forms in _process()
Commands have been reordered in showhelp() to a more consistent grouping,
help > version > install > certs > csr > account > cron > other

All option alternatives in _process() case statement have been reordered toshow the canonical variants first, legacy variants after.
2020-08-21 09:53:04 +02:00
Christopher Engelhard d81369d63a add hyphenated options, fix wrong -ccr in usage() 2020-08-21 09:53:04 +02:00
Christopher Engelhard c0fbe8237b reformat usage message for consistency & clarity 2020-08-21 09:53:04 +02:00
neil b7b01999d9
fix preferred chain for renewal
fix https://github.com/acmesh-official/acme.sh/issues/3116
2020-08-20 09:13:44 +08:00
neil bb3a986859 Merge branch 'dev' of https://github.com/acmesh-official/acme.sh into dev 2020-08-18 23:28:25 +08:00
neil 50fefc3bb0 minor 2020-08-18 23:28:06 +08:00
Oliver Burgmaier 2d5f14388e Revert "Removed content for clean pull request"
This reverts commit ab47bf6451.
2020-08-18 14:52:23 +02:00
Oliver Burgmaier ab47bf6451 Removed content for clean pull request 2020-08-18 14:01:02 +02:00
Oliver Burgmaier d8bd45c2bd Fix issue #2833 with backslash in JSON
Backslash will be removed form JSON responses for each request
and for the initial configuration request
2020-08-18 13:53:48 +02:00
neil 19c4345162 fix shfmt 2020-08-17 22:18:20 +08:00
neil d5d38b3331 support multiple intermediate CA matching for `--preferred-chain` 2020-08-17 22:06:02 +08:00
neil bd04638d27 minor 2020-08-16 17:36:24 +08:00
neil e3ebd582ec support "--preferred-chain" to select chain
https://github.com/acmesh-official/acme.sh/wiki/Preferred-Chain
2020-08-16 16:57:06 +08:00
neil 95ef046d0a fix https://github.com/acmesh-official/acme.sh/issues/3103 2020-08-15 12:32:15 +08:00
neil b3a801df11 fix test endpoint 2020-08-15 10:33:24 +08:00
neil a6d22e3b22 1. save the CA url anyway.
2. clear some code.
2020-08-13 23:12:30 +08:00
neil 1177cc3f29 fix format 2020-08-12 22:09:37 +08:00
neil 269847d19d Add CA name to the `--list` command output. 2020-08-12 21:45:20 +08:00
neil df22f68088 Add info for set-default-ca 2020-08-12 21:25:35 +08:00
neil d83d8552b8 Add "--server" wiki 2020-08-12 21:17:15 +08:00
neil 365aa69afd fix format 2020-08-12 20:48:53 +08:00
neil 578c338d40 Display ZeroSSL usage 2020-08-12 20:48:53 +08:00
neil 389518e1b8 1. move email to ca conf
2. get EAB credentials from Zerossl by email automatically
2020-08-12 20:48:53 +08:00
neil d42ff227f1 fix format 2020-08-12 20:48:53 +08:00
neil 737e9e48ca 1. Support short names for `--server` parameter, The valid values are: letsencrypt, letsencrypt_test, buypass, buypass_test and zerossl
2. Support Zerossl.com acme protocol.
3. Add "--set-default-ca  --server xxxx" command to set the default CA to use.
2020-08-12 20:48:52 +08:00
neil f96d91cb6c eab 2020-08-12 20:48:52 +08:00
neil 85503655ab Display ZeroSSL usage 2020-08-12 20:47:17 +08:00
neil 8d811760a9 1. move email to ca conf
2. get EAB credentials from Zerossl by email automatically
2020-08-12 20:43:44 +08:00
neil 1e967eceef fix format 2020-08-11 23:45:12 +08:00
neil 7d20db93d3 1. Support short names for `--server` parameter, The valid values are: letsencrypt, letsencrypt_test, buypass, buypass_test and zerossl
2. Support Zerossl.com acme protocol.
3. Add "--set-default-ca  --server xxxx" command to set the default CA to use.
2020-08-11 23:28:52 +08:00
neil e932be0fb3 eab 2020-08-09 09:53:22 +08:00
neil af740592c9
Merge pull request #3073 from vi9076/dev
Fix failed test in acmetest. Item alpine:latest - test 12
2020-08-02 14:41:40 +08:00
neil c9452c9f31
Merge pull request #2574 from rewqazxv/master
Fix sudo issue
2020-08-02 14:31:45 +08:00
Vinton Huang 4f3f4e23e4 Fix failed test in acmetest. Item alpine:latest - test 12: le_test_standandalone_deactivate_v2
- Message of failed test [1]: /root/.acme.sh/acme.sh --deactivate -d testdocker.acme.sh [FAIL]
- Reason of failure: left brace was not escaped. According to the standard [2], if special chars appear first in an ERE, it will produce undefined results.
- egrep from busybox (and thus alpine) take it as an error, but egrep from GNU grep (included in most distros) and *BSD are more tolerant, just ignore it.
- Fix: consider the right brace at the right-hand side of the ERE, the result string will not contain right brace. So the left-hand side should not contain left brace, too.
[1] 446939706e/logs/alpine-latest.out (L119)
[2] 9.4.3 ERE Special Characters, The Open Group Base Specifications. https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap09.html
2020-07-27 03:55:07 +08:00
neil e2a5af1cf7 fix format 2020-07-14 21:49:50 +08:00
neil f31debc09c fix format 2020-07-13 21:03:57 +08:00
neil 6654d7a919 fix format 2020-07-13 20:56:58 +08:00
neil 0ab2cfaf8b
Merge pull request #3029 from licaon-kter/patch-2
Fix typo candindates
2020-07-08 22:25:20 +08:00
grindsa a329547682 prepending for ecc signature
leftpadding "0" if _ec_s and _ec_r are to short
2020-07-08 11:59:20 +02:00
Licaon_Kter dbc435506c
Fix typo candindates 2020-07-07 12:06:37 +00:00
Tony Gravagno 94787d537a
Issue #2849 Trivial variable name fix from apacheMajer to apacheMajor 2020-06-29 11:51:55 -07:00
Tony Gravagno eca57beec1
Issue #2850 : grammar corrections for "exists" and "exist". 2020-06-29 11:29:10 -07:00
grindsa 1fe8235a85 Update acme.sh 2020-05-25 20:28:05 +02:00
neil 15dded712c fix retry
https://github.com/acmesh-official/acme.sh/issues/2939#issuecomment-632481658
2020-05-24 18:04:47 +08:00