Commit Graph

770 Commits

Author SHA1 Message Date
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
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