Commit Graph

4530 Commits (8752d08ce95e7edd938f5de1262038805424bd78)
 

Author SHA1 Message Date
Avi Miller ed971df93a
fix: add missing else/return 1 to if block
Signed-off-by: Avi Miller <avi.miller@oracle.com>
neilpang 74c054b2a5 fix https://github.com/acmesh-official/acme.sh/issues/3563
Avi Miller 017a10189c
fix: switch to using functions instead of calling OpenSSL directly
Also reduced the number of environment variables which simplifies
the documentation and requirements. The variable names now match
those used by the OCI CLI.

Signed-off-by: Avi Miller <avi.miller@oracle.com>
neil f1c361855e
Merge pull request from PeterDaveHello/Refactor_Dockerfile
Refactor Dockerfile
neil 3d72df4666
Merge pull request from PeterDaveHello/UpdateREADME.md
Remove invalid "Contribute" link in README.md
Peter Dave Hello 6f732a9957 Use `COPY` instead of `ADD` in Dockerfile for folder
Ref:
https://docs.docker.com/develop/develop-images/#add-or-copy
Peter Dave Hello 447bf77dfe Simplify apk command in Dockerfile
With apk `--no-cache` parameter, there is no need to run `apk update`
and manually clean up the cache, apk will update automatically without
leaving local cache files to be cleaned up.
Peter Dave Hello 6621ef6a0b Remove invalid "Contribute" link in README.md
Marcus Grando e327c8758e Merge branch 'acmesh-official:dev' into dev
neil 8a08de5691
Merge pull request from acmesh-official/dev
add linux tests
neilpang 3d7375be8b update status
neilpang da754e9a71 fix
neilpang cc9ec806b2 add all Linux
neil 72cf037c0d
Merge pull request from acmesh-official/dev
fix for solaris
neilpang 8ae08b29e4 fix for solaris
neil 4967fa020f
Merge pull request from acmesh-official/dev
sync
neilpang 54f2640ef2 fix env
neilpang 56246592c7 set ca names in the env
neilpang 1ff5d71e12 fix windows
neilpang 67c42c5911 add zerossl
neilpang d0b514890a change default ca to zerossl
Marcus Grando c0285fbc15 Added Azion DNS API
neil a438c841e1
Merge pull request from DerVerruckteFuchs/_get_root()-fix
fix _get_root() so that it successfully gets the root domain
neil 19d7c2b336 fix bug
neil afb6c70909
Merge pull request from DerVerruckteFuchs/dns_1984hosting_add()-fix
fix dns_1984hosting_add() so checks for HTML responses actually find HTML responses
DerVerruckteFuchs d9af496b13
Merge branch 'dev' into _get_root()-fix
Christophe B Billheimer a55cf40b1b fix _get_root() so that it successfully gets the root domain
Christophe B Billheimer b19008d1b8 fix dns_1984hosting_add() so checks for HTML responses are actually find HTML responses
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>
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