4140 Commits

Author SHA1 Message Date
neilpang
a95bf7d374 fix https://github.com/acmesh-official/acme.sh/issues/3019 2021-08-10 09:25:09 +02:00
neilpang
22a377f04a fix https://github.com/acmesh-official/acme.sh/issues/3433 2021-08-10 09:25:09 +02:00
Lukas Brocke
06b04cb60c dnsapi/ionos: Use POST instead of PATCH for adding TXT record
The API now supports a POST route for adding records. Therefore
checking for already existing records and including them in a PATCH
request is no longer necessary.
2021-08-10 09:25:09 +02:00
Kristian Johansson
c705c5e778 Adds comment 2021-08-10 09:25:09 +02:00
Kristian Johansson
56f032ee82 Fixes response handling and thereby allow issuing of subdomain certs 2021-08-10 09:25:09 +02:00
neilpang
e0946b822d fix https://github.com/acmesh-official/acme.sh/issues/3402 2021-08-10 09:25:09 +02:00
Geert Hendrickx
3bb1986bb5 No need to include EC parameters explicitly with the private key.
(they are embedded)
2021-08-10 09:25:09 +02:00
czeming
817ccba687 Update dns_dp.sh
没有encode中文字符会导致提交失败
2021-08-10 09:25:09 +02:00
medmunds
60027ca7fe Change default SMTP_SECURE to "tls"
Secure by default. Also try to minimize configuration errors.
(Many ESPs/ISPs require STARTTLS, and most support it.)
2021-08-10 09:25:09 +02:00
medmunds
f8ee124742 Prefer Python to curl when both available 2021-08-10 09:25:09 +02:00
medmunds
3cfb423e89 Use email.policy.default in Python 3 implementation
Improves standards compatibility and utf-8 handling
in Python 3.3-3.8. (email.policy.default becomes the
default in Python 3.9.)
2021-08-10 09:25:09 +02:00
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