4120 Commits

Author SHA1 Message Date
medmunds
03c8cacb67 Prep for curl or Python; clean up SMTP_* variable usage 2021-08-10 09:25:09 +02:00
medmunds
3aec3fc436 Add instructions for reporting bugs 2021-08-10 09:25:09 +02:00
medmunds
897be36a26 Only save config if send is successful 2021-08-10 09:25:09 +02:00
medmunds
dd2844d5b8 Make shfmt happy
(I'm open to better ways of formatting the heredoc
that embeds the Python script.)
2021-08-10 09:25:09 +02:00
medmunds
e770250bb9 Implement smtp notify hook
Support notifications via direct SMTP server connection.
Uses Python (2.7.x or 3.4+) to communicate with SMTP server.
2021-08-10 09:25:09 +02:00
neilpang
7597fb0566 make the fix for rsa key only 2021-08-10 09:25:09 +02:00
neilpang
2b14a17c85 support openssl 3.0
fix https://github.com/acmesh-official/acme.sh/issues/3399
2021-08-10 09:25:09 +02:00
Easton Man
5a6f672a6f fix: fix freebsd and solaris 2021-08-10 09:25:09 +02:00
Easton Man
2413baef55 feat: add huaweicloud error handling 2021-08-10 09:25:09 +02:00
Mike Edmunds
81751c0aa9 Fix: Unifi deploy hook support Unifi Cloud Key (#3327)
* fix: unifi deploy hook also update Cloud Key nginx certs

When running on a Unifi Cloud Key device, also deploy to
/etc/ssl/private/cloudkey.{crt,key} and reload nginx. This
makes the new cert available for the Cloud Key management
app running via nginx on port 443 (as well as the port 8443
Unifi Controller app the deploy hook already supported).

Fixes #3326

* Improve settings documentation comments

* Improve Cloud Key pre-flight error messaging

* Fix typo

* Add support for UnifiOS (Cloud Key Gen2)

Since UnifiOS does not use the Java keystore (like a Unifi
Controller or Cloud Key Gen1 deploy), this also reworks
the settings validation and error messaging somewhat.

* PR review fixes

* Detect unsupported Cloud Key java keystore location

* Don't try to restart inactive services

(and remove extra spaces from reload command)

* Clean up error messages and internal variables

* Change to _getdeployconf/_savedeployconf

* Switch from cp to cat to preserve file permissions
2021-08-10 09:25:09 +02:00
jerrm
b621185867 duckdns - fix "integer expression expected" errors (#3397)
* fix "integer expression expected" errors

* duckdns fix

* Update dns_duckdns.sh

* Update dns_duckdns.sh
2021-08-10 09:25:09 +02:00
neilpang
bb10f748b1 upgrade freebsd and solaris 2021-08-10 09:25:09 +02:00
neil
b80d8f4d2d Chain (#3408)
* fix https://github.com/acmesh-official/acme.sh/issues/3384
match the issuer to the root CA cert subject

* fix format

* fix https://github.com/acmesh-official/acme.sh/issues/3384

* remove the alt files. https://github.com/acmesh-official/acme.sh/issues/3384
2021-08-10 09:25:09 +02:00
Gnought
1c2e031153 Updated --preferred-chain to issue ISRG properly
To support different openssl crl2pkcs7 help cli format
2021-08-10 09:25:09 +02:00
manuel
f27ddc9c40 dnsapi/pdns: also normalize json response in detecting root zone 2021-08-10 09:25:09 +02:00
Vahid Fardi
ad87b4b0c0 change name actor 2021-08-10 09:25:09 +02:00
Vahid Fardi
dcf466695c change Author name 2021-08-10 09:25:09 +02:00
Vahid Fardi
88997ef849 change arvan api script 2021-08-10 09:25:09 +02:00
neil
ce661b100c fix format 2021-08-10 09:25:09 +02:00
neil
5651d4da62 update readme 2021-08-10 09:25:09 +02:00
neil
8d035858ff fix online install (#3385) 2021-08-10 09:25:09 +02:00
neil
bbb8c133ef fix docker build (#3383)
* fix dockerhub

* fix

Co-authored-by: neil <win10@neilpang.com>
2021-08-10 09:25:09 +02:00
dgasaway
ae670315f6 Change ipconfig.co to ifconfig.co
URL https://ipconfig.co/ip does not currently work, and since https://ifconfig.co/ip is mentioned on the DNS API wiki page, I assume these messages were a typo.
2021-08-10 09:25:09 +02:00
MaysWind
51d31d82cb update dnspod.com api 2021-08-10 09:25:09 +02:00
Lukas Brocke
f2dd9fd28b dnsapi/ionos: Change to root zone finding algorithm 2021-08-10 09:25:09 +02:00
Lukas Brocke
34af4bae6b dnsapi/ionos: Fixes for Solaris 2021-08-10 09:25:08 +02:00
Lukas Brocke
24599f69da dnsapi/ionos: Add support for v2 wildcard certificates 2021-08-10 09:25:08 +02:00
Lukas Brocke
2b7c991919 dnsapi/ionos: Run shfmt 2021-08-10 09:25:08 +02:00
Lukas Brocke
1191ba44ca dnsapi/ionos: Add API support for IONOS DNS API
The IONOS DNS API is in beta state, please read [1] on how to get
started.

PLEASE NOTE: The v2 wildcard certification creation [2] is not yet
supported as the IONOS API doesn't allow the creation of multiple TXT
records with the same domain name.

[1] https://beta.developer.hosting.ionos.de/docs/getstarted
[2] https://github.com/acmesh-official/acme.sh/issues/1261
2021-08-10 09:25:08 +02:00
neil
488fc09433 fix format 2021-08-10 09:25:08 +02:00
pssara
fa7dfde08f Fixed issue with ISP config where the Client ID was asumed to be the same as the SYS User ID 2021-08-10 09:25:08 +02:00
Mark Challoner
d871767a01 Add Peplink deploy hook 2021-08-10 09:25:08 +02:00
Mike Beattie
6bdbc16394 Avoid usage of sed -e 2021-08-10 09:25:08 +02:00
Mike Beattie
f6f9f74a14 Correct shebang 2021-08-10 09:25:08 +02:00
Mike Beattie
9cccf5e7cf Add Telegram notification script
Requires:
- API Token for a bot created with the Telegram Bot Father.
- A Chat ID for a user/group that the bot has permission to post to.
2021-08-10 09:25:08 +02:00
Stephen Dendtler
1ef3efe793 _get_root now does not skip the first label of the domain 2021-08-10 09:25:08 +02:00
Stephen Dendtler
2629140d88 Added RackCorp API Integration 2021-08-10 09:25:08 +02:00
neil
54dca4b5fa fix https://github.com/acmesh-official/acme.sh/issues/3156 2021-08-10 09:25:08 +02:00
James Edington
dfddffd194 This is a general-purpose ACME client. We should be proud of this. 2021-08-10 09:25:08 +02:00
jimp100
177493ef44 Corrected regex for subdomains
A fix to handle subdomains of a duckdns domain.  I.e.  subdomain.mydomain.duckdns.org
Handles n number of subdomains
2021-08-10 09:25:08 +02:00
neil
bef7c0341b add libidn 2021-08-10 09:25:08 +02:00
neil
a03a874f3b add dns check wiki 2021-08-10 09:25:08 +02:00
Lorenz Stechauner
de4377f3a0 World4You shellcheck 2021-08-10 09:25:08 +02:00
Lorenz Stechauner
573c0b1951 World4You code refactor 2021-08-10 09:25:08 +02:00
Lorenz Stechauner
dc8513122e World4You Bugfix unable to parse paketnr 2021-08-10 09:25:08 +02:00
Brian Hartvigsen
6e27d9db64 Shellcheck linting
Also removed unused code
2021-08-10 09:25:08 +02:00
Brian Hartvigsen
119643475f Support DSM 6 and 7
Small changes for DSM 6:

All fields (except enable_syno_token as explained below) must either be in the GET params or the POST params, you can't mix GET and POST params
enable_syno_token=yes must be in both the GET and POST params.
If enable_syno_token=yes is only in the POST fields, then DSM6 returns a synotoken of --------. If enable_syno_token=yes is only in the GET params, then it returns no synotoken at all. It must be in both to work.
Need to use /webapi/auth.cgi instead of /webapi/entry.cgi
Verified with DSM 6.2.3-25426 Update 2 and DSM 7.0-40850
2021-08-10 09:25:08 +02:00
Thijn
9109f4760c Fix synology_dsm deployhook for DSM 7 2021-08-10 09:25:08 +02:00
Brian Hartvigsen
877f768e01 Use POST for login
This allows us to get the cookie and the token (as it appears to be only in the body in DSM 7.)  HTTP_HEADERS is only guarenteed to be output with POST for both wget and curl.
2021-08-10 09:25:08 +02:00
Van Hau TRAN
47ac086d5b fix: fix delete txt record and error mngtt 2021-08-10 09:25:08 +02:00