Commit Graph

4385 Commits (15deec6c53e0efcc3d2aae372a9357298208c888)
 

Author SHA1 Message Date
neil 43cb230f19
Merge pull request from sparunakian/dev
Fix typo ()
neil fd6a59202d start 3.0.0
Stéphane Parunakian e353f66eaa Fix typo
neil 9293bcfb1c
Merge pull request from acmesh-official/dev
sync
neil d154118600 fix bug
neil c2273d2c8e add debug info
neil 495ba01d8e
Merge pull request from Haarolean/bugfix/porkbun-fixes
Porkbun DNS API fixes
neil f627a02886 add error message
neil 5f9daa6640 check initAPI error
neil 9edda556de
Merge pull request from DerVerruckteFuchs/1984-login-fix
1984 login fix
Christophe B Billheimer 3891a52aeb change "$url" -> $url so the value of $url gets passed by reference, and the string "$url" does not erroneously get passed as a variable into _post()
Roman Zabaluev 1e5e3353f3 Fix porkbun issues
See gh-3450
neil 7aa4b8247c upgrade cf-tunnel
neil 37339ddafc
Merge pull request from tresni/synology_dsm
Synology DSM - Make certificate descriptions sed safe
Brian Hartvigsen dcb51683c5
shellcheck cleanup
shellcheck sees '\\' as trying to escape the trailing quote (see
 ).
Brian Hartvigsen 74a4a788b1
Make certificate descriptions sed safe
This escapes special characters used in POSIX sed to prevent mismatches.
e.g. `SYNO_Certficiate=*.example.com` would not match a description of
"*.example.com" and would look to match any number of double quotes (the
last character in the sed regex prior to certificate description),
followed by any single character, followed by "example", followed by any
character, followed by "com".

After this change, it will properly match `*.example.com` and not
`""zexamplefcom`.

Additionally we now store the certificate description as base64 encoded
to prevent issues with single quotes.

Tested on DSM 7.0-41222 (VDSM) and DSM 6.2.4-25556 (DS1515+).
neilpang 7909273a21 add debug info
neil 130e8dbd40
Merge pull request from acmesh-official/dev
sync
neil 40e2ebed95 remove ngrok token
neil bf9b33acec use cloudflare tunnel to test
neil 7710a33b6c fix format
neil af3ea2d4fd remove ACME v1 support
neil 52a3255936
Merge pull request from tresni/synology_dsm
Better fix for Synology DSM setting wrong default
Brian Hartvigsen 5ab9ca1c0d
Better fix for Synology DSM setting wrong default
As noted by @buxm, previous fix didn't work for all versions of DSM 6.
The better fix appears to be simply not outputting the "as_default"
parameter unless we are doing something with the default certificate.
neil 461f602992
Merge pull request from willbrowningme/patch-1
dnsapi/dns_desec.sh remove DEDYN_NAME variable
neilpang 46180435cc minor
neil 7f2699c6da
Merge pull request from acmesh-official/dev
Dev
neilpang aede5c486b fix https://github.com/acmesh-official/acme.sh/issues/3504
check invalid status first.
neilpang fb2407386f Merge branch 'dev' of https://github.com/acmesh-official/acme.sh into dev
neilpang aa59c46c4c fix https://github.com/acmesh-official/acme.sh/issues/3504
Benoit Garret 07afc4953a Fix the shfmt check
Will Browning c5557fc488
Remove DEDYN_NAME variable from dns_desec.sh
neil 8c14150536
Merge pull request from temoffey/deploy-gcore_cdn
Deploy gcore_cdn fix
Benoit Garret c127903127 Add Consul deploy hook
neilpang 0881cf1379 start 2.9.0
neil d0a16b0ec0
Merge pull request from acmesh-official/dev
sync
neil 290beb90a7 minor
neil 0a4ef17135 fix nginx relative path issue:
https://github.com/acmesh-official/acme.sh/issues/1743
https://github.com/acmesh-official/acme.sh/issues/1914
neil e0c32ce700 minor
neil e65144a105 fix https://github.com/acmesh-official/acme.sh/issues/3487
suppor Ali doh and dnspod doh.
neil ae40445dba
Merge pull request from tresni/synology_dsm
FIX: Synology sets "default" on wrong certificate
neil 25a8240d12 fix https://github.com/acmesh-official/acme.sh/issues/3421
Brian Hartvigsen 1a4a180e8c
FIX: Synology sets "default" on wrong certificate
For some DSM installs, it appears that setting the "default" flag to the
string "false" actually sets it to true.  This causes Synology to set
the last updated certificate to be the default certificate.  Using an
empty string appears to still be accepted as a false-y value for DSMs
where this isn't happening and corrects the behavior in the cases that
it was.

Credit to @Run-King for identifying the fix and @buxm for reporting.
neilpang aea10a3b93 Merge branch 'dev' of https://github.com/acmesh-official/acme.sh into dev
neilpang f855862ade upgrade freebsd
neil 91d37c7875 fix compatibility issue
neil 5707b93110
Merge pull request from goekesmi/master
Pass content via printf string format and argument
Jeff Goeke-Smith 81b2d0732f
arguments passed to printf are more generic
On systems that /bin/sh is served by shells other than bash, or 
shells that don't implement the same syntax as the bash printf builtin,
printf -- fails to produce the output necessary for standalone operation.

The test case for this was SmartOS, which uses ksh93 as its /bin/sh.

This change uses the more generic method of passing a format parameter
of a single string, and then the argument to replace it with.
neil ec0538d251
Merge pull request from ecm75/notify_fix
fix _exists error message if MAIL_BIN env variable is not set
Eike-Christian Müller eb0c629fad
more simple mail.sh fix
Reverted the original patch and changed it to the obvious simple solution provided by @Neilpang.