Commit Graph

4167 Commits (dcb51683c5204feda587c2944baaa50c8bf30632)
 

Author SHA1 Message Date
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
Alexander Kulumbeg 5d4d53c3a1
Testing datez change for Solaris 4 years ago
Alexander Kulumbeg 3014955ece
Fix comments, error msg and time formatting 4 years ago
Alexander Kulumbeg 0481f20c6b
"datez" var and comments 4 years ago
Alexander Kulumbeg 76309601eb
Update dns_websupport.sh 4 years ago
Alexander Kulumbeg 84dd864886
Simplified approach for the HMAC method 4 years ago
Alexander Kulumbeg 7924e01b15
Added a forgotten ")" 4 years ago
Alexander Kulumbeg dadc70630b
Testing HMAC 4 years ago
Alexander Kulumbeg effc37a702
Catching up with the current state of things
Catching up with the current state of things
4 years ago
neil deac3fc918
Merge pull request #3387 from acmesh-official/dev
fix format
4 years ago
neil e6dea4c92c fix format 4 years ago
neil 075e992fa0
Merge pull request #3386 from acmesh-official/dev
sync
4 years ago
neil 565ca81b30 update readme 4 years ago
neil 58c4eaaf86
fix online install (#3385) 4 years ago
neil 77e8008752
fix docker build (#3383)
* fix dockerhub

* fix

Co-authored-by: neil <win10@neilpang.com>
4 years ago
neil 2ba10fcbc7
Merge pull request #3381 from dgasaway/patch-1
Change ipconfig.co to ifconfig.co
4 years ago
Alexander Kulumbeg 4956a58026
Update dns_websupport.sh 4 years ago
Alexander Kulumbeg 92332fc385
Update dns_websupport.sh 4 years ago