Commit Graph

1019 Commits

Author SHA1 Message Date
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
Dan Dascalescu 427c278012
Fix sloppy English 2020-05-22 10:28:29 -07:00
neil 59fd48cfe2 support Retry-After header
https://github.com/acmesh-official/acme.sh/issues/2939
2020-05-21 22:32:19 +08:00
neil cc78ab4855
Merge pull request #2923 from mdbraber/add-provider-transip
Add TransIP provider
2020-05-21 22:27:50 +08:00
Maarten den Braber 63031fb278 bugfixes 2020-05-19 20:04:23 +02:00
neil 114f2a1465 fix https://github.com/acmesh-official/acme.sh/issues/2880 2020-05-19 23:26:58 +08:00
Maarten den Braber 5d2777634a Fix forgotten then 2020-05-19 16:43:39 +02:00
Maarten den Braber 2d5b4a0003 Change if-statement for private keys to more portable version 2020-05-19 16:39:49 +02:00
Maarten den Braber a4c57ee363 Add TransIP provider 2020-05-13 15:35:51 +02:00
neil 9044adecb5 start 2.8.7 2020-05-04 08:43:47 +08:00
neil 6ba1eda96f fix https://github.com/acmesh-official/acme.sh/issues/2883#issuecomment-619215961 2020-04-25 22:44:00 +08:00
neil a995333081 fix format 2020-04-18 22:34:32 +08:00
neil 1041c9f9fc support revoke reason.
https://github.com/acmesh-official/acme.sh/issues/2856
2020-04-18 20:03:48 +08:00
Simon Wydooghe 2febdfc363
Fix: allow removal of email address as contact
It seems the current code doesn't allow for removing the email address
from the contact field. This fixes that. This only removes the email
address if an explicit empty email address is specified on the command
line or in the account.conf file. If it is left unspecified on the
command line it still just uses whatever was configured in the
account.conf.
2020-04-17 15:53:15 +02:00
neil 93de1e4903 un-escape json chars
fix https://github.com/acmesh-official/acme.sh/issues/2833
2020-04-12 11:48:24 +08:00
Oliver Burgmaier 7595808d26 fix #2828 mailto compliant to RFC6068
This fix removes the space between "mailto:" and the email address to
make the contact attribute compliant to RFC6068.
2020-04-01 20:35:07 +02:00
Oliver Burgmaier 37d22a144a fix #2830 Autorization segment typo fixed
This fixes the parsing of the authorization segment in the response of
an order. Without this fix the start of the array is not found
correctly and therefore the finalize URL is part of the authorization
segment. Changing the regex to *\[[^\[]*\] fix this. Seems to be a typo
which has not been recognized so far. This can be only recognized if
the response is in a single line.
2020-04-01 20:31:06 +02:00
Oliver Burgmaier dc697a6862 fix #2830 Autorization segment typo fixed
This fixes the parsing of the authorization segment in the response of
an order. Without this fix the start of the array is not found
correctly and therefore the finalize URL is part of the authorization
segment. Changing the regex to *\[[^\[]*\] fix this. Seems to be a typo
which has not been recognized so far. This can be only recognized if
the response is in a single line.
2020-04-01 20:24:40 +02:00
Xiaohui Lam ff9be30f86
resolved #2818 2020-03-31 03:10:12 +08:00
Oliver Blaha cb7e38577d add support for upgrade from tag 2020-03-24 14:44:35 +01:00
neil 3d81641139 fix format 2020-03-09 19:04:32 +08:00
neil 0f24417cb3
Merge pull request #2769 from ianw/update-account-json
Update account.json on account update
2020-03-07 19:50:17 +08:00
neil f84a87f2a2 remove DEFAULT_DNS_SLEEP.
fix https://github.com/acmesh-official/acme.sh/issues/2773
2020-03-07 18:26:22 +08:00
Ian Wienand 72e1a1b2e9 Update account.json on account update
When running --updateaccount, the ca/<ca>/account.json file isn't
updated with the new response showing the updated account details.
This can be a bit confusing if you add an email to the account but
then you're not sure if it actually applied looking at this file.

Write out the new response on successful account updates.
2020-03-04 12:28:21 +11:00
alex 22f9a3b467 Fix error on docker deploy command with spaces.
This adds quotes to the last eval in _getdeployconf which is reponsible
for loading and exporting saved environment variables back into the
acme.sh process. This caused some errors if used with the docker
deploy-hook and the example nginx "service nginx force-reload" command
as it contains spaces.
2020-02-25 12:37:46 +01:00
xpac1985 463df9e4ba
Make socat debug output show version + features instead of help text 2020-02-18 16:26:15 +01:00
neil 490fbfc13e
Merge pull request #2701 from xpac1985/patch-1
Updated/fixed some entries in --help output
2020-01-31 16:32:13 +08:00
neilpang 09f74a9af8 start v2.8.6, change the repo name 2020-01-30 10:50:39 +08:00
neilpang f8b225e70e fix format 2020-01-27 23:30:36 +08:00
neilpang fc3a181779 move the error message 2020-01-27 23:07:10 +08:00
neilpang 9541ea6a9f fix bug https://github.com/Neilpang/acme.sh/issues/2695
If a domain was already verified by http-01 method,  when we try to issue a cert for them same domain with dns-01 method, we just get only one challenge object of type http-01 with "valid" status, from the authz-v3 url. So, we report error that we are not able the validate the domain, because of that we don't find dns-01 challenge.
This behavior is not the same as before. I believe it was changed by the letsencrypt CA.
2020-01-27 23:07:10 +08:00
neilpang f716f6060e minor check update hash for branch name 2020-01-27 23:02:09 +08:00
neilpang 05aa26e619 minor, remove space key 2020-01-27 21:22:42 +08:00
xpac1985 b6552aff75
Added maximum account key length to --help output 2020-01-22 21:21:38 +01:00
xpac1985 3c98fae4f2
Updated/fixed some entries in --help output 2020-01-22 20:00:04 +01:00
rewqazxv 79ad0ff56b Simplify code 2020-01-15 22:11:34 +08:00
neilpang baff032e3b Merge branch 'up' into dev 2020-01-15 22:05:37 +08:00
neilpang 26309f51e3 start 2.8.5 2020-01-15 22:04:49 +08:00
neilpang f8f53a6bd9 debug 2020-01-15 22:01:34 +08:00
neilpang ac3667c765 fix https://github.com/Neilpang/acme.sh/issues/2693 2020-01-15 21:43:49 +08:00
neil 0712e98904 fix https://github.com/Neilpang/acme.sh/pull/2559 2020-01-12 13:36:24 +08:00
neilpang 7a3c61b744 check upgrade hash
https://github.com/Neilpang/acme.sh/issues/2667
2020-01-03 21:38:47 +08:00
neil f59f484c01
Merge pull request #2657 from gildea/master
Return failure when falling through limiting loop
2020-01-01 18:28:30 +08:00
gildea a44ea0ddf0
Return failure when falling through limiting loop
In _send_signed_request and _check_dns_entries, return 1 when the
timeout (or number of retries) has been exhausted.  This allows
the calling function to correctly handle the error.
2019-12-31 20:22:08 -08:00
Zbyszek Żółkiewski 5014f83b86
Fix case sensitive detection of domain in the response request 2019-12-06 09:59:35 +01:00
neil aac9f089d9
Merge pull request #2583 from JohnVillalovos/dev
debug_bash_helper: Use eval as busybox systems have problems
2019-11-15 22:23:07 +08:00
John L. Villalovos adce8f52e8 debug_bash_helper: Use eval as busybox systems have problems
In _debug_bash_helper use eval as we are seeing issues with busybox
systems having issues with array access. Even though they aren't
actually running the code they appear to be parsing it and failing.

Also older versions of busybox have a bug with eval and double quotes,
so make sure to use single quotes when using eval.

Resolves: #2579
2019-11-13 14:30:19 -08:00
arlecchino 867ec010ab
Fix callhook error in manual mode
Fixes #1586  
Check force manual switch before causing error about it.
2019-11-12 19:58:36 +01:00
rewqazxv 6a5ee72722 format code style 2019-11-06 20:27:12 +08:00
rewqazxv c6ec8bc0d9 fix sudo issue 2019-11-06 18:57:05 +08:00
neil eb6238781d
Merge pull request #2546 from JohnVillalovos/master
Improve debug capabilities when using bash
2019-11-03 19:41:51 +08:00
neilpang 5698bec621 fix https://github.com/Neilpang/acme.sh/issues/2566 2019-11-02 09:48:41 +08:00
neilpang 671edc33e1 fix background color 2019-10-27 11:43:40 +08:00
John L. Villalovos bba5376a36 Improve debug capabilities when using bash
When calling the _debug3() function will print the filename, function
name, and line number when running under bash
2019-10-26 09:07:22 -07:00
neilpang d04c6dd3ac fix https://github.com/Neilpang/acme.sh/issues/2557 and https://github.com/Neilpang/acme.sh/issues/2544 2019-10-25 22:31:36 +08:00
Peter Dave Hello ac9f6e3a41 Remove trailing spaces in text files
This issue in the shell scripts will also be detected in the stable
version of shfmt(we are currently using an ancient pre-release of shfmt)
2019-10-05 21:09:24 +08:00
neilpang 1e7534b9d7 fix https://github.com/Neilpang/acme.sh/issues/2518#issuecomment-538474232 2019-10-05 11:59:04 +08:00
neil 477a04760c
support google public dns (#2522)
* support google dns

* let's start 2.8.4
2019-10-03 21:00:30 +08:00
neilpang b4a62bfa30 let's start 2.8.4 2019-10-03 20:51:06 +08:00
neilpang 10eec7d48c support google dns 2019-10-03 20:37:46 +08:00
neilpang be0df07dfb fix list() performance
https://github.com/Neilpang/acme.sh/issues/2296
2019-09-28 10:54:31 +08:00
neilpang 1ba4ab2bd1 fix https://github.com/Neilpang/acme.sh/issues/2503 2019-09-24 22:10:36 +08:00
neilpang 51b4a9e350 fix HEAD request against the new LE CDN.
wget is fixed
2019-09-24 20:50:24 +08:00
neilpang 5723fd112f fix HEAD request against the new LE CDN.
curl is fixed
2019-09-24 20:00:21 +08:00
neilpang 815a3be48b fix https://github.com/Neilpang/acme.sh/issues/2478
support `sudo -i` and `sudo -s`
2019-09-14 11:21:55 +08:00
neilpang 1081d98bf9 support to specify the nginx or site conf for nginx mode.
https://github.com/Neilpang/acme.sh/issues/2469
2019-09-05 22:05:54 +08:00
neilpang 5bdfdfefbe start 2.8.3 Forbidden sudo 2019-08-11 14:07:36 +08:00
mleo2003 c7849a43e1 Add variable exports for Successful Post Hook and Renew Hook calls (#2431) 2019-08-06 21:41:12 +08:00
neilpang 143eac092c fix notify message 2019-08-05 22:03:56 +08:00
neilpang 75191e7187 fix https://github.com/Neilpang/acme.sh/issues/2417 2019-07-31 23:22:07 +08:00
neilpang b9b2cd278b fix https://github.com/Neilpang/acme.sh/pull/2275 2019-07-29 21:12:19 +08:00
neilpang 9a733a57e7 fix https://github.com/Neilpang/acme.sh/issues/2377 2019-07-24 21:49:26 +08:00
Jeff Wang 3cdfa4051d Change 1.1.1.1 to 1.0.0.1 to probe compatibility (#2330)
As we can see, 1.1.1.1 is not routed or routed to an Intranet devices due to historical reason. Change 1.1.1.1 to 1.0.0.1 will have a better compatibility. I found this problem on my Tencent Cloud server.
2019-07-13 23:05:30 +08:00
neilpang a2738e8599 minor, add debug info 2019-06-19 21:50:41 +08:00
neilpang f803c6c0bf fix https://github.com/Neilpang/acme.sh/issues/2341 2019-06-15 08:33:16 +08:00
neilpang c6b6855131 fix https://github.com/Neilpang/acme.sh/issues/2321
https://github.com/Neilpang/acme.sh/issues/2291
2019-06-14 23:55:59 +08:00
neilpang 882ac74a0c fix issue: clear Le_Vlist earlier 2019-06-14 22:41:28 +08:00
Endre Szabo 9b564431b0
Help text suggests bad practice.
Please remove the phrase `No news is good news.` as it suggests to decide to go on with a bad operational habit.

Why I am stating this is because that `no news` also could mean that:
- your `cron` daemon stopped working,
- your MTA has issues (in case or mail notifications of course),
- anything in between the host running `acme.sh` and your client went wrong.

(... and probably you will not notice in time if `acme.sh` would otherwise send an error notification (if it runs anyway))

If you expect a daily mail (using `--notify-level 3`) you can always be sure that `acme.sh` has ran successfully before. You can also tick the `acme.sh` checkbox in the daily operational report of your enterprise. ;)
2019-06-13 12:39:38 +02:00
neilpang 465ece5d25 fix format 2019-06-10 22:40:14 +08:00
neilpang 2e3ddd3a61 trim quotation marks 2019-06-03 20:55:22 +08:00
neilpang dc5eda7ebb fix savedeployconf 2019-06-02 20:04:36 +08:00
neilpang aec6636205 add _getdeployconf 2019-06-02 19:36:11 +08:00
andreasschulze 93740c997c fix for https://github.com/Neilpang/acme.sh/issues/2286 2019-05-23 16:19:08 +02:00
neilpang a180b95cca add more debug info 2019-05-17 20:16:26 +08:00
neilpang 0093dc3d32 fix https://github.com/Neilpang/acme.sh/issues/2256 2019-05-13 23:30:31 +08:00
neilpang acae0ac2a6 fix RENEW_SKIP code 2019-05-04 10:59:00 +08:00
neilpang 0f86651089 fix idn 2019-05-04 10:43:39 +08:00
neilpang 6198e43fe6 fix idn 2019-05-04 10:21:15 +08:00
neilpang 621d4745b4 fix idn 2019-05-04 10:18:42 +08:00
neil b50e701cae
Add notification (#2241)
* add cron notify

* fix format

* fix format
2019-04-29 22:13:54 +08:00
neilpang b7a0443091 lets start 2.8.2 2019-04-29 22:11:25 +08:00
neilpang d10f40f109 fix idn issue. 2019-04-29 21:44:25 +08:00
neilpang a7420ca3d4 typo 2019-04-27 09:17:26 +08:00
neil c420a0ae2b
Merge pull request #2222 from dim0x69/master
Implement Update Account Information for ACMEv2
2019-04-26 23:49:10 +08:00
neilpang 4962cc3da8 fix idn issues 2019-04-26 23:44:25 +08:00
neilpang e6df1828d9 fix https://github.com/Neilpang/acme.sh/issues/2192 2019-04-21 12:37:26 +08:00
neilpang 9ff53fea98 Merge branch 'dev' of https://github.com/Neilpang/acme.sh into dev 2019-04-21 12:23:57 +08:00
neilpang 4f1888d2ea fix https://github.com/Neilpang/acme.sh/issues/2192 2019-04-21 12:23:06 +08:00
Honza Hommer 61556a54e2 feat: add `--noprofile` option to `install` command 2019-04-19 17:27:32 +02:00
dim0x69 79e2f8a2e5 implement account update for acmev2 2019-04-17 14:51:07 +02:00
neilpang 0cfeee4ded fix format 2019-04-06 16:48:17 +08:00
neilpang c97e43dcd6 fix format 2019-04-06 16:45:58 +08:00
neilpang eda321954d fix https://github.com/Neilpang/acme.sh/issues/2208 2019-04-06 16:05:08 +08:00
neilpang fbdc5a0eb5 fix https://github.com/Neilpang/acme.sh/issues/2179 2019-03-20 22:52:40 +08:00
neilpang 82b0ebb787 minor, remove dns records only when it's added success 2019-03-16 14:53:02 +08:00
neilpang 2ffd8637e1 fix standalone content 2019-03-16 14:28:24 +08:00
neilpang d0d749074e fix for solaris 2019-03-16 14:00:15 +08:00
neilpang dbc44c08df fix for solaris 2019-03-16 13:38:17 +08:00
neilpang 4ebad10557 fix format 2019-03-13 21:11:59 +08:00
neilpang 0b04a7f17f fix format 2019-03-13 20:49:26 +08:00
neilpang 77f96b386e support Windows scheduler. fix https://github.com/Neilpang/acme.sh/issues/2145 2019-03-13 20:42:02 +08:00
neilpang f2add8de94 use acme v2 as default 2019-03-12 21:16:15 +08:00
neilpang 53c0188248 fix https://github.com/Neilpang/acme.sh/issues/2150 2019-03-11 21:30:24 +08:00
neil a3d8b9935a fix https://github.com/Neilpang/acme.sh/issues/2141 2019-03-08 14:31:11 +08:00
neilpang c7257bcf46 base64 hooks, fix https://github.com/Neilpang/acme.sh/issues/1969 2019-03-05 21:44:34 +08:00
neilpang dfca8c09e0 fix format 2019-03-05 21:22:03 +08:00
neilpang 7690f73e81 base64 encode reloadcmd.
fix https://github.com/Neilpang/acme.sh/issues/2134
2019-03-05 21:05:10 +08:00
neilpang b3f6129718 fix https://github.com/Neilpang/acme.sh/issues/2122 2019-03-02 20:44:08 +08:00
neil e7f7e96d58
Peb (#2126)
* support pebble
* support async finalize order
2019-02-27 20:36:13 +08:00
neil b5ca9bbab2
Doh (#2100)
support doh to poll dns status
fix https://github.com/Neilpang/acme.sh/issues/2015
2019-02-19 21:39:06 +08:00
neil 8f2a8a0051
Merge pull request #1357 from martgras/patch-1
avoid side effects in _printargs
2019-02-18 21:16:14 +08:00
neilpang 97147b594b fix https://github.com/Neilpang/acme.sh/issues/2096 2019-02-18 20:57:13 +08:00
neilpang a0ec5b18e7 fx format 2019-02-17 14:26:27 +08:00
neilpang f2acdd27fd fix tr err for Mac 2019-02-17 14:19:14 +08:00
neilpang 43ff787b04 remove tls-sni 2019-01-26 18:32:11 +08:00
neilpang 3633598462 Lets start 2.8.1 2019-01-25 22:39:22 +08:00
neilpang 545f23551f trigger validation before cleanup
fix https://github.com/Neilpang/acme.sh/issues/2037
2019-01-21 22:25:23 +08:00
neilpang b15c1ffedc clean TXT records when error happens.
https://github.com/Neilpang/acme.sh/issues/2037
2019-01-21 22:09:13 +08:00
Fabio Kruger dd068467de 2020 Added a space to improve log readability 2019-01-10 19:33:25 +01:00
neil 0483d841e3
Support Post as Get (#2009)
* Support POST as GET
https://community.letsencrypt.org/t/acme-v2-scheduled-deprecation-of-unauthenticated-resource-gets/74380

* fix PAG,
The newline '\n' in response is removed by _send_signed_request(), to keep it, we just use needbase64

* fix PAG, the cert is muti line

* fix format

* PAG is only for v2
2019-01-06 21:05:33 +08:00
neilpang ad613e2437 fix alpn oid.
https://github.com/Neilpang/acme.sh/issues/2005
2019-01-04 22:40:59 +08:00
neilpang ec67a1b2c1 Do not limit the renew days to 60, it's just a default value.
buypass support 180 days.
2018-12-28 22:52:40 +08:00
neilpang b32071ad04 remove unused code 2018-12-28 22:12:54 +08:00
Ketil 65a2f789dc Removing BUYPASS_CA variable 2018-12-28 13:26:20 +01:00
Ketil 8bd12ed040 Rewrite to remove BuyPass spesific fixes and adapt ACME v1 2018-12-28 09:22:31 +01:00
Ketil 920cab6f12 Added fixes to also use BuyPass Go ACME server 2018-12-27 16:06:41 +01:00
neilpang f99ca918db fix format 2018-12-18 20:33:33 +08:00
neilpang 79a0a66f1f support --tlsport 2018-12-18 20:18:18 +08:00
neilpang 08681f4a8b support tls-alpn-01 https://github.com/Neilpang/acme.sh/issues/1675#issuecomment-447857756 2018-12-18 19:28:38 +08:00
neilpang 2b9ebd6662 fix showcsr https://github.com/Neilpang/acme.sh/issues/1968 2018-12-17 23:02:02 +08:00
neilpang 238990a285 add more debug info
https://github.com/Neilpang/acme.sh/issues/1932
2018-12-16 21:10:22 +08:00
neilpang 9841063df9 fix nginx mode 2018-12-06 22:05:26 +08:00
neil 563de2cc90
Merge pull request #1926 from Rohlik/patch-1
Fix dot
2018-11-24 10:32:39 +08:00
neilpang 137dc1eac0 fix https://github.com/Neilpang/acme.sh/issues/1912 2018-11-23 22:53:02 +08:00
Thomas Rohlik 5fee82ce39
Fix dot
Very important commit 🥇
2018-11-19 16:09:32 +01:00
neil e550631275
Merge pull request #1886 from philr/skip_alias_when_already_verified
Skip aliases of already verified domains
2018-11-10 21:32:05 +08:00
neilpang 7903fcb48c fix typo 2018-10-30 22:50:44 +08:00
neilpang 9672c6b885 fix https://github.com/Neilpang/acme.sh/issues/1905 2018-10-30 22:14:49 +08:00
Phil Ross fd536d373e Skip aliases of already verified domains.
When issuing a two-domain certificate using a different alias for each
domain, if the first domain is already verified, verification for the
second domain would be attempted (unsuccessfully) using the alias of the
first domain.

Increment the alias index when skipping verified domains so that the
correct alias will be used for subsequent domains.
2018-10-18 17:57:15 +01:00
neilpang 6a81b0f807 Merge branch 'dev' of https://github.com/Neilpang/acme.sh into dev 2018-09-25 23:42:14 +08:00
neilpang 3322630732 minor, debug msg 2018-09-25 23:42:04 +08:00
Alexander Graf 7aeb113c62 createDomainKey: fix exitcode for creating new key
when running acme.sh headless (without terminal) to create a new key
createDomainKey returns a non-zero exit-code.
explicitly returning zero avoids this.
2018-08-14 10:04:14 +02:00
neilpang 709a3fb06f add more retry for badnonce error 2018-07-28 22:02:03 +08:00
neilpang cc2d59468d use json content type for both v1 and v2 2018-07-26 21:57:22 +08:00
Jesse Miller cb11580981 BSD fix _time2str()
date -u -d@"12345" does not produce an error on *BSD and outputs the
current date in UTC, which is not the expected output from _time2str()

Fix, reorder _time2str() to attempt BSD style date first, which
errors on Linux, so cascade style OS detection works correctly.
2018-07-24 22:41:01 -05:00
neilpang 411b342a27 request a new nonce for invalid anti-replay nonce error 2018-07-18 22:00:09 +08:00
neilpang b9b7032386 lets start v2.8.0 2018-07-18 00:33:07 +08:00
neil 9cecd525e2 fix JWS has an invalid anti-replay nonce https://github.com/Neilpang/acme.sh/issues/1630 2018-07-18 00:26:21 +08:00
neilpang 206be3c161 fix https://github.com/Neilpang/acme.sh/issues/1633 2018-05-29 22:38:52 +08:00
Steffen Busch e32b3aac22 Added --force-color to enforce the use of ANSI Color. Issue #1557 2018-04-26 21:02:37 +02:00
neilpang 66686de4e4 add --branch 2018-04-21 13:21:56 +08:00
neilpang ce8dca7afe move renewhook after installcert
fix https://github.com/Neilpang/acme.sh/issues/1547
2018-04-21 13:15:17 +08:00
neilpang 09304c33c1 start 2.7.9 2018-03-29 21:51:33 +08:00
neilpang aad309ee4f fix https://github.com/Neilpang/acme.sh/issues/1430 2018-03-24 00:06:39 +08:00
neilpang a0923622ae fix https://github.com/Neilpang/acme.sh/issues/1029
https://github.com/Neilpang/acme.sh/wiki/dns-manual-mode
2018-03-21 20:30:52 +08:00
neilpang 668c43abf3 add more debug info 2018-03-18 21:06:37 +08:00
neilpang e8b54a5087 fix ACCOUNT_URL 2018-03-18 19:32:45 +08:00
neilpang 39852662a6 fix content type 2018-03-18 19:29:02 +08:00
neilpang 6a66ba8a21 fix https://github.com/Neilpang/acme.sh/issues/1411 2018-03-18 18:57:56 +08:00
neilpang 36a7a84080 fix https://github.com/Neilpang/acme.sh/issues/1411 2018-03-18 18:34:35 +08:00
neilpang 7e0b334b38 fix empty ACCOUNT_URL for v2 for the first time use 2018-03-18 18:20:29 +08:00
neilpang 5d8d217a13 add more debug info 2018-03-18 11:36:04 +08:00
neilpang 323febe8c7 add more debug log 2018-03-18 11:14:03 +08:00
neil fe69afdefb
Merge pull request #1401 from casperklein/patch-1
Updated --accountemail help
2018-03-17 22:01:50 +08:00
Casper 9082862b9d
Updated --accountemail help
https://github.com/Neilpang/acme.sh/issues/1074#issuecomment-337672763
2018-03-17 14:45:49 +01:00
Claus F. Strasburger a8b62261f6
Documentation: what to do when using dns-manual
Change the hint that tells you how to use DNS manual (second run needs to be --renew)
2018-03-16 11:21:03 +01:00
neilpang 38f1b4d205 fix wildcard interpretation 2018-03-14 22:03:58 +08:00
neilpang 931d19eece fix for wildcard domain interpretation 2018-03-14 21:56:40 +08:00
neilpang 88bbe55b85 fix wrong wildcard domain interpretation 2018-03-14 21:54:32 +08:00
neilpang dd17124ec6 fix error 2018-03-14 21:45:16 +08:00
neilpang 674b50889e fix wildcard domains 2018-03-14 21:42:12 +08:00
neilpang 263c38caec add more debug info 2018-03-14 21:27:29 +08:00
neilpang 3881f22192 fix https://github.com/Neilpang/acme.sh/issues/1375
add more info
2018-03-14 21:20:27 +08:00
neilpang 664446631f add debug info 2018-03-14 20:52:18 +08:00
neilpang c5f1cca3a0 fix https://github.com/Neilpang/acme.sh/issues/1372 2018-03-14 20:30:51 +08:00
neil a7407097e1
Merge pull request #1374 from Neilpang/master
sync
2018-03-14 20:13:14 +08:00
neilpang 749c0e51e6 start 2.7.8 2018-03-14 19:42:02 +08:00
anabis 0f120c41f1
fix syntax error missing space 2018-03-14 11:05:57 +01:00
martgras 65a7d56957
remove local keyword 2018-03-14 09:52:58 +01:00
martgras 52351d7dc8
avoid side effects in _printargs
A possible fix for https://github.com/Neilpang/acme.sh/issues/1356
2018-03-13 12:43:07 +01:00
neilpang a5a0e564dd fix https://github.com/Neilpang/acme.sh/issues/1322 2018-03-10 10:33:33 +08:00
neilpang 716f727753 fix https://github.com/Neilpang/acme.sh/issues/1105 2018-03-09 20:14:41 +08:00
neilpang 7e381f8e5d fix format 2018-03-09 08:09:32 +08:00
neilpang 183063a244 add more safe check 2018-03-09 08:06:42 +08:00
neilpang ef871775b7 fix https://github.com/Neilpang/acme.sh/issues/1336 for wget 2018-03-08 21:27:52 +08:00
neilpang 45e386b26d fix https://github.com/Neilpang/acme.sh/issues/1336 2018-03-08 19:49:53 +08:00
neilpang e1db5db8ac fix https://github.com/Neilpang/acme.sh/issues/1105 2018-03-07 21:25:07 +08:00
jim-p 7445a3be59 Add ACME v2 test around cert copy. Fixes #1330
Without this, the work done a few lines above is clobbered, leaving
the fullchain.cer containing only the certificate, not the CA and
certificate chain.
2018-03-06 17:00:57 -05:00
neil 61eaa44cf8
Merge pull request #1316 from Neilpang/alias
Alias
2018-03-01 22:38:05 +08:00
neilpang 86ef0a2609 fix https://github.com/Neilpang/acme.sh/issues/1295 2018-02-21 10:05:27 +08:00
neilpang bae50da799 fix https://github.com/Neilpang/acme.sh/issues/1266 2018-02-21 09:45:36 +08:00
neilpang 9ad7ac632a fix https://github.com/Neilpang/acme.sh/issues/1284#issuecomment-366616855 2018-02-19 21:07:01 +08:00
neilpang 5c568d6999 https://github.com/Neilpang/acme.sh/issues/1277 2018-02-17 10:31:34 +08:00
neilpang d84665cb64 fix https://github.com/Neilpang/acme.sh/issues/1271 2018-02-17 10:16:04 +08:00
neil 4bb5d27c59
Merge pull request #1218 from hcouplet/standalone-listen-address-fix
Standalone listen address fix. #1217
2018-02-17 10:14:12 +08:00
Jose Luis Duran 123e8f21b5
Set the account key file permissions 2018-02-16 15:42:32 -02:00
neilpang 6d6b2efdb5 fix he for solaris 2018-02-16 23:16:25 +08:00
neilpang a63766a005 fix format 2018-02-15 21:04:53 +08:00
neilpang b51ed9bbb7 https://github.com/Neilpang/acme.sh/issues/1251 2018-02-15 10:29:03 +08:00
Jose Luis Duran 7b92371a03 Fix key file permissions
Introduced in 8201458332.

Related to #1256.
2018-02-14 06:46:48 -02:00
neilpang 1f7df33e28 fix format 2018-02-13 22:26:36 +08:00
neilpang 64821ad4f5 support "--domain-alias" 2018-02-12 21:49:22 +08:00
neilpang 012dd6986b nginx 2018-02-12 20:01:40 +08:00
neilpang 6ca5f3d8f6 support Zonomi.com dns api: https://github.com/Neilpang/acme.sh/issues/1255 2018-02-10 23:23:31 +08:00
neilpang 875625b147 Support domain alias mode 2018-02-10 10:45:29 +08:00
neilpang da0bd5a9dc begin 2.7.7 2018-02-10 09:03:55 +08:00
neilpang 78915896d5 minor, fix error message 2018-02-07 23:49:08 +08:00
neilpang 694af4aeb1 fix https://github.com/Neilpang/acme.sh/issues/1234 2018-02-07 21:12:49 +08:00
neilpang 584fb2904b fix https://github.com/Neilpang/acme.sh/issues/1191
https://github.com/Neilpang/acme.sh/issues/1246
2018-02-06 21:23:08 +08:00
neil 71013b372d
Merge pull request #1245 from jim-p/acme-fix-1243
Add braces around ACCOUNT_URL when forming the protected parameters. Fixes #1243
2018-02-06 09:29:56 +08:00
jim-p 6b798b01a8 Add braces around ACCOUNT_URL when forming the protected= line. Fixes #1243 2018-02-05 16:38:42 -05:00
jim-p 7df20e5049 When registering, consider a 200 final response code as an account that already exists. Fixes #1242 2018-02-05 16:37:57 -05:00
neilpang a51f109930 fix https://github.com/Neilpang/acme.sh/issues/1234 2018-02-05 20:28:50 +08:00
neil 726c7a4d32
Merge pull request #1225 from Neilpang/2
merge v2
2018-02-02 22:20:50 +08:00
Felix Wolfsteller 47b49f1be9 Slightly improved --help output, fixes #1137 . 2018-02-01 18:07:29 +01:00
neilpang 120cde169b fix format 2018-01-27 17:20:38 +08:00
neilpang 1c35f46b45 fix https://github.com/Neilpang/acme.sh/issues/1212 2018-01-26 21:37:30 +08:00
neilpang eea713eed2 Merge branch 'dev' into 2 2018-01-26 21:05:36 +08:00
neilpang d1067c60bf fix https://github.com/Neilpang/acme.sh/issues/1193#issuecomment-360025170 2018-01-25 21:08:20 +08:00
Herve Couplet 9134b6ea98 if local-address is present, bind to that ip instead of 0.0.0.0 2018-01-23 17:53:40 +01:00
neilpang c05eb0b1b2 fx format 2018-01-23 19:42:57 +08:00
neilpang 04a609b51f fix https://github.com/Neilpang/acme.sh/issues/1209 2018-01-21 20:20:54 +08:00
neilpang 37f39c0870 minor 2018-01-19 22:41:42 +08:00
Holger Böhnke 78d1cfb464 fix bug in the --ca-bundle param of passing -f to _readlink
When _readlink is called the -f param must not be passed. _readlink (with
leading underscore) is a wrapper around readlink (without leading
underscore). _readlink already passes -f to readlink, that's why it must
not be passed to _readlink.
2018-01-17 19:21:14 +01:00
neilpang cd9fb3b635 fix https://github.com/Neilpang/acme.sh/issues/1189 2018-01-16 21:29:53 +08:00
neilpang 9e9f839d96 support only one wildcard domain.
fix https://github.com/Neilpang/acme.sh/issues/1188#issuecomment-357684744
2018-01-16 21:29:52 +08:00
neilpang 60814ecfe1 typo 2018-01-16 21:29:52 +08:00
neilpang cd8fc35968 fix dns manual mode. 2018-01-16 21:29:48 +08:00
neilpang d2cde379ad fix ACME v2: deactivate/deactivate-account/revoke 2018-01-16 21:29:48 +08:00
neilpang 72f54ca6c1 support ACME v2 wildcard cert 2018-01-16 21:29:47 +08:00
neilpang f8d22c486e fix format 2018-01-16 21:29:46 +08:00
neilpang c1151b0d45 first version to support ACME v2 2018-01-16 21:29:45 +08:00
neilpang 8201458332 fix https://github.com/Neilpang/acme.sh/issues/1123 2017-12-09 21:50:45 +08:00
neilpang 4249e13eb4 fix format 2017-12-08 19:54:25 +08:00
neilpang ca7ebd9333 fix typo 2017-12-08 19:49:18 +08:00
neilpang f87890cb4b v2.7.6 fix ECC 384 signature
https://github.com/Neilpang/acme.sh/issues/1130
https://github.com/Neilpang/acme.sh/issues/990
2017-12-07 21:32:17 +08:00
neilpang b615cce92d fix https://github.com/Neilpang/acme.sh/issues/1127 2017-12-02 19:54:33 +08:00
neilpang 6e93ff8bca fix https://github.com/Neilpang/acme.sh/issues/1106 2017-11-10 23:01:29 +08:00
neilpang 352dd907ac fix https://github.com/Neilpang/acme.sh/issues/1074 2017-10-18 20:27:09 +08:00
neilpang 5f6e3da766 fix https://github.com/Neilpang/acme.sh/issues/1062
change back to use openssl for tls mode.
2017-10-08 19:45:50 +08:00
Daniel 5261162fdf Remove stray single-quote
Get rid of a single stray erroneous single-quote that is breaking socat when using standalone mode.
2017-09-26 19:43:06 +04:00
neilpang 270ce87582 add debug info 2017-09-23 22:12:17 +08:00
neilpang 95949b6519 minor 2017-09-11 21:40:56 +08:00
neilpang 36309e6dbc minor, fix debug info 2017-09-11 21:28:37 +08:00
neilpang 53273a15bf use socat for tls mode 2017-09-06 21:18:02 +08:00
neilpang 3eeb090578 fix tls mode back to use openssl 2017-09-06 20:50:31 +08:00
neilpang 8148bfeacf fix https://github.com/Neilpang/acme.sh/issues/998 2017-09-05 20:32:14 +08:00
neilpang c73fdd4022 minor 2017-09-03 08:45:58 +08:00
neilpang 4356eefbb1 fix https://github.com/Neilpang/acme.sh/issues/1005#event-1232471561 2017-09-03 08:42:44 +08:00
neilpang 6104680caa fix https://github.com/Neilpang/acme.sh/issues/999 2017-09-02 20:46:04 +08:00
neilpang f9cdfd3e5b fix for behind proxy 2017-09-02 18:58:07 +08:00
neilpang 443a5ca0c2 socat tls mode 2017-09-01 23:44:52 +08:00
neilpang 3794b5cb58 fix changes for :https://community.letsencrypt.org/t/acme-sh-standalone-fails-multiple-validation-requests-staging-multi-va/41249/8
use socat instead of nc.
2017-09-01 23:01:37 +08:00
neilpang 309bec474f add warning for dns manual mode 2017-08-22 20:27:13 +08:00
Michele a07395fb56 Added support for busybox in time2str()
awk fallback if none of preceding method works
2017-08-17 12:50:28 +02:00
neilpang 415f375ce6 support fcrontab, fix https://github.com/Neilpang/acme.sh/issues/966 2017-08-10 21:31:28 +08:00
Brian Candler 8eab77f3c6 Add deployment script for unifi controller 2017-07-30 12:21:20 +01:00
neilpang a5c56c547d minor, fix dns param 2017-07-29 15:23:50 +08:00
Brian Candler 3281043e27 Clarify keylength parameter to _isEccKey() and _initpath()
Closes #950
2017-07-25 09:39:19 +01:00
neilpang c4d0aec536 do not retry for a invalid cert in cronjob.
fix https://github.com/Neilpang/acme.sh/issues/939
2017-07-10 19:51:55 +08:00
neil 81772fb703 minor, fix format 2017-07-04 09:08:54 +08:00
neilpang 5f8b60a0e5 fix https://github.com/Neilpang/acme.sh/issues/926
don't trigger validation for dns manually mode
2017-07-04 08:24:30 +08:00
neilpang 6b185d20c0 fix format 2017-07-02 18:40:11 +08:00
neilpang 1bbc33a0cf minor fix CA_DIR 2017-07-02 18:24:55 +08:00
neilpang a71eba07a1 minor, fix resource name 2017-07-02 18:05:55 +08:00
neilpang 422dd1fa4f Implement deactivate account: --deactivate-account 2017-07-02 17:02:54 +08:00
neilpang c4b2e5829e add always-force-new-domain-key. fix https://github.com/Neilpang/acme.sh/issues/914 2017-07-02 15:25:35 +08:00
neilpang 1be222f6ed minor 2017-07-02 13:38:44 +08:00
neilpang 14d7bfdab2 fix deactivate for lower rate limit 2017-07-01 21:47:30 +08:00
neilpang ea722da3de add debug info 2017-07-01 20:31:42 +08:00
neilpang d04434e3ec fix alias 2017-07-01 10:54:14 +08:00
neilpang eb0ef6bd3d fix https://github.com/Neilpang/acme.sh/issues/614#issuecomment-311160843 2017-06-27 19:56:43 +08:00
neil 841b762796 minor 2017-06-23 18:11:11 +08:00
neilpang 88ada80686 step to 2.7.3 2017-06-20 21:51:18 +08:00
neilpang 8f01919f62 minor 2017-06-19 20:34:49 +08:00
neilpang 98394f99b5 fix server host 2017-06-19 20:34:49 +08:00
neilpang cae50e16a7 fix https://github.com/Neilpang/acme.sh/issues/882#issuecomment-309383956 2017-06-19 20:34:48 +08:00
neilpang 4a2ac7bd2e fix renew for stage cert 2017-06-19 20:34:48 +08:00
neilpang a3bdaa85f2 minor 2017-06-19 20:34:47 +08:00
neilpang 40ef86f475 fix for deactivate function 2017-06-19 20:34:47 +08:00
neilpang 4cee14f3c5 fix format 2017-06-19 20:34:47 +08:00
neilpang 48d9a8c180 support `--server` 2017-06-19 20:34:46 +08:00
neilpang 08b4e1a744 add ACME_NO_COLOR and `--no-color` not to ouput color text 2017-06-18 22:13:33 +08:00
neil d68f0999a4 Merge pull request #891 from Neilpang/aix
fix https://github.com/Neilpang/acme.sh/issues/805
2017-06-18 10:19:25 +08:00
neilpang 2c9ed4c565 check invalid subject cn in the csr
fix https://github.com/Neilpang/acme.sh/issues/805
2017-06-18 10:18:20 +08:00