3979 Commits

Author SHA1 Message Date
medmunds
9570cce7e3 Add Date email header in Python implementation 2021-08-10 09:25:09 +02:00
medmunds
d4fde8dad3 Clarify _readaccountconf_mutable_default 2021-08-10 09:25:09 +02:00
medmunds
c7ce0fd780 Clean email headers and warn on unsupported address format
Just in case, make sure CR or NL don't end up in
an email header.
2021-08-10 09:25:09 +02:00
medmunds
d9df5df2d0 Implement _rfc2822_date helper 2021-08-10 09:25:09 +02:00
medmunds
a4590b9707 Rework read/save config to not save default values
Add and use _readaccountconf_mutable_default and
_saveaccountconf_mutable_default helpers to capture
common default value handling.

New approach also eliminates need for separate
underscore-prefixed version of each conf var.
2021-08-10 09:25:09 +02:00
medmunds
c2a4f31368 Add _clearaccountconf_mutable() 2021-08-10 09:25:09 +02:00
medmunds
362bd62152 Use PROJECT_NAME and VER for X-Mailer header
Also add X-Mailer header to Python version
2021-08-10 09:25:09 +02:00
medmunds
7f1586678c More than one blank line is an abomination, apparently
I will not try to use whitespace to group code visually
2021-08-10 09:25:09 +02:00
medmunds
897db8d038 Implement curl version of smtp notify-hook 2021-08-10 09:25:09 +02:00
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