Commit Graph

4193 Commits

Author SHA1 Message Date
neilpang
6ee91e14a6 update 2021-08-10 09:30:06 +02:00
jonwltn
e8d9933823 Fix the URL for checking DNSPod availability. 2021-08-10 09:30:06 +02:00
neilpang
c19446f696 use letsencrypt server to renew certs if no server was saved. 2021-08-10 09:30:06 +02:00
neilpang
208c330da1 fix for compatiblity 2021-08-10 09:30:06 +02:00
neilpang
180460c69c fix env 2021-08-10 09:30:06 +02:00
neilpang
6cf5580a13 fix format 2021-08-10 09:30:06 +02:00
neilpang
ef1685d445 fix revoke 2021-08-10 09:30:06 +02:00
neilpang
743814c865 fix test server 2021-08-10 09:30:05 +02:00
neilpang
8e401ed465 fix initapi 2021-08-10 09:30:05 +02:00
neilpang
5afdbb7780 fix deactivate 2021-08-10 09:30:05 +02:00
neilpang
a14f3b348d fix deactivate 2021-08-10 09:30:05 +02:00
neilpang
7be74df2ea Use TEST_ACME_Server 2021-08-10 09:30:05 +02:00
neilpang
6b67132d04 use TEST_ACME_Server 2021-08-10 09:30:05 +02:00
neilpang
c2094ae156 remove unused file 2021-08-10 09:30:05 +02:00
Arnoud Vermeer
0a990040e6 [dns_pdns] Fix: missing content type in PATCH requests #3454 2021-08-10 09:30:05 +02:00
neilpang
7049537285 remove buypass test 2021-08-10 09:30:05 +02:00
neilpang
531318e087 fix filter 2021-08-10 09:30:05 +02:00
neilpang
ee10e2ab74 add NO_ECC_384 2021-08-10 09:30:05 +02:00
neilpang
88b7710ff5 fix path filter 2021-08-10 09:30:05 +02:00
neilpang
ff69be6029 fix error 2021-08-10 09:30:05 +02:00
neilpang
f88d6a155b fix initapi 2021-08-10 09:30:05 +02:00
neilpang
934fd77d0e fix error 2021-08-10 09:30:05 +02:00
neilpang
beec3f6fc9 add buypass test 2021-08-10 09:30:05 +02:00
neilpang
f3aab68a13 remove unnecessary check 2021-08-10 09:30:05 +02:00
neilpang
fa29233c91 add retry for init api 2021-08-10 09:30:05 +02:00
Benoit Garret
468244e650 Fix the shfmt check 2021-08-10 09:30:05 +02:00
Benoit Garret
f22aa744cc Add Consul deploy hook 2021-08-10 09:30:05 +02:00
Habetdin
5535bb4cf8 Fix special characters escaping
To escape characters '_', '*', '`', '[' outside of an entity, prepend the characters '\' before them.
2021-08-10 09:30:05 +02:00
neilpang
f5b350f144 fix for list short name 2021-08-10 09:30:05 +02:00
neilpang
16378ab1c2 minor 2021-08-10 09:30:05 +02:00
neilpang
3ba70095ec update status 2021-08-10 09:30:05 +02:00
neilpang
8e789b23c8 split in to multiple files, so that it can pass more. 2021-08-10 09:30:05 +02:00
neilpang
eb0d7a2a20 fix format 2021-08-10 09:30:05 +02:00
neilpang
810911e0ef move ca key path 2021-08-10 09:30:05 +02:00
neilpang
6ac5d93e02 fix format 2021-08-10 09:30:05 +02:00
neilpang
9117cb62e3 typo 2021-08-10 09:30:05 +02:00
neilpang
08055a57a6 support SSL.com 2021-08-10 09:30:05 +02:00
neilpang
dd2060e105 fix for compatibility to sslcom 2021-08-10 09:30:05 +02:00
neilpang
5563ff2a5f minor 2021-08-10 09:30:05 +02:00
Avi Miller
7d1ffd439d fix: fix a format issue reported by shellfmt
Signed-off-by: Avi Miller <avi.miller@oracle.com>
2021-08-10 09:30:05 +02:00
Avi Miller
38bf164979 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>
2021-08-10 09:30:05 +02:00
Avi Miller
35d4617009 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>
2021-08-10 09:30:05 +02:00
Avi Miller
55681f9fdd 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>
2021-08-10 09:30:05 +02:00
Avi Miller
bdc0f74d00 fix: add missing else/return 1 to if block
Signed-off-by: Avi Miller <avi.miller@oracle.com>
2021-08-10 09:30:05 +02:00
Avi Miller
a41cf825e7 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>
2021-08-10 09:30:05 +02:00
Avi Miller
eee5341988 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>
2021-08-10 09:30:05 +02:00
neilpang
e3ae12c7a7 exclude test for dns api changes 2021-08-10 09:30:05 +02:00
neilpang
6e05ad4e71 fix https://github.com/acmesh-official/acme.sh/issues/3563 2021-08-10 09:30:05 +02:00
Peter Dave Hello
941a94587c Use COPY instead of ADD in Dockerfile for folder
Ref:
https://docs.docker.com/develop/develop-images/#add-or-copy
2021-08-10 09:30:05 +02:00
Peter Dave Hello
ed5e93f5a1 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.
2021-08-10 09:30:05 +02:00