Commit Graph

4387 Commits (86daaf4bf21e4ee31fa3b9badaaa4a7b7ce338b2)
 

Author SHA1 Message Date
Christophe B Billheimer b19008d1b8 fix dns_1984hosting_add() so checks for HTML responses are actually find HTML responses 4 years ago
Avi Miller 6f88c81616
Add DNS API plugin for Oracle Cloud Infrastructure DNS Service
This plugin is has noticeably more required fields than most
other plugins due to the requirement that all requests to
the OCI REST API must be cryptographically signed by the client
using the draft standard proposed in draft-cavage-http-signatures-08[1].

The OCI specific implementation details of the draft standard are
documented in the Developer Guide[2].

NOTE: there is maximum allowed clock skew of five minutes between the
client and the API endpoint. Requests will be denied if the skew is
greater.

This PR also includes a minor tweak to the Solaris job in the DNS
workflow so that it uses the pre-installed GNU tools, curl and OpenSSL 1.1.1.
Without these changes, the signature generation function does not
work on Solaris.

[1]: https://datatracker.ietf.org/doc/html/draft-cavage-http-signatures-08
[2]: https://docs.oracle.com/en-us/iaas/Content/API/Concepts/signingrequests.htm#five

Signed-off-by: Avi Miller <avi.miller@oracle.com>
4 years ago
neil 43cb230f19
Merge pull request #3535 from sparunakian/dev
Fix typo (#3521)
4 years ago
neil fd6a59202d start 3.0.0 4 years ago
Stéphane Parunakian e353f66eaa Fix typo 4 years ago
neil 9293bcfb1c
Merge pull request #3534 from acmesh-official/dev
sync
4 years ago
neil d154118600 fix bug 4 years ago
neil c2273d2c8e add debug info 4 years ago
neil 495ba01d8e
Merge pull request #3529 from Haarolean/bugfix/porkbun-fixes
Porkbun DNS API fixes
4 years ago
neil f627a02886 add error message 4 years ago
neil 5f9daa6640 check initAPI error 4 years ago
neil 9edda556de
Merge pull request #3530 from DerVerruckteFuchs/1984-login-fix
1984 login fix
4 years ago
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() 4 years ago
Roman Zabaluev 1e5e3353f3 Fix porkbun issues
See gh-3450
4 years ago
neil 7aa4b8247c upgrade cf-tunnel 4 years ago
neil 37339ddafc
Merge pull request #3525 from tresni/synology_dsm
Synology DSM - Make certificate descriptions sed safe
4 years ago
Brian Hartvigsen dcb51683c5
shellcheck cleanup
shellcheck sees '\\' as trying to escape the trailing quote (see
koalaman/shellcheck#1548 ).
4 years ago
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+).
4 years ago
neilpang 7909273a21 add debug info 4 years ago
neil 130e8dbd40
Merge pull request #3522 from acmesh-official/dev
sync
4 years ago
neil 40e2ebed95 remove ngrok token 4 years ago
neil bf9b33acec use cloudflare tunnel to test 4 years ago
neil 7710a33b6c fix format 4 years ago
neil af3ea2d4fd remove ACME v1 support 4 years ago
neil 52a3255936
Merge pull request #3520 from tresni/synology_dsm
Better fix for Synology DSM setting wrong default
4 years ago
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.
4 years ago
neil 461f602992
Merge pull request #3505 from willbrowningme/patch-1
dnsapi/dns_desec.sh remove DEDYN_NAME variable
4 years ago
neilpang 46180435cc minor 4 years ago
neil 7f2699c6da
Merge pull request #3511 from acmesh-official/dev
Dev
4 years ago
neilpang aede5c486b fix https://github.com/acmesh-official/acme.sh/issues/3504
check invalid status first.
4 years ago
neilpang fb2407386f Merge branch 'dev' of https://github.com/acmesh-official/acme.sh into dev 4 years ago
neilpang aa59c46c4c fix https://github.com/acmesh-official/acme.sh/issues/3504 4 years ago
Benoit Garret 07afc4953a Fix the shfmt check 4 years ago
Will Browning c5557fc488
Remove DEDYN_NAME variable from dns_desec.sh 4 years ago
neil 8c14150536
Merge pull request #3350 from temoffey/deploy-gcore_cdn
Deploy gcore_cdn fix
4 years ago
Benoit Garret c127903127 Add Consul deploy hook 4 years ago
neilpang 0881cf1379 start 2.9.0 4 years ago
neil d0a16b0ec0
Merge pull request #3499 from acmesh-official/dev
sync
4 years ago
neil 290beb90a7 minor 4 years ago
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
4 years ago
neil e0c32ce700 minor 4 years ago
neil e65144a105 fix https://github.com/acmesh-official/acme.sh/issues/3487
suppor Ali doh and dnspod doh.
4 years ago
neil ae40445dba
Merge pull request #3498 from tresni/synology_dsm
FIX: Synology sets "default" on wrong certificate
4 years ago
neil 25a8240d12 fix https://github.com/acmesh-official/acme.sh/issues/3421 4 years ago
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.
4 years ago
neilpang aea10a3b93 Merge branch 'dev' of https://github.com/acmesh-official/acme.sh into dev 4 years ago
neilpang f855862ade upgrade freebsd 4 years ago
neil 91d37c7875 fix compatibility issue 4 years ago
neil 5707b93110
Merge pull request #3493 from goekesmi/master
Pass content via printf string format and argument
4 years ago
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.
4 years ago