1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2024-12-25 07:47:05 +00:00

Let's encrypt certbot hotfix

This commit is contained in:
David Duque 2020-06-27 21:32:36 +01:00
parent 7af4ab0f4f
commit fcb44dafa3
No known key found for this signature in database
GPG Key ID: 2F327738A3C0AE3A
3 changed files with 7 additions and 4 deletions

View File

@ -22,7 +22,7 @@ Install Power-Mail-in-a-Box (short link)
curl -L https://dvn.pt/powermiab | sudo bash curl -L https://dvn.pt/powermiab | sudo bash
``` ```
## Current Version: v0.44.POWER.7 (Tracking v0.44) ## Current Version: v0.46.POWER.1 (Tracking v0.46)
This is a fork of MiaB (duh), hacked and tuned to my needs: This is a fork of MiaB (duh), hacked and tuned to my needs:
@ -44,6 +44,8 @@ This is a fork of MiaB (duh), hacked and tuned to my needs:
- - Custom pages will no longer have their pages defaulting to the MiaB services (`/admin`, `/mail`, etc.); - - Custom pages will no longer have their pages defaulting to the MiaB services (`/admin`, `/mail`, etc.);
- ✅ Updated NextCloud to the latest version available;
- 💤 Possibility of disabling some services (\*cough\* NextCloud \*cough\*); - 💤 Possibility of disabling some services (\*cough\* NextCloud \*cough\*);
- 💤 Anything else I might need to use; - 💤 Anything else I might need to use;

View File

@ -347,6 +347,7 @@ def provision_certificates(env, limit_domains):
#"-v", # just enough to see ACME errors #"-v", # just enough to see ACME errors
"--non-interactive", # will fail if user hasn't registered during Mail-in-a-Box setup "--non-interactive", # will fail if user hasn't registered during Mail-in-a-Box setup
"--agree-tos", # Automatically agrees to Let's Encrypt TOS "--agree-tos", # Automatically agrees to Let's Encrypt TOS
"--register-unsafely-without-email", # The daemon takes care of renewals
"-d", ",".join(domain_list), # first will be main domain "-d", ",".join(domain_list), # first will be main domain

View File

@ -10,7 +10,7 @@ if [ -z "$TAG" ]; then
# Make s # Make s
OS=`lsb_release -d | sed 's/.*:\s*//'` OS=`lsb_release -d | sed 's/.*:\s*//'`
if [ "$OS" == "Debian GNU/Linux 10 (buster)" -o "$OS" == "Ubuntu 20.04 LTS" ]; then if [ "$OS" == "Debian GNU/Linux 10 (buster)" -o "$OS" == "Ubuntu 20.04 LTS" ]; then
TAG=v0.46.POWER.0 TAG=v0.46.POWER.1
else else
echo "This script must be run on a system running Debian 10 OR Ubuntu 20.04 LTS." echo "This script must be run on a system running Debian 10 OR Ubuntu 20.04 LTS."
exit 1 exit 1