Commit Graph

4217 Commits (30f11d0e16e79ff672f6ef54934d6625162da882)
 

Author SHA1 Message Date
neilpang 30f11d0e16 typo 4 years ago
neilpang 53d6ab6c23 support SSL.com 4 years ago
neilpang 280e44304a fix for compatibility to sslcom 4 years ago
neilpang 79fac4466e minor 4 years ago
neil 0e9f09e582
Merge pull request #3539 from Djelibeybi/dev
Add DNS API plugin for Oracle Cloud Infrastructure DNS Service
4 years ago
Avi Miller 25d0fdf8ff
fix: fix a format issue reported by shellfmt
Signed-off-by: Avi Miller <avi.miller@oracle.com>
4 years ago
Avi Miller 1d089d4541
fix: refactor the way the config is read from file and envvars
The plugin will use the following order of precedence:

environment value > file value > default value

See the wiki for details on environment variable names.

Signed-off-by: Avi Miller <avi.miller@oracle.com>
4 years ago
neilpang 1c78663378 exclude test for dns api changes 4 years ago
Avi Miller 7666022840
fix: revert _readini() function to be more generic
Also switched [::space::] with a literal space for better
cross-platform compatibility.

Signed-off-by: Avi Miller <avi.miller@oracle.com>
4 years ago
Avi Miller 946c8b498a
feat: enable automatic configuration from an OCI configuration file
The individual parameters can still be overridden via the
corresponding OCI_CLI environment variable.

Signed-off-by: Avi Miller <avi.miller@oracle.com>
4 years ago
Avi Miller ed971df93a
fix: add missing else/return 1 to if block
Signed-off-by: Avi Miller <avi.miller@oracle.com>
4 years ago
neilpang 74c054b2a5 fix https://github.com/acmesh-official/acme.sh/issues/3563 4 years ago
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>
4 years ago
neil f1c361855e
Merge pull request #2526 from PeterDaveHello/Refactor_Dockerfile
Refactor Dockerfile
4 years ago
neil 3d72df4666
Merge pull request #2529 from PeterDaveHello/UpdateREADME.md
Remove invalid "Contribute" link in README.md
4 years ago
Peter Dave Hello 6f732a9957 Use `COPY` instead of `ADD` in Dockerfile for folder
Ref:
https://docs.docker.com/develop/develop-images/#add-or-copy
4 years ago
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.
4 years ago
Peter Dave Hello 6621ef6a0b Remove invalid "Contribute" link in README.md 4 years ago
neilpang 3d7375be8b update status 4 years ago
neilpang da754e9a71 fix 4 years ago
neilpang cc9ec806b2 add all Linux 4 years ago
neilpang 8ae08b29e4 fix for solaris 4 years ago
neilpang 54f2640ef2 fix env 4 years ago
neilpang 56246592c7 set ca names in the env 4 years ago
neilpang 1ff5d71e12 fix windows 4 years ago
neilpang 67c42c5911 add zerossl 4 years ago
neilpang d0b514890a change default ca to zerossl 4 years ago
neil a438c841e1
Merge pull request #3542 from DerVerruckteFuchs/_get_root()-fix
fix _get_root() so that it successfully gets the root domain
4 years ago
neil 19d7c2b336 fix bug 4 years ago
neil afb6c70909
Merge pull request #3541 from DerVerruckteFuchs/dns_1984hosting_add()-fix
fix dns_1984hosting_add() so checks for HTML responses actually find HTML responses
4 years ago
DerVerruckteFuchs d9af496b13
Merge branch 'dev' into _get_root()-fix 4 years ago
Christophe B Billheimer a55cf40b1b fix _get_root() so that it successfully gets the root domain 4 years ago
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