neil
06d1a98ad2
Merge pull request #3330 from medmunds/feature/notify-smtp
Implement smtp notify hook
4 years ago
medmunds
afe6f4030e
Change default SMTP_SECURE to "tls"
Secure by default. Also try to minimize configuration errors.
(Many ESPs/ISPs require STARTTLS, and most support it.)
4 years ago
medmunds
6e49c4ffe0
Prefer Python to curl when both available
4 years ago
medmunds
28d9f00610
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.)
4 years ago
medmunds
8f688e5e13
Add Date email header in Python implementation
4 years ago
medmunds
5a182eddbf
Clarify _readaccountconf_mutable_default
4 years ago
medmunds
4b615cb3a9
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.
4 years ago
medmunds
b36247a091
Implement _rfc2822_date helper
4 years ago
medmunds
6e77756d6a
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.
4 years ago
medmunds
585c0c3818
Add _clearaccountconf_mutable()
4 years ago
medmunds
6ff75f9a9f
Use PROJECT_NAME and VER for X-Mailer header
Also add X-Mailer header to Python version
4 years ago
neilpang
906ef43c00
make the fix for rsa key only
4 years ago
neilpang
4528957235
support openssl 3.0
fix https://github.com/acmesh-official/acme.sh/issues/3399
4 years ago
neil
9d448a42a7
Merge pull request #3409 from eastonman/master
DNSAPI, Huaweicloud DNS: Add error handling
4 years ago
neil
979e10f9d5
Merge pull request #3410 from acmesh-official/dev
sync
4 years ago
Easton Man
31f65b89bb
fix: fix freebsd and solaris
4 years ago
Easton Man
86639dbc02
feat: add huaweicloud error handling
4 years ago
Mike Edmunds
bf8c33703c
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
4 years ago
medmunds
ffe7ef4764
More than one blank line is an abomination, apparently
I will not try to use whitespace to group code visually
4 years ago
medmunds
30dae70e2b
Implement curl version of smtp notify-hook
4 years ago
medmunds
557a747d55
Prep for curl or Python; clean up SMTP_* variable usage
4 years ago
medmunds
fe273b3829
Add instructions for reporting bugs
4 years ago
medmunds
2439bb30e8
Only save config if send is successful
4 years ago
medmunds
e48b6bd22d
Make shfmt happy
(I'm open to better ways of formatting the heredoc
that embeds the Python script.)
4 years ago
medmunds
1de9ffacb0
Implement smtp notify hook
Support notifications via direct SMTP server connection.
Uses Python (2.7.x or 3.4+) to communicate with SMTP server.
4 years ago
jerrm
b7c3e6099c
duckdns - fix "integer expression expected" errors ( #3397 )
* fix "integer expression expected" errors
* duckdns fix
* Update dns_duckdns.sh
* Update dns_duckdns.sh
4 years ago
neilpang
d8163e9835
upgrade freebsd and solaris
4 years ago
neil
12b1916599
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
4 years ago
neil
9d8cdb5976
Merge pull request #3401 from gnought/bugfix/preferred_chain_isrg
Updated --preferred-chain to issue ISRG properly
4 years ago
neil
29a7c1938a
Merge pull request #3403 from manuelm/dev
dnsapi/pdns: also normalize json response in detecting root zone
4 years ago
manuel
8636d3139e
dnsapi/pdns: also normalize json response in detecting root zone
4 years ago
Gnought
987571ce91
Updated --preferred-chain to issue ISRG properly
To support different openssl crl2pkcs7 help cli format
4 years ago
Alexander Kulumbeg
aa479948f9
Final try, leaving _hmac as before
4 years ago
Alexander Kulumbeg
fa3cee9d58
Update dns_websupport.sh
4 years ago
Alexander Kulumbeg
0021fb8a33
Changing the _hmac auth back
It only works this way, apparently
4 years ago
Alexander Kulumbeg
c8c727e6c6
added hex param to _hmac
but removed "printf "s%" ...
4 years ago
Alexander Kulumbeg
b8494ab3cc
Update dns_websupport.sh
4 years ago
Alexander Kulumbeg
2eda03f5de
Changing the _hmac call into Neil's suggestion
4 years ago
Alexander Kulumbeg
3a38358946
Trying the original solution
_hmac sha1 "$(printf "%s" "$WS_ApiSecret" | _hex_dump | tr -d " ")" hex)
4 years ago
neil
e7fc697e57
Merge pull request #3338 from fvahid/master
update arvan api script
4 years ago
Alexander Kulumbeg
6c9845b9f3
adding the hex parameter to _hmac call
4 years ago
Alexander Kulumbeg
9e146a8a5a
Typo
Forgot a quotation mark on line 161
4 years ago
Alexander Kulumbeg
433d9bfb02
Implementing/testing Neil's suggestions
4 years ago
Alexander Kulumbeg
94917e315e
Testing double 2>/dev/null into _utc_date with sed
4 years ago
Alexander Kulumbeg
ced6852735
2>/dev/null/ to 2>/dev/null
Silly mistake with a "/" -.-
4 years ago
Alexander Kulumbeg
8dc55f417d
Extra test - adding date -u -d
Adding this to at least partially prevent the virtually nonexistent possibility of timestamp and _utc_date() mismatch. If the normal date -u -d does not get converted (looking at you Solaris!), the poor man's method with manipulating the _utc_date() string output kicks in.
4 years ago
Alexander Kulumbeg
3d338bba3c
Fixing the shebang accident
4 years ago
Alexander Kulumbeg
631398f700
sed workaround for "datez"
4 years ago
Alexander Kulumbeg
7984d8cdfb
And again
4 years ago
Alexander Kulumbeg
783a6110ef
Yet another Solaris test
4 years ago