public
nobgit
read
NobMail
Based on mailcow: dockerized
Languages
Repository composition by tracked source files.
PHP
49%
JavaScript
35%
HTML
9%
CSS
4%
Shell
2%
Python
1%
Lua
0%
Perl
0%
Ruby
0%
SCSS
0%
Create file
Wiki Documentation
Clone
https://nobgit.com/orgs/nobgit/nobmail.git
ssh://[email protected]:2222/orgs/nobgit/nobmail.git
Trace
data/Dockerfiles/acme/acme.sh
Trace helps you understand code history line by line. See who changed each line, when it changed, and which commit introduced it.
acme.sh
on main
Author
Date
Commit
Line
Code
andryyy
about 9 years ago
ef62f6b
Acme tool checks for valid autodiscover and autoconfig A records and skips non-existing names
- Full commit hash
ef62f6b38315b8e8cea2741bd2642b6b17cd0375- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 1
#!/bin/bash
#!/bin/bash
andryyy
almost 9 years ago
ab850dc
[ACME] Detect and fix invalid registration
- Full commit hash
ab850dc901eddf26f9a6f2852efb037206c823d8- Author
- andryyy <[email protected]>
- Date
- almost 9 years ago
- Selected line
- 2
set -o pipefail
set -o pipefail
same change
ab850dc
[ACME] Detect and fix invalid registration
- Full commit hash
ab850dc901eddf26f9a6f2852efb037206c823d8- Author
- andryyy <[email protected]>
- Date
- almost 9 years ago
- Selected line
- 3
exec 5>&1
exec 5>&1
andryyy
about 9 years ago
ef62f6b
Acme tool checks for valid autodiscover and autoconfig A records and skips non-existing names
- Full commit hash
ef62f6b38315b8e8cea2741bd2642b6b17cd0375- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 4
andryyy
over 6 years ago
1fb81f0
[ACME] Use redis master for write operations
- Full commit hash
1fb81f05116f580924aa799e5b42e74a4803e323- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 5
# Do not attempt to write to slave
# Do not attempt to write to slave
same change
1fb81f0
[ACME] Use redis master for write operations
- Full commit hash
1fb81f05116f580924aa799e5b42e74a4803e323- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 6
if [[ ! -z ${REDIS_SLAVEOF_IP} ]]; then
if [[ ! -z ${REDIS_SLAVEOF_IP} ]]; then
FreddleSpl0it
over 1 year ago
6831f94
[Redis] redis-cli suppress auth warning
- Full commit hash
6831f94fdb209fb4a558f5f81fb7db340c856bd2- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 7
export REDIS_CMDLINE="redis-cli -h ${REDIS_SLAVEOF_IP} -p ${REDIS_SLAVEOF_PORT} -a ${REDISPASS} --no-auth-warning"
export REDIS_CMDLINE="redis-cli -h ${REDIS_SLAVEOF_IP} -p ${REDIS_SLAVEOF_PORT} -a ${REDISPASS} --no-auth-warning"
andryyy
over 6 years ago
1fb81f0
[ACME] Use redis master for write operations
- Full commit hash
1fb81f05116f580924aa799e5b42e74a4803e323- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 8
else
else
FreddleSpl0it
over 1 year ago
6831f94
[Redis] redis-cli suppress auth warning
- Full commit hash
6831f94fdb209fb4a558f5f81fb7db340c856bd2- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 9
export REDIS_CMDLINE="redis-cli -h redis -p 6379 -a ${REDISPASS} --no-auth-warning"
export REDIS_CMDLINE="redis-cli -h redis -p 6379 -a ${REDISPASS} --no-auth-warning"
andryyy
over 6 years ago
1fb81f0
[ACME] Use redis master for write operations
- Full commit hash
1fb81f05116f580924aa799e5b42e74a4803e323- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 10
fi
fi
same change
1fb81f0
[ACME] Use redis master for write operations
- Full commit hash
1fb81f05116f580924aa799e5b42e74a4803e323- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 11
andryyy
over 6 years ago
e28a176
[ACME, Watchdog] Improve waiting for Redis
- Full commit hash
e28a1766391183151464b2ba12482443dae2cf59- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 12
until [[ $(${REDIS_CMDLINE} PING) == "PONG" ]]; do
until [[ $(${REDIS_CMDLINE} PING) == "PONG" ]]; do
same change
e28a176
[ACME, Watchdog] Improve waiting for Redis
- Full commit hash
e28a1766391183151464b2ba12482443dae2cf59- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 13
echo "Waiting for Redis..."
echo "Waiting for Redis..."
same change
e28a176
[ACME, Watchdog] Improve waiting for Redis
- Full commit hash
e28a1766391183151464b2ba12482443dae2cf59- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 14
sleep 2
sleep 2
same change
e28a176
[ACME, Watchdog] Improve waiting for Redis
- Full commit hash
e28a1766391183151464b2ba12482443dae2cf59- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 15
done
done
same change
e28a176
[ACME, Watchdog] Improve waiting for Redis
- Full commit hash
e28a1766391183151464b2ba12482443dae2cf59- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 16
FreddleSpl0it
5 months ago
dcbea71
[ACME] auto-create DNS-01 config template on startup
- Full commit hash
dcbea71e67e3581529bed7159554c4fd1f4ee00f- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 17
# Create DNS-01 configuration template if it doesn't exist
# Create DNS-01 configuration template if it doesn't exist
same change
dcbea71
[ACME] auto-create DNS-01 config template on startup
- Full commit hash
dcbea71e67e3581529bed7159554c4fd1f4ee00f- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 18
if [[ ! -f /etc/acme/dns-01.conf ]]; then
if [[ ! -f /etc/acme/dns-01.conf ]]; then
same change
dcbea71
[ACME] auto-create DNS-01 config template on startup
- Full commit hash
dcbea71e67e3581529bed7159554c4fd1f4ee00f- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 19
mkdir -p /etc/acme
mkdir -p /etc/acme
same change
dcbea71
[ACME] auto-create DNS-01 config template on startup
- Full commit hash
dcbea71e67e3581529bed7159554c4fd1f4ee00f- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 20
cat > /etc/acme/dns-01.conf <<'EOF'
cat > /etc/acme/dns-01.conf <<'EOF'
same change
dcbea71
[ACME] auto-create DNS-01 config template on startup
- Full commit hash
dcbea71e67e3581529bed7159554c4fd1f4ee00f- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 21
# Add here your DNS-01 challenge configuration
# Add here your DNS-01 challenge configuration
same change
dcbea71
[ACME] auto-create DNS-01 config template on startup
- Full commit hash
dcbea71e67e3581529bed7159554c4fd1f4ee00f- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 22
# For more information, visit the acme.sh documentation:
# For more information, visit the acme.sh documentation:
same change
dcbea71
[ACME] auto-create DNS-01 config template on startup
- Full commit hash
dcbea71e67e3581529bed7159554c4fd1f4ee00f- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 23
# https://github.com/acmesh-official/acme.sh/wiki/dnsapi
# https://github.com/acmesh-official/acme.sh/wiki/dnsapi
same change
dcbea71
[ACME] auto-create DNS-01 config template on startup
- Full commit hash
dcbea71e67e3581529bed7159554c4fd1f4ee00f- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 24
EOF
EOF
same change
dcbea71
[ACME] auto-create DNS-01 config template on startup
- Full commit hash
dcbea71e67e3581529bed7159554c4fd1f4ee00f- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 25
echo "Created DNS-01 configuration template at /etc/acme/dns-01.conf"
echo "Created DNS-01 configuration template at /etc/acme/dns-01.conf"
same change
dcbea71
[ACME] auto-create DNS-01 config template on startup
- Full commit hash
dcbea71e67e3581529bed7159554c4fd1f4ee00f- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 26
fi
fi
same change
dcbea71
[ACME] auto-create DNS-01 config template on startup
- Full commit hash
dcbea71e67e3581529bed7159554c4fd1f4ee00f- Author
- FreddleSpl0it <[email protected]>
- Date
- 5 months ago
- Selected line
- 27
Marcel Hofer
almost 7 years ago
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 28
source /srv/functions.sh
source /srv/functions.sh
André
about 8 years ago
f88a72e
[ACME] Validate AAAA, if any, before A - fail on AAAA mismatch (LE prioritization)
- Full commit hash
f88a72eedd2eb564270a59166eab53ea8dad3a09- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 29
# Thanks to https://github.com/cvmiller -> https://github.com/cvmiller/expand6
# Thanks to https://github.com/cvmiller -> https://github.com/cvmiller/expand6
same change
f88a72e
[ACME] Validate AAAA, if any, before A - fail on AAAA mismatch (LE prioritization)
- Full commit hash
f88a72eedd2eb564270a59166eab53ea8dad3a09- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 30
source /srv/expand6.sh
source /srv/expand6.sh
same change
f88a72e
[ACME] Validate AAAA, if any, before A - fail on AAAA mismatch (LE prioritization)
- Full commit hash
f88a72eedd2eb564270a59166eab53ea8dad3a09- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 31
andryyy
over 7 years ago
b42d0df
[ACME] Allow to skip http verification
- Full commit hash
b42d0df8e247b7875e87e35dc8d2f03622fa7809- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 32
# Skipping IP check when we like to live dangerously
# Skipping IP check when we like to live dangerously
same change
b42d0df
[ACME] Allow to skip http verification
- Full commit hash
b42d0df8e247b7875e87e35dc8d2f03622fa7809- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 33
if [[ "${SKIP_IP_CHECK}" =~ ^([yY][eE][sS]|[yY])+$ ]]; then
if [[ "${SKIP_IP_CHECK}" =~ ^([yY][eE][sS]|[yY])+$ ]]; then
same change
b42d0df
[ACME] Allow to skip http verification
- Full commit hash
b42d0df8e247b7875e87e35dc8d2f03622fa7809- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 34
SKIP_IP_CHECK=y
SKIP_IP_CHECK=y
same change
b42d0df
[ACME] Allow to skip http verification
- Full commit hash
b42d0df8e247b7875e87e35dc8d2f03622fa7809- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 35
fi
fi
same change
b42d0df
[ACME] Allow to skip http verification
- Full commit hash
b42d0df8e247b7875e87e35dc8d2f03622fa7809- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 36
same change
b42d0df
[ACME] Allow to skip http verification
- Full commit hash
b42d0df8e247b7875e87e35dc8d2f03622fa7809- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 37
# Skipping HTTP check when we like to live dangerously
# Skipping HTTP check when we like to live dangerously
same change
b42d0df
[ACME] Allow to skip http verification
- Full commit hash
b42d0df8e247b7875e87e35dc8d2f03622fa7809- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 38
if [[ "${SKIP_HTTP_VERIFICATION}" =~ ^([yY][eE][sS]|[yY])+$ ]]; then
if [[ "${SKIP_HTTP_VERIFICATION}" =~ ^([yY][eE][sS]|[yY])+$ ]]; then
same change
b42d0df
[ACME] Allow to skip http verification
- Full commit hash
b42d0df8e247b7875e87e35dc8d2f03622fa7809- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 39
SKIP_HTTP_VERIFICATION=y
SKIP_HTTP_VERIFICATION=y
same change
b42d0df
[ACME] Allow to skip http verification
- Full commit hash
b42d0df8e247b7875e87e35dc8d2f03622fa7809- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 40
fi
fi
same change
b42d0df
[ACME] Allow to skip http verification
- Full commit hash
b42d0df8e247b7875e87e35dc8d2f03622fa7809- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 41
Marcel Hofer
almost 7 years ago
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 42
# Request certificate for MAILCOW_HOSTNAME only
# Request certificate for MAILCOW_HOSTNAME only
andryyy
about 7 years ago
9bab650
[ACME] Allow to skip all names but MAILCOW_HOSTNAME
- Full commit hash
9bab6507a73428de890967b1615ef71ce432b556- Author
- andryyy <[email protected]>
- Date
- about 7 years ago
- Selected line
- 43
if [[ "${ONLY_MAILCOW_HOSTNAME}" =~ ^([yY][eE][sS]|[yY])+$ ]]; then
if [[ "${ONLY_MAILCOW_HOSTNAME}" =~ ^([yY][eE][sS]|[yY])+$ ]]; then
same change
9bab650
[ACME] Allow to skip all names but MAILCOW_HOSTNAME
- Full commit hash
9bab6507a73428de890967b1615ef71ce432b556- Author
- andryyy <[email protected]>
- Date
- about 7 years ago
- Selected line
- 44
ONLY_MAILCOW_HOSTNAME=y
ONLY_MAILCOW_HOSTNAME=y
same change
9bab650
[ACME] Allow to skip all names but MAILCOW_HOSTNAME
- Full commit hash
9bab6507a73428de890967b1615ef71ce432b556- Author
- andryyy <[email protected]>
- Date
- about 7 years ago
- Selected line
- 45
fi
fi
same change
9bab650
[ACME] Allow to skip all names but MAILCOW_HOSTNAME
- Full commit hash
9bab6507a73428de890967b1615ef71ce432b556- Author
- andryyy <[email protected]>
- Date
- about 7 years ago
- Selected line
- 46
Lasagne
about 2 years ago
4a052da
Add switch to skip fetching certificates auto{config,discover} subdomains (#5838)
- Full commit hash
4a052da289c36547fd7863d18e3ba23f8ea5dc78- Author
- Lasagne <[email protected]>
- Date
- about 2 years ago
- Selected line
- 47
if [[ "${AUTODISCOVER_SAN}" =~ ^([yY][eE][sS]|[yY])+$ ]]; then
if [[ "${AUTODISCOVER_SAN}" =~ ^([yY][eE][sS]|[yY])+$ ]]; then
same change
4a052da
Add switch to skip fetching certificates auto{config,discover} subdomains (#5838)
- Full commit hash
4a052da289c36547fd7863d18e3ba23f8ea5dc78- Author
- Lasagne <[email protected]>
- Date
- about 2 years ago
- Selected line
- 48
AUTODISCOVER_SAN=y
AUTODISCOVER_SAN=y
same change
4a052da
Add switch to skip fetching certificates auto{config,discover} subdomains (#5838)
- Full commit hash
4a052da289c36547fd7863d18e3ba23f8ea5dc78- Author
- Lasagne <[email protected]>
- Date
- about 2 years ago
- Selected line
- 49
fi
fi
same change
4a052da
Add switch to skip fetching certificates auto{config,discover} subdomains (#5838)
- Full commit hash
4a052da289c36547fd7863d18e3ba23f8ea5dc78- Author
- Lasagne <[email protected]>
- Date
- about 2 years ago
- Selected line
- 50
Marcel Hofer
almost 7 years ago
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 51
# Request individual certificate for every domain
# Request individual certificate for every domain
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 52
if [[ "${ENABLE_SSL_SNI}" =~ ^([yY][eE][sS]|[yY])+$ ]]; then
if [[ "${ENABLE_SSL_SNI}" =~ ^([yY][eE][sS]|[yY])+$ ]]; then
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 53
ENABLE_SSL_SNI=y
ENABLE_SSL_SNI=y
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 54
fi
fi
andre.peters
over 8 years ago
2519738
Various changes...
- Full commit hash
25197380946162b35b052c325af52bcc2708d69c- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 55
Carlos
8 months ago
a52e977
Add DNS-01 challenge support for ACME certificates and related configurations
- Full commit hash
a52e977b89d02044f901a32c1b30568d3e08bb2a- Author
- Carlos <[email protected]>
- Date
- 8 months ago
- Selected line
- 56
if [[ "${ACME_DNS_CHALLENGE}" =~ ^([yY][eE][sS]|[yY])+$ ]]; then
if [[ "${ACME_DNS_CHALLENGE}" =~ ^([yY][eE][sS]|[yY])+$ ]]; then
same change
a52e977
Add DNS-01 challenge support for ACME certificates and related configurations
- Full commit hash
a52e977b89d02044f901a32c1b30568d3e08bb2a- Author
- Carlos <[email protected]>
- Date
- 8 months ago
- Selected line
- 57
ACME_DNS_CHALLENGE=y
ACME_DNS_CHALLENGE=y
same change
a52e977
Add DNS-01 challenge support for ACME certificates and related configurations
- Full commit hash
a52e977b89d02044f901a32c1b30568d3e08bb2a- Author
- Carlos <[email protected]>
- Date
- 8 months ago
- Selected line
- 58
fi
fi
same change
a52e977
Add DNS-01 challenge support for ACME certificates and related configurations
- Full commit hash
a52e977b89d02044f901a32c1b30568d3e08bb2a- Author
- Carlos <[email protected]>
- Date
- 8 months ago
- Selected line
- 59
André
over 8 years ago
84a7a1a
[Compose] New images, Nginx checks for SOGo before bootstrapping
- Full commit hash
84a7a1a2e7e0015018f23f2e10a7fc1c89711dca- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 60
if [[ "${SKIP_LETS_ENCRYPT}" =~ ^([yY][eE][sS]|[yY])+$ ]]; then
if [[ "${SKIP_LETS_ENCRYPT}" =~ ^([yY][eE][sS]|[yY])+$ ]]; then
same change
84a7a1a
[Compose] New images, Nginx checks for SOGo before bootstrapping
- Full commit hash
84a7a1a2e7e0015018f23f2e10a7fc1c89711dca- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 61
log_f "SKIP_LETS_ENCRYPT=y, skipping Let's Encrypt..."
log_f "SKIP_LETS_ENCRYPT=y, skipping Let's Encrypt..."
same change
84a7a1a
[Compose] New images, Nginx checks for SOGo before bootstrapping
- Full commit hash
84a7a1a2e7e0015018f23f2e10a7fc1c89711dca- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 62
sleep 365d
sleep 365d
same change
84a7a1a
[Compose] New images, Nginx checks for SOGo before bootstrapping
- Full commit hash
84a7a1a2e7e0015018f23f2e10a7fc1c89711dca- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 63
exec $(readlink -f "$0")
exec $(readlink -f "$0")
same change
84a7a1a
[Compose] New images, Nginx checks for SOGo before bootstrapping
- Full commit hash
84a7a1a2e7e0015018f23f2e10a7fc1c89711dca- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 64
fi
fi
same change
84a7a1a
[Compose] New images, Nginx checks for SOGo before bootstrapping
- Full commit hash
84a7a1a2e7e0015018f23f2e10a7fc1c89711dca- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 65
andryyy
almost 6 years ago
da200db
[ACME] Add more checks, avoid cert/key mismatch on some installations, fix some output
- Full commit hash
da200db2d369ec667216312eab749f35494c7e6f- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 66
log_f "Waiting for Docker API..."
log_f "Waiting for Docker API..."
André
over 8 years ago
5211ab1
[ACME] Fix license issue
- Full commit hash
5211ab10ed55c16e35f2b972701475c7897ce4a9- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 67
until ping dockerapi -c1 > /dev/null; do
until ping dockerapi -c1 > /dev/null; do
same change
5211ab1
[ACME] Fix license issue
- Full commit hash
5211ab10ed55c16e35f2b972701475c7897ce4a9- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 68
sleep 1
sleep 1
same change
5211ab1
[ACME] Fix license issue
- Full commit hash
5211ab10ed55c16e35f2b972701475c7897ce4a9- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 69
done
done
andryyy
almost 6 years ago
da200db
[ACME] Add more checks, avoid cert/key mismatch on some installations, fix some output
- Full commit hash
da200db2d369ec667216312eab749f35494c7e6f- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 70
log_f "Docker API OK"
log_f "Docker API OK"
André
over 8 years ago
5211ab1
[ACME] Fix license issue
- Full commit hash
5211ab10ed55c16e35f2b972701475c7897ce4a9- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 71
andryyy
almost 6 years ago
da200db
[ACME] Add more checks, avoid cert/key mismatch on some installations, fix some output
- Full commit hash
da200db2d369ec667216312eab749f35494c7e6f- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 72
log_f "Waiting for Postfix..."
log_f "Waiting for Postfix..."
andryyy
almost 6 years ago
c8ce288
[ACME] Do check for restart of Postfix and Dovecot service more thoroughly
- Full commit hash
c8ce28817805d95ded2905f17f44af495a51b440- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 73
until ping postfix -c1 > /dev/null; do
until ping postfix -c1 > /dev/null; do
same change
c8ce288
[ACME] Do check for restart of Postfix and Dovecot service more thoroughly
- Full commit hash
c8ce28817805d95ded2905f17f44af495a51b440- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 74
sleep 1
sleep 1
same change
c8ce288
[ACME] Do check for restart of Postfix and Dovecot service more thoroughly
- Full commit hash
c8ce28817805d95ded2905f17f44af495a51b440- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 75
done
done
andryyy
almost 6 years ago
da200db
[ACME] Add more checks, avoid cert/key mismatch on some installations, fix some output
- Full commit hash
da200db2d369ec667216312eab749f35494c7e6f- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 76
log_f "Postfix OK"
log_f "Postfix OK"
andryyy
almost 6 years ago
c8ce288
[ACME] Do check for restart of Postfix and Dovecot service more thoroughly
- Full commit hash
c8ce28817805d95ded2905f17f44af495a51b440- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 77
andryyy
almost 6 years ago
da200db
[ACME] Add more checks, avoid cert/key mismatch on some installations, fix some output
- Full commit hash
da200db2d369ec667216312eab749f35494c7e6f- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 78
log_f "Waiting for Dovecot..."
log_f "Waiting for Dovecot..."
andryyy
almost 6 years ago
c8ce288
[ACME] Do check for restart of Postfix and Dovecot service more thoroughly
- Full commit hash
c8ce28817805d95ded2905f17f44af495a51b440- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 79
until ping dovecot -c1 > /dev/null; do
until ping dovecot -c1 > /dev/null; do
same change
c8ce288
[ACME] Do check for restart of Postfix and Dovecot service more thoroughly
- Full commit hash
c8ce28817805d95ded2905f17f44af495a51b440- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 80
sleep 1
sleep 1
same change
c8ce288
[ACME] Do check for restart of Postfix and Dovecot service more thoroughly
- Full commit hash
c8ce28817805d95ded2905f17f44af495a51b440- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 81
done
done
andryyy
almost 6 years ago
da200db
[ACME] Add more checks, avoid cert/key mismatch on some installations, fix some output
- Full commit hash
da200db2d369ec667216312eab749f35494c7e6f- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 82
log_f "Dovecot OK"
log_f "Dovecot OK"
andryyy
almost 6 years ago
c8ce288
[ACME] Do check for restart of Postfix and Dovecot service more thoroughly
- Full commit hash
c8ce28817805d95ded2905f17f44af495a51b440- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 83
andryyy
about 9 years ago
ef62f6b
Acme tool checks for valid autodiscover and autoconfig A records and skips non-existing names
- Full commit hash
ef62f6b38315b8e8cea2741bd2642b6b17cd0375- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 84
ACME_BASE=/var/lib/acme
ACME_BASE=/var/lib/acme
andryyy
about 9 years ago
c82c952
Delete certificate if SANs were removed
- Full commit hash
c82c9524b09afc53fe2012366176eadb7019f94a- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 85
SSL_EXAMPLE=/var/lib/ssl-example
SSL_EXAMPLE=/var/lib/ssl-example
andryyy
about 9 years ago
9040d45
[acme-mailcow] Auto-detect container ids for restart; Restart containers after restore
- Full commit hash
9040d456edf04c1e97cf4a89887416e1978ce478- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 86
andryyy
over 7 years ago
9f2a6f1
Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized
- Full commit hash
9f2a6f13a5d3bc5cdcd1e61c458cd3989bc945b0- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 87
mkdir -p ${ACME_BASE}/acme
mkdir -p ${ACME_BASE}/acme
same change
9f2a6f1
Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized
- Full commit hash
9f2a6f13a5d3bc5cdcd1e61c458cd3989bc945b0- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 88
same change
9f2a6f1
Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized
- Full commit hash
9f2a6f13a5d3bc5cdcd1e61c458cd3989bc945b0- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 89
# Migrate
# Migrate
same change
9f2a6f1
Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized
- Full commit hash
9f2a6f13a5d3bc5cdcd1e61c458cd3989bc945b0- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 90
[[ -f ${ACME_BASE}/acme/private/privkey.pem ]] && mv ${ACME_BASE}/acme/private/privkey.pem ${ACME_BASE}/acme/key.pem
[[ -f ${ACME_BASE}/acme/private/privkey.pem ]] && mv ${ACME_BASE}/acme/private/privkey.pem ${ACME_BASE}/acme/key.pem
same change
9f2a6f1
Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized
- Full commit hash
9f2a6f13a5d3bc5cdcd1e61c458cd3989bc945b0- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 91
[[ -f ${ACME_BASE}/acme/private/account.key ]] && mv ${ACME_BASE}/acme/private/account.key ${ACME_BASE}/acme/account.pem
[[ -f ${ACME_BASE}/acme/private/account.key ]] && mv ${ACME_BASE}/acme/private/account.key ${ACME_BASE}/acme/account.pem
Marcel Hofer
almost 7 years ago
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 92
if [[ -f ${ACME_BASE}/acme/key.pem && -f ${ACME_BASE}/acme/cert.pem ]]; then
if [[ -f ${ACME_BASE}/acme/key.pem && -f ${ACME_BASE}/acme/cert.pem ]]; then
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 93
if verify_hash_match ${ACME_BASE}/acme/cert.pem ${ACME_BASE}/acme/key.pem; then
if verify_hash_match ${ACME_BASE}/acme/cert.pem ${ACME_BASE}/acme/key.pem; then
andryyy
almost 6 years ago
da200db
[ACME] Add more checks, avoid cert/key mismatch on some installations, fix some output
- Full commit hash
da200db2d369ec667216312eab749f35494c7e6f- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 94
log_f "Migrating to SNI folder structure..."
log_f "Migrating to SNI folder structure..."
Marcel Hofer
almost 7 years ago
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 95
CERT_DOMAIN=($(openssl x509 -noout -text -in ${ACME_BASE}/acme/cert.pem | grep "Subject:" | sed -e 's/\(Subject:\)\|\(CN = \)\|\(CN=\)//g' | sed -e 's/^[[:space:]]*//'))
CERT_DOMAIN=($(openssl x509 -noout -text -in ${ACME_BASE}/acme/cert.pem | grep "Subject:" | sed -e 's/\(Subject:\)\|\(CN = \)\|\(CN=\)//g' | sed -e 's/^[[:space:]]*//'))
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 96
CERT_DOMAINS=(${CERT_DOMAIN} $(openssl x509 -noout -text -in ${ACME_BASE}/acme/cert.pem | grep "DNS:" | sed -e 's/\(DNS:\)\|,//g' | sed "s/${CERT_DOMAIN}//" | sed -e 's/^[[:space:]]*//'))
CERT_DOMAINS=(${CERT_DOMAIN} $(openssl x509 -noout -text -in ${ACME_BASE}/acme/cert.pem | grep "DNS:" | sed -e 's/\(DNS:\)\|,//g' | sed "s/${CERT_DOMAIN}//" | sed -e 's/^[[:space:]]*//'))
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 97
mkdir -p ${ACME_BASE}/${CERT_DOMAIN}
mkdir -p ${ACME_BASE}/${CERT_DOMAIN}
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 98
mv ${ACME_BASE}/acme/cert.pem ${ACME_BASE}/${CERT_DOMAIN}/cert.pem
mv ${ACME_BASE}/acme/cert.pem ${ACME_BASE}/${CERT_DOMAIN}/cert.pem
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 99
# key is only copied, not moved, because it is used by all other requests too
# key is only copied, not moved, because it is used by all other requests too
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 100
cp ${ACME_BASE}/acme/key.pem ${ACME_BASE}/${CERT_DOMAIN}/key.pem
cp ${ACME_BASE}/acme/key.pem ${ACME_BASE}/${CERT_DOMAIN}/key.pem
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 101
chmod 600 ${ACME_BASE}/${CERT_DOMAIN}/key.pem
chmod 600 ${ACME_BASE}/${CERT_DOMAIN}/key.pem
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 102
echo -n ${CERT_DOMAINS[*]} > ${ACME_BASE}/${CERT_DOMAIN}/domains
echo -n ${CERT_DOMAINS[*]} > ${ACME_BASE}/${CERT_DOMAIN}/domains
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 103
mv ${ACME_BASE}/acme/acme.csr ${ACME_BASE}/${CERT_DOMAIN}/acme.csr
mv ${ACME_BASE}/acme/acme.csr ${ACME_BASE}/${CERT_DOMAIN}/acme.csr
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 104
log_f "OK" no_date
log_f "OK" no_date
André
almost 9 years ago
a110e2e
[ACME] Fix detection of orphaned SANs and add tini
- Full commit hash
a110e2ea0f126ac5bed59dad6d30a76b12d29a0a- Author
- André <[email protected]>
- Date
- almost 9 years ago
- Selected line
- 105
fi
fi
Marcel Hofer
almost 7 years ago
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 106
fi
fi
andryyy
over 7 years ago
9f2a6f1
Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized
- Full commit hash
9f2a6f13a5d3bc5cdcd1e61c458cd3989bc945b0- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 107
andryyy
about 9 years ago
3d652dd
Added more checks for acme-mailcow
- Full commit hash
3d652dd3d0b41892357848fe951da7c47e141ace- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 108
[[ ! -f ${ACME_BASE}/dhparams.pem ]] && cp ${SSL_EXAMPLE}/dhparams.pem ${ACME_BASE}/dhparams.pem
[[ ! -f ${ACME_BASE}/dhparams.pem ]] && cp ${SSL_EXAMPLE}/dhparams.pem ${ACME_BASE}/dhparams.pem
same change
3d652dd
Added more checks for acme-mailcow
- Full commit hash
3d652dd3d0b41892357848fe951da7c47e141ace- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 109
andryyy
about 7 years ago
60fd955
[ACME] Add 0 byte check for cert.pem
- Full commit hash
60fd955defc1155c8d9a58c7926bebb03aa89a9c- Author
- andryyy <[email protected]>
- Date
- about 7 years ago
- Selected line
- 110
if [[ -f ${ACME_BASE}/cert.pem ]] && [[ -f ${ACME_BASE}/key.pem ]] && [[ $(stat -c%s ${ACME_BASE}/cert.pem) != 0 ]]; then
if [[ -f ${ACME_BASE}/cert.pem ]] && [[ -f ${ACME_BASE}/key.pem ]] && [[ $(stat -c%s ${ACME_BASE}/cert.pem) != 0 ]]; then
André
almost 9 years ago
a110e2e
[ACME] Fix detection of orphaned SANs and add tini
- Full commit hash
a110e2ea0f126ac5bed59dad6d30a76b12d29a0a- Author
- André <[email protected]>
- Date
- almost 9 years ago
- Selected line
- 111
ISSUER=$(openssl x509 -in ${ACME_BASE}/cert.pem -noout -issuer)
ISSUER=$(openssl x509 -in ${ACME_BASE}/cert.pem -noout -issuer)
andryyy
over 7 years ago
37964d9
[ACME] Try to reload services after certificate changes instead of restarting
- Full commit hash
37964d9dd1ffdef6ae572030e5467668f9d4bdb7- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 112
if [[ ${ISSUER} != *"Let's Encrypt"* && ${ISSUER} != *"mailcow"* && ${ISSUER} != *"Fake LE Intermediate"* ]]; then
if [[ ${ISSUER} != *"Let's Encrypt"* && ${ISSUER} != *"mailcow"* && ${ISSUER} != *"Fake LE Intermediate"* ]]; then
André
almost 9 years ago
a110e2e
[ACME] Fix detection of orphaned SANs and add tini
- Full commit hash
a110e2ea0f126ac5bed59dad6d30a76b12d29a0a- Author
- André <[email protected]>
- Date
- almost 9 years ago
- Selected line
- 113
log_f "Found certificate with issuer other than mailcow snake-oil CA and Let's Encrypt, skipping ACME client..."
log_f "Found certificate with issuer other than mailcow snake-oil CA and Let's Encrypt, skipping ACME client..."
same change
a110e2e
[ACME] Fix detection of orphaned SANs and add tini
- Full commit hash
a110e2ea0f126ac5bed59dad6d30a76b12d29a0a- Author
- André <[email protected]>
- Date
- almost 9 years ago
- Selected line
- 114
sleep 3650d
sleep 3650d
same change
a110e2e
[ACME] Fix detection of orphaned SANs and add tini
- Full commit hash
a110e2ea0f126ac5bed59dad6d30a76b12d29a0a- Author
- André <[email protected]>
- Date
- almost 9 years ago
- Selected line
- 115
exec $(readlink -f "$0")
exec $(readlink -f "$0")
same change
a110e2e
[ACME] Fix detection of orphaned SANs and add tini
- Full commit hash
a110e2ea0f126ac5bed59dad6d30a76b12d29a0a- Author
- André <[email protected]>
- Date
- almost 9 years ago
- Selected line
- 116
fi
fi
andryyy
about 9 years ago
c82c952
Delete certificate if SANs were removed
- Full commit hash
c82c9524b09afc53fe2012366176eadb7019f94a- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 117
else
else
Marcel Hofer
almost 7 years ago
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 118
if [[ -f ${ACME_BASE}/${MAILCOW_HOSTNAME}/cert.pem ]] && [[ -f ${ACME_BASE}/${MAILCOW_HOSTNAME}/key.pem ]] && verify_hash_match ${ACME_BASE}/${MAILCOW_HOSTNAME}/cert.pem ${ACME_BASE}/${MAILCOW_HOSTNAME}/key.pem; then
if [[ -f ${ACME_BASE}/${MAILCOW_HOSTNAME}/cert.pem ]] && [[ -f ${ACME_BASE}/${MAILCOW_HOSTNAME}/key.pem ]] && verify_hash_match ${ACME_BASE}/${MAILCOW_HOSTNAME}/cert.pem ${ACME_BASE}/${MAILCOW_HOSTNAME}/key.pem; then
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 119
log_f "Restoring previous acme certificate and restarting script..."
log_f "Restoring previous acme certificate and restarting script..."
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 120
cp ${ACME_BASE}/${MAILCOW_HOSTNAME}/cert.pem ${ACME_BASE}/cert.pem
cp ${ACME_BASE}/${MAILCOW_HOSTNAME}/cert.pem ${ACME_BASE}/cert.pem
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 121
cp ${ACME_BASE}/${MAILCOW_HOSTNAME}/key.pem ${ACME_BASE}/key.pem
cp ${ACME_BASE}/${MAILCOW_HOSTNAME}/key.pem ${ACME_BASE}/key.pem
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 122
# Restarting with env var set to trigger a restart,
# Restarting with env var set to trigger a restart,
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 123
exec env TRIGGER_RESTART=1 $(readlink -f "$0")
exec env TRIGGER_RESTART=1 $(readlink -f "$0")
André
almost 9 years ago
a110e2e
[ACME] Fix detection of orphaned SANs and add tini
- Full commit hash
a110e2ea0f126ac5bed59dad6d30a76b12d29a0a- Author
- André <[email protected]>
- Date
- almost 9 years ago
- Selected line
- 124
else
else
same change
a110e2e
[ACME] Fix detection of orphaned SANs and add tini
- Full commit hash
a110e2ea0f126ac5bed59dad6d30a76b12d29a0a- Author
- André <[email protected]>
- Date
- almost 9 years ago
- Selected line
- 125
log_f "Restoring mailcow snake-oil certificates and restarting script..."
log_f "Restoring mailcow snake-oil certificates and restarting script..."
same change
a110e2e
[ACME] Fix detection of orphaned SANs and add tini
- Full commit hash
a110e2ea0f126ac5bed59dad6d30a76b12d29a0a- Author
- André <[email protected]>
- Date
- almost 9 years ago
- Selected line
- 126
cp ${SSL_EXAMPLE}/cert.pem ${ACME_BASE}/cert.pem
cp ${SSL_EXAMPLE}/cert.pem ${ACME_BASE}/cert.pem
same change
a110e2e
[ACME] Fix detection of orphaned SANs and add tini
- Full commit hash
a110e2ea0f126ac5bed59dad6d30a76b12d29a0a- Author
- André <[email protected]>
- Date
- almost 9 years ago
- Selected line
- 127
cp ${SSL_EXAMPLE}/key.pem ${ACME_BASE}/key.pem
cp ${SSL_EXAMPLE}/key.pem ${ACME_BASE}/key.pem
same change
a110e2e
[ACME] Fix detection of orphaned SANs and add tini
- Full commit hash
a110e2ea0f126ac5bed59dad6d30a76b12d29a0a- Author
- André <[email protected]>
- Date
- almost 9 years ago
- Selected line
- 128
exec env TRIGGER_RESTART=1 $(readlink -f "$0")
exec env TRIGGER_RESTART=1 $(readlink -f "$0")
same change
a110e2e
[ACME] Fix detection of orphaned SANs and add tini
- Full commit hash
a110e2ea0f126ac5bed59dad6d30a76b12d29a0a- Author
- André <[email protected]>
- Date
- almost 9 years ago
- Selected line
- 129
fi
fi
andryyy
about 9 years ago
5aba885
Skip ACME client for other certificates than LE
- Full commit hash
5aba885b589e31d9d5d9affd2423c6b3ce334862- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 130
fi
fi
Marcel Hofer
almost 7 years ago
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 131
andryyy
over 7 years ago
c77368e
[ACME] Set mode 600 for key files
- Full commit hash
c77368ee705db354bfd1b291c3b0f12e88d8033f- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 132
chmod 600 ${ACME_BASE}/key.pem
chmod 600 ${ACME_BASE}/key.pem
andryyy
about 9 years ago
5aba885
Skip ACME client for other certificates than LE
- Full commit hash
5aba885b589e31d9d5d9affd2423c6b3ce334862- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 133
andryyy
almost 6 years ago
da200db
[ACME] Add more checks, avoid cert/key mismatch on some installations, fix some output
- Full commit hash
da200db2d369ec667216312eab749f35494c7e6f- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 134
log_f "Waiting for database..."
log_f "Waiting for database..."
Niklas Meyer
almost 2 years ago
b70bcd3
containers: use mariadb-admin instead of deprecated mysqladmin (#6026)
- Full commit hash
b70bcd36fbe84136285ccbce92fa7839f830e350- Author
- Niklas Meyer <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 135
while ! /usr/bin/mariadb-admin status --ssl=false --socket=/var/run/mysqld/mysqld.sock -u${DBUSER} -p${DBPASS} --silent > /dev/null; do
while ! /usr/bin/mariadb-admin status --ssl=false --socket=/var/run/mysqld/mysqld.sock -u${DBUSER} -p${DBPASS} --silent > /dev/null; do
André
almost 9 years ago
a110e2e
[ACME] Fix detection of orphaned SANs and add tini
- Full commit hash
a110e2ea0f126ac5bed59dad6d30a76b12d29a0a- Author
- André <[email protected]>
- Date
- almost 9 years ago
- Selected line
- 136
sleep 2
sleep 2
Michael Kuron
almost 9 years ago
ae79445
ACME needs to wait for MySQL to be ready
- Full commit hash
ae79445ec05a243666ec42232db775560ba665a5- Author
- Michael Kuron <[email protected]>
- Date
- almost 9 years ago
- Selected line
- 137
done
done
andryyy
almost 6 years ago
da200db
[ACME] Add more checks, avoid cert/key mismatch on some installations, fix some output
- Full commit hash
da200db2d369ec667216312eab749f35494c7e6f- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 138
log_f "Database OK"
log_f "Database OK"
andryyy
over 7 years ago
99a8164
[ACME] Wait for Nginx
- Full commit hash
99a816430bfb3f3f10c0dba49ef1d9067c572a8b- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 139
andryyy
almost 6 years ago
da200db
[ACME] Add more checks, avoid cert/key mismatch on some installations, fix some output
- Full commit hash
da200db2d369ec667216312eab749f35494c7e6f- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 140
log_f "Waiting for Nginx..."
log_f "Waiting for Nginx..."
Kasim
almost 2 years ago
0cdf764
Include COMPOSE_PROJECT_NAME in Nginx url
- Full commit hash
0cdf7647c4669eb84942e9a978f13817a5c80ac1- Author
- Kasim <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 141
until $(curl --output /dev/null --silent --head --fail http://nginx.${COMPOSE_PROJECT_NAME}_mailcow-network:8081); do
until $(curl --output /dev/null --silent --head --fail http://nginx.${COMPOSE_PROJECT_NAME}_mailcow-network:8081); do
andryyy
over 7 years ago
99a8164
[ACME] Wait for Nginx
- Full commit hash
99a816430bfb3f3f10c0dba49ef1d9067c572a8b- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 142
sleep 2
sleep 2
same change
99a8164
[ACME] Wait for Nginx
- Full commit hash
99a816430bfb3f3f10c0dba49ef1d9067c572a8b- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 143
done
done
andryyy
almost 6 years ago
da200db
[ACME] Add more checks, avoid cert/key mismatch on some installations, fix some output
- Full commit hash
da200db2d369ec667216312eab749f35494c7e6f- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 144
log_f "Nginx OK"
log_f "Nginx OK"
same change
da200db
[ACME] Add more checks, avoid cert/key mismatch on some installations, fix some output
- Full commit hash
da200db2d369ec667216312eab749f35494c7e6f- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 145
same change
da200db
[ACME] Add more checks, avoid cert/key mismatch on some installations, fix some output
- Full commit hash
da200db2d369ec667216312eab749f35494c7e6f- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 146
log_f "Waiting for resolver..."
log_f "Waiting for resolver..."
same change
da200db
[ACME] Add more checks, avoid cert/key mismatch on some installations, fix some output
- Full commit hash
da200db2d369ec667216312eab749f35494c7e6f- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 147
until dig letsencrypt.org +time=3 +tries=1 @unbound > /dev/null; do
until dig letsencrypt.org +time=3 +tries=1 @unbound > /dev/null; do
same change
da200db
[ACME] Add more checks, avoid cert/key mismatch on some installations, fix some output
- Full commit hash
da200db2d369ec667216312eab749f35494c7e6f- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 148
sleep 2
sleep 2
same change
da200db
[ACME] Add more checks, avoid cert/key mismatch on some installations, fix some output
- Full commit hash
da200db2d369ec667216312eab749f35494c7e6f- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 149
done
done
same change
da200db
[ACME] Add more checks, avoid cert/key mismatch on some installations, fix some output
- Full commit hash
da200db2d369ec667216312eab749f35494c7e6f- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 150
log_f "Resolver OK"
log_f "Resolver OK"
André
about 8 years ago
8adf3d2
[ACME, Compose] Add new image; fix AAAA check for MAILCOW_HOSTNAME
- Full commit hash
8adf3d27db128bdeb45290ca9114aff9797f2a91- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 151
andryyy
over 7 years ago
9f2a6f1
Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized
- Full commit hash
9f2a6f13a5d3bc5cdcd1e61c458cd3989bc945b0- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 152
# Waiting for domain table
# Waiting for domain table
andryyy
almost 6 years ago
da200db
[ACME] Add more checks, avoid cert/key mismatch on some installations, fix some output
- Full commit hash
da200db2d369ec667216312eab749f35494c7e6f- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 153
log_f "Waiting for domain table..."
log_f "Waiting for domain table..."
andryyy
over 7 years ago
9f2a6f1
Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized
- Full commit hash
9f2a6f13a5d3bc5cdcd1e61c458cd3989bc945b0- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 154
while [[ -z ${DOMAIN_TABLE} ]]; do
while [[ -z ${DOMAIN_TABLE} ]]; do
Kasim
almost 2 years ago
0cdf764
Include COMPOSE_PROJECT_NAME in Nginx url
- Full commit hash
0cdf7647c4669eb84942e9a978f13817a5c80ac1- Author
- Kasim <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 155
curl --silent http://nginx.${COMPOSE_PROJECT_NAME}_mailcow-network/ >/dev/null 2>&1
curl --silent http://nginx.${COMPOSE_PROJECT_NAME}_mailcow-network/ >/dev/null 2>&1
DerLinkman
over 1 year ago
2f93f1d
os: fixes for newer mariadb-client versions (especially on alpine 3.21)
- Full commit hash
2f93f1d0c5b9642190c1358a03038be4c3f4bb43- Author
- DerLinkman <[email protected]>
- Date
- over 1 year ago
- Selected line
- 156
DOMAIN_TABLE=$(mariadb --skip-ssl --socket=/var/run/mysqld/mysqld.sock -u ${DBUSER} -p${DBPASS} ${DBNAME} -e "SHOW TABLES LIKE 'domain'" -Bs)
DOMAIN_TABLE=$(mariadb --skip-ssl --socket=/var/run/mysqld/mysqld.sock -u ${DBUSER} -p${DBPASS} ${DBNAME} -e "SHOW TABLES LIKE 'domain'" -Bs)
andryyy
over 7 years ago
9f2a6f1
Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized
- Full commit hash
9f2a6f13a5d3bc5cdcd1e61c458cd3989bc945b0- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 157
[[ -z ${DOMAIN_TABLE} ]] && sleep 10
[[ -z ${DOMAIN_TABLE} ]] && sleep 10
same change
9f2a6f1
Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized
- Full commit hash
9f2a6f13a5d3bc5cdcd1e61c458cd3989bc945b0- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 158
done
done
same change
9f2a6f1
Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized
- Full commit hash
9f2a6f13a5d3bc5cdcd1e61c458cd3989bc945b0- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 159
log_f "OK" no_date
log_f "OK" no_date
same change
9f2a6f1
Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized
- Full commit hash
9f2a6f13a5d3bc5cdcd1e61c458cd3989bc945b0- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 160
andryyy
almost 6 years ago
da200db
[ACME] Add more checks, avoid cert/key mismatch on some installations, fix some output
- Full commit hash
da200db2d369ec667216312eab749f35494c7e6f- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 161
log_f "Initializing, please wait..."
log_f "Initializing, please wait..."
Michael Kuron
almost 9 years ago
ae79445
ACME needs to wait for MySQL to be ready
- Full commit hash
ae79445ec05a243666ec42232db775560ba665a5- Author
- Michael Kuron <[email protected]>
- Date
- almost 9 years ago
- Selected line
- 162
andryyy
about 9 years ago
ef62f6b
Acme tool checks for valid autodiscover and autoconfig A records and skips non-existing names
- Full commit hash
ef62f6b38315b8e8cea2741bd2642b6b17cd0375- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 163
while true; do
while true; do
andryyy
almost 6 years ago
c8ce288
[ACME] Do check for restart of Postfix and Dovecot service more thoroughly
- Full commit hash
c8ce28817805d95ded2905f17f44af495a51b440- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 164
POSTFIX_CERT_SERIAL="$(echo | openssl s_client -connect postfix:25 -starttls smtp 2>/dev/null | openssl x509 -inform pem -noout -serial | cut -d "=" -f 2)"
POSTFIX_CERT_SERIAL="$(echo | openssl s_client -connect postfix:25 -starttls smtp 2>/dev/null | openssl x509 -inform pem -noout -serial | cut -d "=" -f 2)"
same change
c8ce288
[ACME] Do check for restart of Postfix and Dovecot service more thoroughly
- Full commit hash
c8ce28817805d95ded2905f17f44af495a51b440- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 165
DOVECOT_CERT_SERIAL="$(echo | openssl s_client -connect dovecot:143 -starttls imap 2>/dev/null | openssl x509 -inform pem -noout -serial | cut -d "=" -f 2)"
DOVECOT_CERT_SERIAL="$(echo | openssl s_client -connect dovecot:143 -starttls imap 2>/dev/null | openssl x509 -inform pem -noout -serial | cut -d "=" -f 2)"
same change
c8ce288
[ACME] Do check for restart of Postfix and Dovecot service more thoroughly
- Full commit hash
c8ce28817805d95ded2905f17f44af495a51b440- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 166
POSTFIX_CERT_SERIAL_NEW="$(echo | openssl s_client -connect postfix:25 -starttls smtp 2>/dev/null | openssl x509 -inform pem -noout -serial | cut -d "=" -f 2)"
POSTFIX_CERT_SERIAL_NEW="$(echo | openssl s_client -connect postfix:25 -starttls smtp 2>/dev/null | openssl x509 -inform pem -noout -serial | cut -d "=" -f 2)"
same change
c8ce288
[ACME] Do check for restart of Postfix and Dovecot service more thoroughly
- Full commit hash
c8ce28817805d95ded2905f17f44af495a51b440- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 167
DOVECOT_CERT_SERIAL_NEW="$(echo | openssl s_client -connect dovecot:143 -starttls imap 2>/dev/null | openssl x509 -inform pem -noout -serial | cut -d "=" -f 2)"
DOVECOT_CERT_SERIAL_NEW="$(echo | openssl s_client -connect dovecot:143 -starttls imap 2>/dev/null | openssl x509 -inform pem -noout -serial | cut -d "=" -f 2)"
andryyy
over 7 years ago
9f2a6f1
Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized
- Full commit hash
9f2a6f13a5d3bc5cdcd1e61c458cd3989bc945b0- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 168
# Re-using previous acme-mailcow account and domain keys
# Re-using previous acme-mailcow account and domain keys
same change
9f2a6f1
Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized
- Full commit hash
9f2a6f13a5d3bc5cdcd1e61c458cd3989bc945b0- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 169
if [[ ! -f ${ACME_BASE}/acme/key.pem ]]; then
if [[ ! -f ${ACME_BASE}/acme/key.pem ]]; then
Marcel Hofer
almost 7 years ago
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 170
log_f "Generating missing domain private rsa key..."
log_f "Generating missing domain private rsa key..."
andryyy
over 7 years ago
9f2a6f1
Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized
- Full commit hash
9f2a6f13a5d3bc5cdcd1e61c458cd3989bc945b0- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 171
openssl genrsa 4096 > ${ACME_BASE}/acme/key.pem
openssl genrsa 4096 > ${ACME_BASE}/acme/key.pem
same change
9f2a6f1
Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized
- Full commit hash
9f2a6f13a5d3bc5cdcd1e61c458cd3989bc945b0- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 172
else
else
Marcel Hofer
almost 7 years ago
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 173
log_f "Using existing domain rsa key ${ACME_BASE}/acme/key.pem"
log_f "Using existing domain rsa key ${ACME_BASE}/acme/key.pem"
andryyy
over 7 years ago
9f2a6f1
Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized
- Full commit hash
9f2a6f13a5d3bc5cdcd1e61c458cd3989bc945b0- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 174
fi
fi
same change
9f2a6f1
Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized
- Full commit hash
9f2a6f13a5d3bc5cdcd1e61c458cd3989bc945b0- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 175
if [[ ! -f ${ACME_BASE}/acme/account.pem ]]; then
if [[ ! -f ${ACME_BASE}/acme/account.pem ]]; then
same change
9f2a6f1
Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized
- Full commit hash
9f2a6f13a5d3bc5cdcd1e61c458cd3989bc945b0- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 176
log_f "Generating missing Lets Encrypt account key..."
log_f "Generating missing Lets Encrypt account key..."
same change
9f2a6f1
Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized
- Full commit hash
9f2a6f13a5d3bc5cdcd1e61c458cd3989bc945b0- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 177
openssl genrsa 4096 > ${ACME_BASE}/acme/account.pem
openssl genrsa 4096 > ${ACME_BASE}/acme/account.pem
same change
9f2a6f1
Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized
- Full commit hash
9f2a6f13a5d3bc5cdcd1e61c458cd3989bc945b0- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 178
else
else
same change
9f2a6f1
Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized
- Full commit hash
9f2a6f13a5d3bc5cdcd1e61c458cd3989bc945b0- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 179
log_f "Using existing Lets Encrypt account key ${ACME_BASE}/acme/account.pem"
log_f "Using existing Lets Encrypt account key ${ACME_BASE}/acme/account.pem"
same change
9f2a6f1
Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized
- Full commit hash
9f2a6f13a5d3bc5cdcd1e61c458cd3989bc945b0- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 180
fi
fi
same change
9f2a6f1
Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized
- Full commit hash
9f2a6f13a5d3bc5cdcd1e61c458cd3989bc945b0- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 181
andryyy
over 7 years ago
c77368e
[ACME] Set mode 600 for key files
- Full commit hash
c77368ee705db354bfd1b291c3b0f12e88d8033f- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 182
chmod 600 ${ACME_BASE}/acme/key.pem
chmod 600 ${ACME_BASE}/acme/key.pem
same change
c77368e
[ACME] Set mode 600 for key files
- Full commit hash
c77368ee705db354bfd1b291c3b0f12e88d8033f- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 183
chmod 600 ${ACME_BASE}/acme/account.pem
chmod 600 ${ACME_BASE}/acme/account.pem
same change
c77368e
[ACME] Set mode 600 for key files
- Full commit hash
c77368ee705db354bfd1b291c3b0f12e88d8033f- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 184
Marcel Hofer
almost 7 years ago
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 185
unset EXISTING_CERTS
unset EXISTING_CERTS
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 186
declare -a EXISTING_CERTS
declare -a EXISTING_CERTS
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 187
for cert_dir in ${ACME_BASE}/*/ ; do
for cert_dir in ${ACME_BASE}/*/ ; do
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 188
if [[ ! -f ${cert_dir}domains ]] || [[ ! -f ${cert_dir}cert.pem ]] || [[ ! -f ${cert_dir}key.pem ]]; then
if [[ ! -f ${cert_dir}domains ]] || [[ ! -f ${cert_dir}cert.pem ]] || [[ ! -f ${cert_dir}key.pem ]]; then
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 189
continue
continue
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 190
fi
fi
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 191
EXISTING_CERTS+=("$(basename ${cert_dir})")
EXISTING_CERTS+=("$(basename ${cert_dir})")
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 192
done
done
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 193
andryyy
over 7 years ago
9f2a6f1
Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized
- Full commit hash
9f2a6f13a5d3bc5cdcd1e61c458cd3989bc945b0- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 194
# Cleaning up and init validation arrays
# Cleaning up and init validation arrays
André
almost 9 years ago
a110e2e
[ACME] Fix detection of orphaned SANs and add tini
- Full commit hash
a110e2ea0f126ac5bed59dad6d30a76b12d29a0a- Author
- André <[email protected]>
- Date
- almost 9 years ago
- Selected line
- 195
unset SQL_DOMAIN_ARR
unset SQL_DOMAIN_ARR
same change
a110e2e
[ACME] Fix detection of orphaned SANs and add tini
- Full commit hash
a110e2ea0f126ac5bed59dad6d30a76b12d29a0a- Author
- André <[email protected]>
- Date
- almost 9 years ago
- Selected line
- 196
unset VALIDATED_CONFIG_DOMAINS
unset VALIDATED_CONFIG_DOMAINS
same change
a110e2e
[ACME] Fix detection of orphaned SANs and add tini
- Full commit hash
a110e2ea0f126ac5bed59dad6d30a76b12d29a0a- Author
- André <[email protected]>
- Date
- almost 9 years ago
- Selected line
- 197
unset ADDITIONAL_VALIDATED_SAN
unset ADDITIONAL_VALIDATED_SAN
andryyy
over 7 years ago
9f2a6f1
Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized
- Full commit hash
9f2a6f13a5d3bc5cdcd1e61c458cd3989bc945b0- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 198
unset ADDITIONAL_WC_ARR
unset ADDITIONAL_WC_ARR
same change
9f2a6f1
Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized
- Full commit hash
9f2a6f13a5d3bc5cdcd1e61c458cd3989bc945b0- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 199
unset ADDITIONAL_SAN_ARR
unset ADDITIONAL_SAN_ARR
Marcel Hofer
almost 7 years ago
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 200
unset CERT_ERRORS
unset CERT_ERRORS
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 201
unset CERT_CHANGED
unset CERT_CHANGED
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 202
unset CERT_AMOUNT_CHANGED
unset CERT_AMOUNT_CHANGED
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 203
unset VALIDATED_CERTIFICATES
unset VALIDATED_CERTIFICATES
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 204
CERT_ERRORS=0
CERT_ERRORS=0
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 205
CERT_CHANGED=0
CERT_CHANGED=0
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 206
CERT_AMOUNT_CHANGED=0
CERT_AMOUNT_CHANGED=0
André
almost 9 years ago
a110e2e
[ACME] Fix detection of orphaned SANs and add tini
- Full commit hash
a110e2ea0f126ac5bed59dad6d30a76b12d29a0a- Author
- André <[email protected]>
- Date
- almost 9 years ago
- Selected line
- 207
declare -a SQL_DOMAIN_ARR
declare -a SQL_DOMAIN_ARR
same change
a110e2e
[ACME] Fix detection of orphaned SANs and add tini
- Full commit hash
a110e2ea0f126ac5bed59dad6d30a76b12d29a0a- Author
- André <[email protected]>
- Date
- almost 9 years ago
- Selected line
- 208
declare -a VALIDATED_CONFIG_DOMAINS
declare -a VALIDATED_CONFIG_DOMAINS
same change
a110e2e
[ACME] Fix detection of orphaned SANs and add tini
- Full commit hash
a110e2ea0f126ac5bed59dad6d30a76b12d29a0a- Author
- André <[email protected]>
- Date
- almost 9 years ago
- Selected line
- 209
declare -a ADDITIONAL_VALIDATED_SAN
declare -a ADDITIONAL_VALIDATED_SAN
andryyy
over 7 years ago
9f2a6f1
Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized
- Full commit hash
9f2a6f13a5d3bc5cdcd1e61c458cd3989bc945b0- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 210
declare -a ADDITIONAL_WC_ARR
declare -a ADDITIONAL_WC_ARR
same change
9f2a6f1
Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized
- Full commit hash
9f2a6f13a5d3bc5cdcd1e61c458cd3989bc945b0- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 211
declare -a ADDITIONAL_SAN_ARR
declare -a ADDITIONAL_SAN_ARR
Marcel Hofer
almost 7 years ago
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 212
declare -a VALIDATED_CERTIFICATES
declare -a VALIDATED_CERTIFICATES
Markus Gnadl
over 8 years ago
0e33fd4
wildcards (subdomain.*) in ADDITIONAL_SAN are expanded to all mailcow domains
- Full commit hash
0e33fd49bb14329c49e9fbec6ecac5fd382e65a3- Author
- Markus Gnadl <[email protected]>
- Date
- over 8 years ago
- Selected line
- 213
IFS=',' read -r -a TMP_ARR <<< "${ADDITIONAL_SAN}"
IFS=',' read -r -a TMP_ARR <<< "${ADDITIONAL_SAN}"
same change
0e33fd4
wildcards (subdomain.*) in ADDITIONAL_SAN are expanded to all mailcow domains
- Full commit hash
0e33fd49bb14329c49e9fbec6ecac5fd382e65a3- Author
- Markus Gnadl <[email protected]>
- Date
- over 8 years ago
- Selected line
- 214
for i in "${TMP_ARR[@]}" ; do
for i in "${TMP_ARR[@]}" ; do
same change
0e33fd4
wildcards (subdomain.*) in ADDITIONAL_SAN are expanded to all mailcow domains
- Full commit hash
0e33fd49bb14329c49e9fbec6ecac5fd382e65a3- Author
- Markus Gnadl <[email protected]>
- Date
- over 8 years ago
- Selected line
- 215
if [[ "$i" =~ \.\*$ ]]; then
if [[ "$i" =~ \.\*$ ]]; then
same change
0e33fd4
wildcards (subdomain.*) in ADDITIONAL_SAN are expanded to all mailcow domains
- Full commit hash
0e33fd49bb14329c49e9fbec6ecac5fd382e65a3- Author
- Markus Gnadl <[email protected]>
- Date
- over 8 years ago
- Selected line
- 216
ADDITIONAL_WC_ARR+=(${i::-2})
ADDITIONAL_WC_ARR+=(${i::-2})
same change
0e33fd4
wildcards (subdomain.*) in ADDITIONAL_SAN are expanded to all mailcow domains
- Full commit hash
0e33fd49bb14329c49e9fbec6ecac5fd382e65a3- Author
- Markus Gnadl <[email protected]>
- Date
- over 8 years ago
- Selected line
- 217
else
else
same change
0e33fd4
wildcards (subdomain.*) in ADDITIONAL_SAN are expanded to all mailcow domains
- Full commit hash
0e33fd49bb14329c49e9fbec6ecac5fd382e65a3- Author
- Markus Gnadl <[email protected]>
- Date
- over 8 years ago
- Selected line
- 218
ADDITIONAL_SAN_ARR+=($i)
ADDITIONAL_SAN_ARR+=($i)
same change
0e33fd4
wildcards (subdomain.*) in ADDITIONAL_SAN are expanded to all mailcow domains
- Full commit hash
0e33fd49bb14329c49e9fbec6ecac5fd382e65a3- Author
- Markus Gnadl <[email protected]>
- Date
- over 8 years ago
- Selected line
- 219
fi
fi
same change
0e33fd4
wildcards (subdomain.*) in ADDITIONAL_SAN are expanded to all mailcow domains
- Full commit hash
0e33fd49bb14329c49e9fbec6ecac5fd382e65a3- Author
- Markus Gnadl <[email protected]>
- Date
- over 8 years ago
- Selected line
- 220
done
done
Lasagne
about 2 years ago
4a052da
Add switch to skip fetching certificates auto{config,discover} subdomains (#5838)
- Full commit hash
4a052da289c36547fd7863d18e3ba23f8ea5dc78- Author
- Lasagne <[email protected]>
- Date
- about 2 years ago
- Selected line
- 221
same change
4a052da
Add switch to skip fetching certificates auto{config,discover} subdomains (#5838)
- Full commit hash
4a052da289c36547fd7863d18e3ba23f8ea5dc78- Author
- Lasagne <[email protected]>
- Date
- about 2 years ago
- Selected line
- 222
if [[ ${AUTODISCOVER_SAN} == "y" ]]; then
if [[ ${AUTODISCOVER_SAN} == "y" ]]; then
same change
4a052da
Add switch to skip fetching certificates auto{config,discover} subdomains (#5838)
- Full commit hash
4a052da289c36547fd7863d18e3ba23f8ea5dc78- Author
- Lasagne <[email protected]>
- Date
- about 2 years ago
- Selected line
- 223
# Fetch certs for autoconfig and autodiscover subdomains
# Fetch certs for autoconfig and autodiscover subdomains
DerLinkman
11 months ago
c39712a
pf/php: add mta-sts support (outbound) (#6686)
- Full commit hash
c39712af671cc150595e6aadc7c31868eef14408- Author
- DerLinkman <[email protected]>
- Date
- 11 months ago
- Selected line
- 224
ADDITIONAL_WC_ARR+=('autodiscover' 'autoconfig' 'mta-sts')
ADDITIONAL_WC_ARR+=('autodiscover' 'autoconfig' 'mta-sts')
Lasagne
about 2 years ago
4a052da
Add switch to skip fetching certificates auto{config,discover} subdomains (#5838)
- Full commit hash
4a052da289c36547fd7863d18e3ba23f8ea5dc78- Author
- Lasagne <[email protected]>
- Date
- about 2 years ago
- Selected line
- 225
fi
fi
Markus Gnadl
over 8 years ago
0e33fd4
wildcards (subdomain.*) in ADDITIONAL_SAN are expanded to all mailcow domains
- Full commit hash
0e33fd49bb14329c49e9fbec6ecac5fd382e65a3- Author
- Markus Gnadl <[email protected]>
- Date
- over 8 years ago
- Selected line
- 226
DerLinkman
over 3 years ago
5c57df4
[Acme] Implemented IP Check Bypass properly
- Full commit hash
5c57df466943580d77c44ff8af22fe4115eb058a- Author
- DerLinkman <[email protected]>
- Date
- over 3 years ago
- Selected line
- 227
if [[ ${SKIP_IP_CHECK} != "y" ]]; then
if [[ ${SKIP_IP_CHECK} != "y" ]]; then
andryyy
over 7 years ago
9f2a6f1
Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized
- Full commit hash
9f2a6f13a5d3bc5cdcd1e61c458cd3989bc945b0- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 228
# Start IP detection
# Start IP detection
andryyy
almost 6 years ago
da200db
[ACME] Add more checks, avoid cert/key mismatch on some installations, fix some output
- Full commit hash
da200db2d369ec667216312eab749f35494c7e6f- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 229
log_f "Detecting IP addresses..."
log_f "Detecting IP addresses..."
andre.peters
over 8 years ago
db032af
[ACME] Fix script
- Full commit hash
db032af698fa017cc0cf5cad6f561ce316f51440- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 230
IPV4=$(get_ipv4)
IPV4=$(get_ipv4)
André
about 8 years ago
f88a72e
[ACME] Validate AAAA, if any, before A - fail on AAAA mismatch (LE prioritization)
- Full commit hash
f88a72eedd2eb564270a59166eab53ea8dad3a09- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 231
IPV6=$(get_ipv6)
IPV6=$(get_ipv6)
andryyy
almost 6 years ago
da200db
[ACME] Add more checks, avoid cert/key mismatch on some installations, fix some output
- Full commit hash
da200db2d369ec667216312eab749f35494c7e6f- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 232
log_f "OK: ${IPV4}, ${IPV6:-"0000:0000:0000:0000:0000:0000:0000:0000"}"
log_f "OK: ${IPV4}, ${IPV6:-"0000:0000:0000:0000:0000:0000:0000:0000"}"
DerLinkman
over 3 years ago
5c57df4
[Acme] Implemented IP Check Bypass properly
- Full commit hash
5c57df466943580d77c44ff8af22fe4115eb058a- Author
- DerLinkman <[email protected]>
- Date
- over 3 years ago
- Selected line
- 233
fi
fi
André
about 8 years ago
f88a72e
[ACME] Validate AAAA, if any, before A - fail on AAAA mismatch (LE prioritization)
- Full commit hash
f88a72eedd2eb564270a59166eab53ea8dad3a09- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 234
andryyy
over 7 years ago
9f2a6f1
Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized
- Full commit hash
9f2a6f13a5d3bc5cdcd1e61c458cd3989bc945b0- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 235
#########################################
#########################################
same change
9f2a6f1
Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized
- Full commit hash
9f2a6f13a5d3bc5cdcd1e61c458cd3989bc945b0- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 236
# IP and webroot challenge verification #
# IP and webroot challenge verification #
DerLinkman
over 1 year ago
2f93f1d
os: fixes for newer mariadb-client versions (especially on alpine 3.21)
- Full commit hash
2f93f1d0c5b9642190c1358a03038be4c3f4bb43- Author
- DerLinkman <[email protected]>
- Date
- over 1 year ago
- Selected line
- 237
SQL_DOMAINS=$(mariadb --skip-ssl --socket=/var/run/mysqld/mysqld.sock -u ${DBUSER} -p${DBPASS} ${DBNAME} -e "SELECT domain FROM domain WHERE backupmx=0 and active=1" -Bs)
SQL_DOMAINS=$(mariadb --skip-ssl --socket=/var/run/mysqld/mysqld.sock -u ${DBUSER} -p${DBPASS} ${DBNAME} -e "SELECT domain FROM domain WHERE backupmx=0 and active=1" -Bs)
Marcel Hofer
almost 7 years ago
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 238
if [[ ! $? -eq 0 ]]; then
if [[ ! $? -eq 0 ]]; then
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 239
log_f "Failed to read SQL domains, retrying in 1 minute..."
log_f "Failed to read SQL domains, retrying in 1 minute..."
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 240
sleep 1m
sleep 1m
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 241
exec $(readlink -f "$0")
exec $(readlink -f "$0")
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 242
fi
fi
André
almost 9 years ago
a110e2e
[ACME] Fix detection of orphaned SANs and add tini
- Full commit hash
a110e2ea0f126ac5bed59dad6d30a76b12d29a0a- Author
- André <[email protected]>
- Date
- almost 9 years ago
- Selected line
- 243
while read domains; do
while read domains; do
Marcel Hofer
almost 7 years ago
b413ed4
[SSL] minor fix: prevent checking of empty SQL_DOMAIN
- Full commit hash
b413ed4013389995f77f281a663b6ab11c7a30f4- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 244
if [[ -z "${domains}" ]]; then
if [[ -z "${domains}" ]]; then
same change
b413ed4
[SSL] minor fix: prevent checking of empty SQL_DOMAIN
- Full commit hash
b413ed4013389995f77f281a663b6ab11c7a30f4- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 245
# ignore empty lines
# ignore empty lines
same change
b413ed4
[SSL] minor fix: prevent checking of empty SQL_DOMAIN
- Full commit hash
b413ed4013389995f77f281a663b6ab11c7a30f4- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 246
continue
continue
same change
b413ed4
[SSL] minor fix: prevent checking of empty SQL_DOMAIN
- Full commit hash
b413ed4013389995f77f281a663b6ab11c7a30f4- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 247
fi
fi
André
almost 9 years ago
a110e2e
[ACME] Fix detection of orphaned SANs and add tini
- Full commit hash
a110e2ea0f126ac5bed59dad6d30a76b12d29a0a- Author
- André <[email protected]>
- Date
- almost 9 years ago
- Selected line
- 248
SQL_DOMAIN_ARR+=("${domains}")
SQL_DOMAIN_ARR+=("${domains}")
Marcel Hofer
almost 7 years ago
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 249
done <<< "${SQL_DOMAINS}"
done <<< "${SQL_DOMAINS}"
André
almost 9 years ago
a110e2e
[ACME] Fix detection of orphaned SANs and add tini
- Full commit hash
a110e2ea0f126ac5bed59dad6d30a76b12d29a0a- Author
- André <[email protected]>
- Date
- almost 9 years ago
- Selected line
- 250
andryyy
about 7 years ago
9bab650
[ACME] Allow to skip all names but MAILCOW_HOSTNAME
- Full commit hash
9bab6507a73428de890967b1615ef71ce432b556- Author
- andryyy <[email protected]>
- Date
- about 7 years ago
- Selected line
- 251
if [[ ${ONLY_MAILCOW_HOSTNAME} != "y" ]]; then
if [[ ${ONLY_MAILCOW_HOSTNAME} != "y" ]]; then
André
almost 8 years ago
e941c6e
[ACME] Fix missing for loop start
- Full commit hash
e941c6e8b2dfbbf6e04d6d0633e966c50b0df117- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 252
for SQL_DOMAIN in "${SQL_DOMAIN_ARR[@]}"; do
for SQL_DOMAIN in "${SQL_DOMAIN_ARR[@]}"; do
Marcel Hofer
almost 7 years ago
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 253
unset VALIDATED_CONFIG_DOMAINS_SUBDOMAINS
unset VALIDATED_CONFIG_DOMAINS_SUBDOMAINS
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 254
declare -a VALIDATED_CONFIG_DOMAINS_SUBDOMAINS
declare -a VALIDATED_CONFIG_DOMAINS_SUBDOMAINS
Markus Gnadl
over 8 years ago
0e33fd4
wildcards (subdomain.*) in ADDITIONAL_SAN are expanded to all mailcow domains
- Full commit hash
0e33fd49bb14329c49e9fbec6ecac5fd382e65a3- Author
- Markus Gnadl <[email protected]>
- Date
- over 8 years ago
- Selected line
- 255
for SUBDOMAIN in "${ADDITIONAL_WC_ARR[@]}"; do
for SUBDOMAIN in "${ADDITIONAL_WC_ARR[@]}"; do
FreddleSpl0it
4 months ago
127fb1e
[ACME] Skip autodiscover/mta-sts subdomains covered by wildcard certificates
- Full commit hash
127fb1e8f59db602d1f51558b2babdee06ac345f- Author
- FreddleSpl0it <[email protected]>
- Date
- 4 months ago
- Selected line
- 256
FULL_SUBDOMAIN="${SUBDOMAIN}.${SQL_DOMAIN}"
FULL_SUBDOMAIN="${SUBDOMAIN}.${SQL_DOMAIN}"
same change
127fb1e
[ACME] Skip autodiscover/mta-sts subdomains covered by wildcard certificates
- Full commit hash
127fb1e8f59db602d1f51558b2babdee06ac345f- Author
- FreddleSpl0it <[email protected]>
- Date
- 4 months ago
- Selected line
- 257
same change
127fb1e
[ACME] Skip autodiscover/mta-sts subdomains covered by wildcard certificates
- Full commit hash
127fb1e8f59db602d1f51558b2babdee06ac345f- Author
- FreddleSpl0it <[email protected]>
- Date
- 4 months ago
- Selected line
- 258
# Skip if subdomain matches MAILCOW_HOSTNAME
# Skip if subdomain matches MAILCOW_HOSTNAME
same change
127fb1e
[ACME] Skip autodiscover/mta-sts subdomains covered by wildcard certificates
- Full commit hash
127fb1e8f59db602d1f51558b2babdee06ac345f- Author
- FreddleSpl0it <[email protected]>
- Date
- 4 months ago
- Selected line
- 259
if [[ "${FULL_SUBDOMAIN}" == "${MAILCOW_HOSTNAME}" ]]; then
if [[ "${FULL_SUBDOMAIN}" == "${MAILCOW_HOSTNAME}" ]]; then
same change
127fb1e
[ACME] Skip autodiscover/mta-sts subdomains covered by wildcard certificates
- Full commit hash
127fb1e8f59db602d1f51558b2babdee06ac345f- Author
- FreddleSpl0it <[email protected]>
- Date
- 4 months ago
- Selected line
- 260
continue
continue
same change
127fb1e
[ACME] Skip autodiscover/mta-sts subdomains covered by wildcard certificates
- Full commit hash
127fb1e8f59db602d1f51558b2babdee06ac345f- Author
- FreddleSpl0it <[email protected]>
- Date
- 4 months ago
- Selected line
- 261
fi
fi
same change
127fb1e
[ACME] Skip autodiscover/mta-sts subdomains covered by wildcard certificates
- Full commit hash
127fb1e8f59db602d1f51558b2babdee06ac345f- Author
- FreddleSpl0it <[email protected]>
- Date
- 4 months ago
- Selected line
- 262
# Skip if subdomain is covered by a wildcard in ADDITIONAL_SAN
# Skip if subdomain is covered by a wildcard in ADDITIONAL_SAN
same change
127fb1e
[ACME] Skip autodiscover/mta-sts subdomains covered by wildcard certificates
- Full commit hash
127fb1e8f59db602d1f51558b2babdee06ac345f- Author
- FreddleSpl0it <[email protected]>
- Date
- 4 months ago
- Selected line
- 263
if is_covered_by_wildcard "${FULL_SUBDOMAIN}"; then
if is_covered_by_wildcard "${FULL_SUBDOMAIN}"; then
same change
127fb1e
[ACME] Skip autodiscover/mta-sts subdomains covered by wildcard certificates
- Full commit hash
127fb1e8f59db602d1f51558b2babdee06ac345f- Author
- FreddleSpl0it <[email protected]>
- Date
- 4 months ago
- Selected line
- 264
log_f "Subdomain '${FULL_SUBDOMAIN}' is covered by wildcard - skipping explicit subdomain"
log_f "Subdomain '${FULL_SUBDOMAIN}' is covered by wildcard - skipping explicit subdomain"
same change
127fb1e
[ACME] Skip autodiscover/mta-sts subdomains covered by wildcard certificates
- Full commit hash
127fb1e8f59db602d1f51558b2babdee06ac345f- Author
- FreddleSpl0it <[email protected]>
- Date
- 4 months ago
- Selected line
- 265
continue
continue
same change
127fb1e
[ACME] Skip autodiscover/mta-sts subdomains covered by wildcard certificates
- Full commit hash
127fb1e8f59db602d1f51558b2babdee06ac345f- Author
- FreddleSpl0it <[email protected]>
- Date
- 4 months ago
- Selected line
- 266
fi
fi
same change
127fb1e
[ACME] Skip autodiscover/mta-sts subdomains covered by wildcard certificates
- Full commit hash
127fb1e8f59db602d1f51558b2babdee06ac345f- Author
- FreddleSpl0it <[email protected]>
- Date
- 4 months ago
- Selected line
- 267
# Validate and add subdomain
# Validate and add subdomain
same change
127fb1e
[ACME] Skip autodiscover/mta-sts subdomains covered by wildcard certificates
- Full commit hash
127fb1e8f59db602d1f51558b2babdee06ac345f- Author
- FreddleSpl0it <[email protected]>
- Date
- 4 months ago
- Selected line
- 268
if check_domain "${FULL_SUBDOMAIN}"; then
if check_domain "${FULL_SUBDOMAIN}"; then
same change
127fb1e
[ACME] Skip autodiscover/mta-sts subdomains covered by wildcard certificates
- Full commit hash
127fb1e8f59db602d1f51558b2babdee06ac345f- Author
- FreddleSpl0it <[email protected]>
- Date
- 4 months ago
- Selected line
- 269
VALIDATED_CONFIG_DOMAINS_SUBDOMAINS+=("${FULL_SUBDOMAIN}")
VALIDATED_CONFIG_DOMAINS_SUBDOMAINS+=("${FULL_SUBDOMAIN}")
André
almost 9 years ago
a110e2e
[ACME] Fix detection of orphaned SANs and add tini
- Full commit hash
a110e2ea0f126ac5bed59dad6d30a76b12d29a0a- Author
- André <[email protected]>
- Date
- almost 9 years ago
- Selected line
- 270
fi
fi
Markus Gnadl
over 8 years ago
0e33fd4
wildcards (subdomain.*) in ADDITIONAL_SAN are expanded to all mailcow domains
- Full commit hash
0e33fd49bb14329c49e9fbec6ecac5fd382e65a3- Author
- Markus Gnadl <[email protected]>
- Date
- over 8 years ago
- Selected line
- 271
done
done
Marcel Hofer
almost 7 years ago
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 272
VALIDATED_CONFIG_DOMAINS+=("${VALIDATED_CONFIG_DOMAINS_SUBDOMAINS[*]}")
VALIDATED_CONFIG_DOMAINS+=("${VALIDATED_CONFIG_DOMAINS_SUBDOMAINS[*]}")
André
almost 9 years ago
a110e2e
[ACME] Fix detection of orphaned SANs and add tini
- Full commit hash
a110e2ea0f126ac5bed59dad6d30a76b12d29a0a- Author
- André <[email protected]>
- Date
- almost 9 years ago
- Selected line
- 273
done
done
Copilot
7 months ago
038b2ef
Add MTA-STS support for alias domains (#6972)
- Full commit hash
038b2efb759e6d011b35beee53e3e534d266341f- Author
- Copilot <[email protected]>
- Date
- 7 months ago
- Selected line
- 274
same change
038b2ef
Add MTA-STS support for alias domains (#6972)
- Full commit hash
038b2efb759e6d011b35beee53e3e534d266341f- Author
- Copilot <[email protected]>
- Date
- 7 months ago
- Selected line
- 275
# Fetch alias domains where target domain has MTA-STS enabled
# Fetch alias domains where target domain has MTA-STS enabled
same change
038b2ef
Add MTA-STS support for alias domains (#6972)
- Full commit hash
038b2efb759e6d011b35beee53e3e534d266341f- Author
- Copilot <[email protected]>
- Date
- 7 months ago
- Selected line
- 276
if [[ ${AUTODISCOVER_SAN} == "y" ]]; then
if [[ ${AUTODISCOVER_SAN} == "y" ]]; then
same change
038b2ef
Add MTA-STS support for alias domains (#6972)
- Full commit hash
038b2efb759e6d011b35beee53e3e534d266341f- Author
- Copilot <[email protected]>
- Date
- 7 months ago
- Selected line
- 277
SQL_ALIAS_DOMAINS=$(mariadb --skip-ssl --socket=/var/run/mysqld/mysqld.sock -u ${DBUSER} -p${DBPASS} ${DBNAME} -e "SELECT ad.alias_domain FROM alias_domain ad INNER JOIN mta_sts m ON ad.target_domain = m.domain WHERE ad.active = 1 AND m.active = 1" -Bs)
SQL_ALIAS_DOMAINS=$(mariadb --skip-ssl --socket=/var/run/mysqld/mysqld.sock -u ${DBUSER} -p${DBPASS} ${DBNAME} -e "SELECT ad.alias_domain FROM alias_domain ad INNER JOIN mta_sts m ON ad.target_domain = m.domain WHERE ad.active = 1 AND m.active = 1" -Bs)
same change
038b2ef
Add MTA-STS support for alias domains (#6972)
- Full commit hash
038b2efb759e6d011b35beee53e3e534d266341f- Author
- Copilot <[email protected]>
- Date
- 7 months ago
- Selected line
- 278
if [[ $? -eq 0 ]]; then
if [[ $? -eq 0 ]]; then
same change
038b2ef
Add MTA-STS support for alias domains (#6972)
- Full commit hash
038b2efb759e6d011b35beee53e3e534d266341f- Author
- Copilot <[email protected]>
- Date
- 7 months ago
- Selected line
- 279
while read alias_domain; do
while read alias_domain; do
same change
038b2ef
Add MTA-STS support for alias domains (#6972)
- Full commit hash
038b2efb759e6d011b35beee53e3e534d266341f- Author
- Copilot <[email protected]>
- Date
- 7 months ago
- Selected line
- 280
if [[ -z "${alias_domain}" ]]; then
if [[ -z "${alias_domain}" ]]; then
same change
038b2ef
Add MTA-STS support for alias domains (#6972)
- Full commit hash
038b2efb759e6d011b35beee53e3e534d266341f- Author
- Copilot <[email protected]>
- Date
- 7 months ago
- Selected line
- 281
# ignore empty lines
# ignore empty lines
same change
038b2ef
Add MTA-STS support for alias domains (#6972)
- Full commit hash
038b2efb759e6d011b35beee53e3e534d266341f- Author
- Copilot <[email protected]>
- Date
- 7 months ago
- Selected line
- 282
continue
continue
same change
038b2ef
Add MTA-STS support for alias domains (#6972)
- Full commit hash
038b2efb759e6d011b35beee53e3e534d266341f- Author
- Copilot <[email protected]>
- Date
- 7 months ago
- Selected line
- 283
fi
fi
same change
038b2ef
Add MTA-STS support for alias domains (#6972)
- Full commit hash
038b2efb759e6d011b35beee53e3e534d266341f- Author
- Copilot <[email protected]>
- Date
- 7 months ago
- Selected line
- 284
# Only add mta-sts subdomain for alias domains
# Only add mta-sts subdomain for alias domains
same change
038b2ef
Add MTA-STS support for alias domains (#6972)
- Full commit hash
038b2efb759e6d011b35beee53e3e534d266341f- Author
- Copilot <[email protected]>
- Date
- 7 months ago
- Selected line
- 285
if [[ "mta-sts.${alias_domain}" != "${MAILCOW_HOSTNAME}" ]]; then
if [[ "mta-sts.${alias_domain}" != "${MAILCOW_HOSTNAME}" ]]; then
FreddleSpl0it
4 months ago
127fb1e
[ACME] Skip autodiscover/mta-sts subdomains covered by wildcard certificates
- Full commit hash
127fb1e8f59db602d1f51558b2babdee06ac345f- Author
- FreddleSpl0it <[email protected]>
- Date
- 4 months ago
- Selected line
- 286
# Skip if mta-sts subdomain is covered by a wildcard
# Skip if mta-sts subdomain is covered by a wildcard
same change
127fb1e
[ACME] Skip autodiscover/mta-sts subdomains covered by wildcard certificates
- Full commit hash
127fb1e8f59db602d1f51558b2babdee06ac345f- Author
- FreddleSpl0it <[email protected]>
- Date
- 4 months ago
- Selected line
- 287
if is_covered_by_wildcard "mta-sts.${alias_domain}"; then
if is_covered_by_wildcard "mta-sts.${alias_domain}"; then
same change
127fb1e
[ACME] Skip autodiscover/mta-sts subdomains covered by wildcard certificates
- Full commit hash
127fb1e8f59db602d1f51558b2babdee06ac345f- Author
- FreddleSpl0it <[email protected]>
- Date
- 4 months ago
- Selected line
- 288
log_f "Alias domain mta-sts subdomain 'mta-sts.${alias_domain}' is covered by wildcard - skipping"
log_f "Alias domain mta-sts subdomain 'mta-sts.${alias_domain}' is covered by wildcard - skipping"
same change
127fb1e
[ACME] Skip autodiscover/mta-sts subdomains covered by wildcard certificates
- Full commit hash
127fb1e8f59db602d1f51558b2babdee06ac345f- Author
- FreddleSpl0it <[email protected]>
- Date
- 4 months ago
- Selected line
- 289
elif check_domain "mta-sts.${alias_domain}"; then
elif check_domain "mta-sts.${alias_domain}"; then
Copilot
7 months ago
038b2ef
Add MTA-STS support for alias domains (#6972)
- Full commit hash
038b2efb759e6d011b35beee53e3e534d266341f- Author
- Copilot <[email protected]>
- Date
- 7 months ago
- Selected line
- 290
VALIDATED_CONFIG_DOMAINS+=("mta-sts.${alias_domain}")
VALIDATED_CONFIG_DOMAINS+=("mta-sts.${alias_domain}")
same change
038b2ef
Add MTA-STS support for alias domains (#6972)
- Full commit hash
038b2efb759e6d011b35beee53e3e534d266341f- Author
- Copilot <[email protected]>
- Date
- 7 months ago
- Selected line
- 291
fi
fi
same change
038b2ef
Add MTA-STS support for alias domains (#6972)
- Full commit hash
038b2efb759e6d011b35beee53e3e534d266341f- Author
- Copilot <[email protected]>
- Date
- 7 months ago
- Selected line
- 292
fi
fi
same change
038b2ef
Add MTA-STS support for alias domains (#6972)
- Full commit hash
038b2efb759e6d011b35beee53e3e534d266341f- Author
- Copilot <[email protected]>
- Date
- 7 months ago
- Selected line
- 293
done <<< "${SQL_ALIAS_DOMAINS}"
done <<< "${SQL_ALIAS_DOMAINS}"
same change
038b2ef
Add MTA-STS support for alias domains (#6972)
- Full commit hash
038b2efb759e6d011b35beee53e3e534d266341f- Author
- Copilot <[email protected]>
- Date
- 7 months ago
- Selected line
- 294
fi
fi
same change
038b2ef
Add MTA-STS support for alias domains (#6972)
- Full commit hash
038b2efb759e6d011b35beee53e3e534d266341f- Author
- Copilot <[email protected]>
- Date
- 7 months ago
- Selected line
- 295
fi
fi
andryyy
about 7 years ago
9bab650
[ACME] Allow to skip all names but MAILCOW_HOSTNAME
- Full commit hash
9bab6507a73428de890967b1615ef71ce432b556- Author
- andryyy <[email protected]>
- Date
- about 7 years ago
- Selected line
- 296
fi
fi
andryyy
about 9 years ago
ef62f6b
Acme tool checks for valid autodiscover and autoconfig A records and skips non-existing names
- Full commit hash
ef62f6b38315b8e8cea2741bd2642b6b17cd0375- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 297
Marcel Hofer
almost 7 years ago
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 298
if check_domain ${MAILCOW_HOSTNAME}; then
if check_domain ${MAILCOW_HOSTNAME}; then
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 299
VALIDATED_MAILCOW_HOSTNAME="${MAILCOW_HOSTNAME}"
VALIDATED_MAILCOW_HOSTNAME="${MAILCOW_HOSTNAME}"
André
almost 9 years ago
a110e2e
[ACME] Fix detection of orphaned SANs and add tini
- Full commit hash
a110e2ea0f126ac5bed59dad6d30a76b12d29a0a- Author
- André <[email protected]>
- Date
- almost 9 years ago
- Selected line
- 300
fi
fi
andryyy
about 9 years ago
6d8438c
- More checks for acme-mailcow (verify hashes)
- Full commit hash
6d8438c01c86518fef6394921ec81df86faa0713- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 301
andryyy
about 7 years ago
9bab650
[ACME] Allow to skip all names but MAILCOW_HOSTNAME
- Full commit hash
9bab6507a73428de890967b1615ef71ce432b556- Author
- andryyy <[email protected]>
- Date
- about 7 years ago
- Selected line
- 302
if [[ ${ONLY_MAILCOW_HOSTNAME} != "y" ]]; then
if [[ ${ONLY_MAILCOW_HOSTNAME} != "y" ]]; then
André
almost 9 years ago
a110e2e
[ACME] Fix detection of orphaned SANs and add tini
- Full commit hash
a110e2ea0f126ac5bed59dad6d30a76b12d29a0a- Author
- André <[email protected]>
- Date
- almost 9 years ago
- Selected line
- 303
for SAN in "${ADDITIONAL_SAN_ARR[@]}"; do
for SAN in "${ADDITIONAL_SAN_ARR[@]}"; do
André
almost 8 years ago
ff0b924
[ClamAV] Add whitelist file for ClamAV, fixes #1607
- Full commit hash
ff0b9246b5ca0fa8f3e37243596f8d311e8cc8dd- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 304
# Skip on CAA errors for SAN
# Skip on CAA errors for SAN
same change
ff0b924
[ClamAV] Add whitelist file for ClamAV, fixes #1607
- Full commit hash
ff0b9246b5ca0fa8f3e37243596f8d311e8cc8dd- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 305
SAN_PARENT_DOMAIN=$(echo ${SAN} | cut -d. -f2-)
SAN_PARENT_DOMAIN=$(echo ${SAN} | cut -d. -f2-)
same change
ff0b924
[ClamAV] Add whitelist file for ClamAV, fixes #1607
- Full commit hash
ff0b9246b5ca0fa8f3e37243596f8d311e8cc8dd- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 306
SAN_CAAS=( $(dig CAA ${SAN_PARENT_DOMAIN} +short | sed -n 's/\d issue "\(.*\)"/\1/p') )
SAN_CAAS=( $(dig CAA ${SAN_PARENT_DOMAIN} +short | sed -n 's/\d issue "\(.*\)"/\1/p') )
same change
ff0b924
[ClamAV] Add whitelist file for ClamAV, fixes #1607
- Full commit hash
ff0b9246b5ca0fa8f3e37243596f8d311e8cc8dd- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 307
if [[ ! -z ${SAN_CAAS} ]]; then
if [[ ! -z ${SAN_CAAS} ]]; then
same change
ff0b924
[ClamAV] Add whitelist file for ClamAV, fixes #1607
- Full commit hash
ff0b9246b5ca0fa8f3e37243596f8d311e8cc8dd- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 308
if [[ ${SAN_CAAS[@]} =~ "letsencrypt.org" ]]; then
if [[ ${SAN_CAAS[@]} =~ "letsencrypt.org" ]]; then
Marcel Hofer
almost 7 years ago
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 309
log_f "Validated CAA for parent domain ${SAN_PARENT_DOMAIN} of ${SAN}"
log_f "Validated CAA for parent domain ${SAN_PARENT_DOMAIN} of ${SAN}"
André
almost 8 years ago
ff0b924
[ClamAV] Add whitelist file for ClamAV, fixes #1607
- Full commit hash
ff0b9246b5ca0fa8f3e37243596f8d311e8cc8dd- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 310
else
else
Marcel Hofer
almost 7 years ago
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 311
log_f "Skipping ACME validation for ${SAN}: Lets Encrypt disallowed for ${SAN} by CAA record"
log_f "Skipping ACME validation for ${SAN}: Lets Encrypt disallowed for ${SAN} by CAA record"
André
almost 8 years ago
ff0b924
[ClamAV] Add whitelist file for ClamAV, fixes #1607
- Full commit hash
ff0b9246b5ca0fa8f3e37243596f8d311e8cc8dd- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 312
continue
continue
same change
ff0b924
[ClamAV] Add whitelist file for ClamAV, fixes #1607
- Full commit hash
ff0b9246b5ca0fa8f3e37243596f8d311e8cc8dd- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 313
fi
fi
same change
ff0b924
[ClamAV] Add whitelist file for ClamAV, fixes #1607
- Full commit hash
ff0b9246b5ca0fa8f3e37243596f8d311e8cc8dd- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 314
fi
fi
André
almost 9 years ago
a110e2e
[ACME] Fix detection of orphaned SANs and add tini
- Full commit hash
a110e2ea0f126ac5bed59dad6d30a76b12d29a0a- Author
- André <[email protected]>
- Date
- almost 9 years ago
- Selected line
- 315
if [[ ${SAN} == ${MAILCOW_HOSTNAME} ]]; then
if [[ ${SAN} == ${MAILCOW_HOSTNAME} ]]; then
same change
a110e2e
[ACME] Fix detection of orphaned SANs and add tini
- Full commit hash
a110e2ea0f126ac5bed59dad6d30a76b12d29a0a- Author
- André <[email protected]>
- Date
- almost 9 years ago
- Selected line
- 316
continue
continue
same change
a110e2e
[ACME] Fix detection of orphaned SANs and add tini
- Full commit hash
a110e2ea0f126ac5bed59dad6d30a76b12d29a0a- Author
- André <[email protected]>
- Date
- almost 9 years ago
- Selected line
- 317
fi
fi
Marcel Hofer
almost 7 years ago
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 318
if check_domain ${SAN}; then
if check_domain ${SAN}; then
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 319
ADDITIONAL_VALIDATED_SAN+=("${SAN}")
ADDITIONAL_VALIDATED_SAN+=("${SAN}")
André
about 8 years ago
d6a74e8
[ACME] Fix for CNAME response on AAAA dig request
- Full commit hash
d6a74e82e3181d9d5a9dc2f14a1d1432e2432d25- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 320
fi
fi
Marcel Hofer
almost 7 years ago
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 321
done
done
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 322
fi
fi
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 323
FreddleSpl0it
4 months ago
1da8d1c
[ACME] Fix wildcard certificate conflict with MAILCOW_HOSTNAME
- Full commit hash
1da8d1c894aad6d341287e334c9328a6c3966f4e- Author
- FreddleSpl0it <[email protected]>
- Date
- 4 months ago
- Selected line
- 324
# Check if MAILCOW_HOSTNAME is covered by a wildcard in ADDITIONAL_SAN
# Check if MAILCOW_HOSTNAME is covered by a wildcard in ADDITIONAL_SAN
same change
1da8d1c
[ACME] Fix wildcard certificate conflict with MAILCOW_HOSTNAME
- Full commit hash
1da8d1c894aad6d341287e334c9328a6c3966f4e- Author
- FreddleSpl0it <[email protected]>
- Date
- 4 months ago
- Selected line
- 325
MAILCOW_HOSTNAME_COVERED=0
MAILCOW_HOSTNAME_COVERED=0
FreddleSpl0it
4 months ago
7817dda
[ACME] Skip subdomains covered by wildcards (DNS-01 challenge only)
- Full commit hash
7817dda43fc324463506cd9014dde7dd25f1c82e- Author
- FreddleSpl0it <[email protected]>
- Date
- 4 months ago
- Selected line
- 326
if [[ ! -z ${VALIDATED_MAILCOW_HOSTNAME} ]]; then
if [[ ! -z ${VALIDATED_MAILCOW_HOSTNAME} ]]; then
same change
7817dda
[ACME] Skip subdomains covered by wildcards (DNS-01 challenge only)
- Full commit hash
7817dda43fc324463506cd9014dde7dd25f1c82e- Author
- FreddleSpl0it <[email protected]>
- Date
- 4 months ago
- Selected line
- 327
if is_covered_by_wildcard "${VALIDATED_MAILCOW_HOSTNAME}"; then
if is_covered_by_wildcard "${VALIDATED_MAILCOW_HOSTNAME}"; then
same change
7817dda
[ACME] Skip subdomains covered by wildcards (DNS-01 challenge only)
- Full commit hash
7817dda43fc324463506cd9014dde7dd25f1c82e- Author
- FreddleSpl0it <[email protected]>
- Date
- 4 months ago
- Selected line
- 328
MAILCOW_PARENT_DOMAIN=$(echo ${VALIDATED_MAILCOW_HOSTNAME} | cut -d. -f2-)
MAILCOW_PARENT_DOMAIN=$(echo ${VALIDATED_MAILCOW_HOSTNAME} | cut -d. -f2-)
FreddleSpl0it
4 months ago
1da8d1c
[ACME] Fix wildcard certificate conflict with MAILCOW_HOSTNAME
- Full commit hash
1da8d1c894aad6d341287e334c9328a6c3966f4e- Author
- FreddleSpl0it <[email protected]>
- Date
- 4 months ago
- Selected line
- 329
log_f "MAILCOW_HOSTNAME '${VALIDATED_MAILCOW_HOSTNAME}' is covered by wildcard '*.${MAILCOW_PARENT_DOMAIN}' - skipping explicit hostname"
log_f "MAILCOW_HOSTNAME '${VALIDATED_MAILCOW_HOSTNAME}' is covered by wildcard '*.${MAILCOW_PARENT_DOMAIN}' - skipping explicit hostname"
same change
1da8d1c
[ACME] Fix wildcard certificate conflict with MAILCOW_HOSTNAME
- Full commit hash
1da8d1c894aad6d341287e334c9328a6c3966f4e- Author
- FreddleSpl0it <[email protected]>
- Date
- 4 months ago
- Selected line
- 330
MAILCOW_HOSTNAME_COVERED=1
MAILCOW_HOSTNAME_COVERED=1
same change
1da8d1c
[ACME] Fix wildcard certificate conflict with MAILCOW_HOSTNAME
- Full commit hash
1da8d1c894aad6d341287e334c9328a6c3966f4e- Author
- FreddleSpl0it <[email protected]>
- Date
- 4 months ago
- Selected line
- 331
fi
fi
same change
1da8d1c
[ACME] Fix wildcard certificate conflict with MAILCOW_HOSTNAME
- Full commit hash
1da8d1c894aad6d341287e334c9328a6c3966f4e- Author
- FreddleSpl0it <[email protected]>
- Date
- 4 months ago
- Selected line
- 332
fi
fi
same change
1da8d1c
[ACME] Fix wildcard certificate conflict with MAILCOW_HOSTNAME
- Full commit hash
1da8d1c894aad6d341287e334c9328a6c3966f4e- Author
- FreddleSpl0it <[email protected]>
- Date
- 4 months ago
- Selected line
- 333
Marcel Hofer
almost 7 years ago
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 334
# Unique domains for server certificate
# Unique domains for server certificate
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 335
if [[ ${ENABLE_SSL_SNI} == "y" ]]; then
if [[ ${ENABLE_SSL_SNI} == "y" ]]; then
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 336
# create certificate for server name and fqdn SANs only
# create certificate for server name and fqdn SANs only
FreddleSpl0it
4 months ago
1da8d1c
[ACME] Fix wildcard certificate conflict with MAILCOW_HOSTNAME
- Full commit hash
1da8d1c894aad6d341287e334c9328a6c3966f4e- Author
- FreddleSpl0it <[email protected]>
- Date
- 4 months ago
- Selected line
- 337
if [[ ${MAILCOW_HOSTNAME_COVERED} == "1" ]]; then
if [[ ${MAILCOW_HOSTNAME_COVERED} == "1" ]]; then
same change
1da8d1c
[ACME] Fix wildcard certificate conflict with MAILCOW_HOSTNAME
- Full commit hash
1da8d1c894aad6d341287e334c9328a6c3966f4e- Author
- FreddleSpl0it <[email protected]>
- Date
- 4 months ago
- Selected line
- 338
SERVER_SAN_VALIDATED=($(echo ${ADDITIONAL_VALIDATED_SAN[*]} | xargs -n1 | sort -u | xargs))
SERVER_SAN_VALIDATED=($(echo ${ADDITIONAL_VALIDATED_SAN[*]} | xargs -n1 | sort -u | xargs))
same change
1da8d1c
[ACME] Fix wildcard certificate conflict with MAILCOW_HOSTNAME
- Full commit hash
1da8d1c894aad6d341287e334c9328a6c3966f4e- Author
- FreddleSpl0it <[email protected]>
- Date
- 4 months ago
- Selected line
- 339
else
else
same change
1da8d1c
[ACME] Fix wildcard certificate conflict with MAILCOW_HOSTNAME
- Full commit hash
1da8d1c894aad6d341287e334c9328a6c3966f4e- Author
- FreddleSpl0it <[email protected]>
- Date
- 4 months ago
- Selected line
- 340
SERVER_SAN_VALIDATED=(${VALIDATED_MAILCOW_HOSTNAME} $(echo ${ADDITIONAL_VALIDATED_SAN[*]} | xargs -n1 | sort -u | xargs))
SERVER_SAN_VALIDATED=(${VALIDATED_MAILCOW_HOSTNAME} $(echo ${ADDITIONAL_VALIDATED_SAN[*]} | xargs -n1 | sort -u | xargs))
same change
1da8d1c
[ACME] Fix wildcard certificate conflict with MAILCOW_HOSTNAME
- Full commit hash
1da8d1c894aad6d341287e334c9328a6c3966f4e- Author
- FreddleSpl0it <[email protected]>
- Date
- 4 months ago
- Selected line
- 341
fi
fi
Marcel Hofer
almost 7 years ago
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 342
else
else
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 343
# create certificate for all domains, including all subdomains from other domains [*]
# create certificate for all domains, including all subdomains from other domains [*]
FreddleSpl0it
4 months ago
1da8d1c
[ACME] Fix wildcard certificate conflict with MAILCOW_HOSTNAME
- Full commit hash
1da8d1c894aad6d341287e334c9328a6c3966f4e- Author
- FreddleSpl0it <[email protected]>
- Date
- 4 months ago
- Selected line
- 344
if [[ ${MAILCOW_HOSTNAME_COVERED} == "1" ]]; then
if [[ ${MAILCOW_HOSTNAME_COVERED} == "1" ]]; then
same change
1da8d1c
[ACME] Fix wildcard certificate conflict with MAILCOW_HOSTNAME
- Full commit hash
1da8d1c894aad6d341287e334c9328a6c3966f4e- Author
- FreddleSpl0it <[email protected]>
- Date
- 4 months ago
- Selected line
- 345
SERVER_SAN_VALIDATED=($(echo ${VALIDATED_CONFIG_DOMAINS[*]} ${ADDITIONAL_VALIDATED_SAN[*]} | xargs -n1 | sort -u | xargs))
SERVER_SAN_VALIDATED=($(echo ${VALIDATED_CONFIG_DOMAINS[*]} ${ADDITIONAL_VALIDATED_SAN[*]} | xargs -n1 | sort -u | xargs))
same change
1da8d1c
[ACME] Fix wildcard certificate conflict with MAILCOW_HOSTNAME
- Full commit hash
1da8d1c894aad6d341287e334c9328a6c3966f4e- Author
- FreddleSpl0it <[email protected]>
- Date
- 4 months ago
- Selected line
- 346
else
else
same change
1da8d1c
[ACME] Fix wildcard certificate conflict with MAILCOW_HOSTNAME
- Full commit hash
1da8d1c894aad6d341287e334c9328a6c3966f4e- Author
- FreddleSpl0it <[email protected]>
- Date
- 4 months ago
- Selected line
- 347
SERVER_SAN_VALIDATED=(${VALIDATED_MAILCOW_HOSTNAME} $(echo ${VALIDATED_CONFIG_DOMAINS[*]} ${ADDITIONAL_VALIDATED_SAN[*]} | xargs -n1 | sort -u | xargs))
SERVER_SAN_VALIDATED=(${VALIDATED_MAILCOW_HOSTNAME} $(echo ${VALIDATED_CONFIG_DOMAINS[*]} ${ADDITIONAL_VALIDATED_SAN[*]} | xargs -n1 | sort -u | xargs))
same change
1da8d1c
[ACME] Fix wildcard certificate conflict with MAILCOW_HOSTNAME
- Full commit hash
1da8d1c894aad6d341287e334c9328a6c3966f4e- Author
- FreddleSpl0it <[email protected]>
- Date
- 4 months ago
- Selected line
- 348
fi
fi
Marcel Hofer
almost 7 years ago
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 349
fi
fi
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 350
if [[ ! -z ${SERVER_SAN_VALIDATED[*]} ]]; then
if [[ ! -z ${SERVER_SAN_VALIDATED[*]} ]]; then
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 351
CERT_NAME=${SERVER_SAN_VALIDATED[0]}
CERT_NAME=${SERVER_SAN_VALIDATED[0]}
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 352
VALIDATED_CERTIFICATES+=("${CERT_NAME}")
VALIDATED_CERTIFICATES+=("${CERT_NAME}")
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 353
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 354
# obtain server certificate if required
# obtain server certificate if required
FreddleSpl0it
about 1 year ago
ec6dbb0
[ACME] Remove deprecated ACME_CONTACT variable
- Full commit hash
ec6dbb099aa4ae559b10217906a62da694c6f182- Author
- FreddleSpl0it <[email protected]>
- Date
- about 1 year ago
- Selected line
- 355
DOMAINS=${SERVER_SAN_VALIDATED[@]} /srv/obtain-certificate.sh rsa
DOMAINS=${SERVER_SAN_VALIDATED[@]} /srv/obtain-certificate.sh rsa
Marcel Hofer
almost 7 years ago
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 356
RETURN="$?"
RETURN="$?"
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 357
if [[ "$RETURN" == "0" ]]; then # 0 = cert created successfully
if [[ "$RETURN" == "0" ]]; then # 0 = cert created successfully
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 358
CERT_AMOUNT_CHANGED=1
CERT_AMOUNT_CHANGED=1
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 359
CERT_CHANGED=1
CERT_CHANGED=1
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 360
elif [[ "$RETURN" == "1" ]]; then # 1 = cert renewed successfully
elif [[ "$RETURN" == "1" ]]; then # 1 = cert renewed successfully
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 361
CERT_CHANGED=1
CERT_CHANGED=1
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 362
elif [[ "$RETURN" == "2" ]]; then # 2 = cert not due for renewal
elif [[ "$RETURN" == "2" ]]; then # 2 = cert not due for renewal
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 363
:
:
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 364
else
else
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 365
CERT_ERRORS=1
CERT_ERRORS=1
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 366
fi
fi
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 367
# copy hostname certificate to default/server certificate
# copy hostname certificate to default/server certificate
andryyy
almost 6 years ago
da200db
[ACME] Add more checks, avoid cert/key mismatch on some installations, fix some output
- Full commit hash
da200db2d369ec667216312eab749f35494c7e6f- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 368
# do not a key when cert is missing, this can lead to a mismatch of cert/key
# do not a key when cert is missing, this can lead to a mismatch of cert/key
same change
da200db
[ACME] Add more checks, avoid cert/key mismatch on some installations, fix some output
- Full commit hash
da200db2d369ec667216312eab749f35494c7e6f- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 369
if [[ -f ${ACME_BASE}/${CERT_NAME}/cert.pem ]]; then
if [[ -f ${ACME_BASE}/${CERT_NAME}/cert.pem ]]; then
same change
da200db
[ACME] Add more checks, avoid cert/key mismatch on some installations, fix some output
- Full commit hash
da200db2d369ec667216312eab749f35494c7e6f- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 370
cp ${ACME_BASE}/${CERT_NAME}/cert.pem ${ACME_BASE}/cert.pem
cp ${ACME_BASE}/${CERT_NAME}/cert.pem ${ACME_BASE}/cert.pem
same change
da200db
[ACME] Add more checks, avoid cert/key mismatch on some installations, fix some output
- Full commit hash
da200db2d369ec667216312eab749f35494c7e6f- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 371
cp ${ACME_BASE}/${CERT_NAME}/key.pem ${ACME_BASE}/key.pem
cp ${ACME_BASE}/${CERT_NAME}/key.pem ${ACME_BASE}/key.pem
same change
da200db
[ACME] Add more checks, avoid cert/key mismatch on some installations, fix some output
- Full commit hash
da200db2d369ec667216312eab749f35494c7e6f- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 372
fi
fi
Marcel Hofer
almost 7 years ago
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 373
fi
fi
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 374
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 375
# individual certificates for SNI [@]
# individual certificates for SNI [@]
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 376
if [[ ${ENABLE_SSL_SNI} == "y" ]]; then
if [[ ${ENABLE_SSL_SNI} == "y" ]]; then
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 377
for VALIDATED_DOMAINS in "${VALIDATED_CONFIG_DOMAINS[@]}"; do
for VALIDATED_DOMAINS in "${VALIDATED_CONFIG_DOMAINS[@]}"; do
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 378
VALIDATED_DOMAINS_ARR=(${VALIDATED_DOMAINS})
VALIDATED_DOMAINS_ARR=(${VALIDATED_DOMAINS})
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 379
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 380
unset VALIDATED_DOMAINS_SORTED
unset VALIDATED_DOMAINS_SORTED
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 381
declare -a VALIDATED_DOMAINS_SORTED
declare -a VALIDATED_DOMAINS_SORTED
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 382
VALIDATED_DOMAINS_SORTED=(${VALIDATED_DOMAINS_ARR[0]} $(echo ${VALIDATED_DOMAINS_ARR[@]:1} | xargs -n1 | sort -u | xargs))
VALIDATED_DOMAINS_SORTED=(${VALIDATED_DOMAINS_ARR[0]} $(echo ${VALIDATED_DOMAINS_ARR[@]:1} | xargs -n1 | sort -u | xargs))
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 383
Marcel Hofer
almost 7 years ago
56bc9d4
[SSL] prevent multiple certificates with the same domain
- Full commit hash
56bc9d45bbaee17507ec2b05cd84d7b59d3c9a3f- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 384
# remove all domain names that are already inside the server certificate (SERVER_SAN_VALIDATED)
# remove all domain names that are already inside the server certificate (SERVER_SAN_VALIDATED)
same change
56bc9d4
[SSL] prevent multiple certificates with the same domain
- Full commit hash
56bc9d45bbaee17507ec2b05cd84d7b59d3c9a3f- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 385
for domain in "${SERVER_SAN_VALIDATED[@]}"; do
for domain in "${SERVER_SAN_VALIDATED[@]}"; do
same change
56bc9d4
[SSL] prevent multiple certificates with the same domain
- Full commit hash
56bc9d45bbaee17507ec2b05cd84d7b59d3c9a3f- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 386
for i in "${!VALIDATED_DOMAINS_SORTED[@]}"; do
for i in "${!VALIDATED_DOMAINS_SORTED[@]}"; do
same change
56bc9d4
[SSL] prevent multiple certificates with the same domain
- Full commit hash
56bc9d45bbaee17507ec2b05cd84d7b59d3c9a3f- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 387
if [[ ${VALIDATED_DOMAINS_SORTED[i]} = $domain ]]; then
if [[ ${VALIDATED_DOMAINS_SORTED[i]} = $domain ]]; then
same change
56bc9d4
[SSL] prevent multiple certificates with the same domain
- Full commit hash
56bc9d45bbaee17507ec2b05cd84d7b59d3c9a3f- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 388
unset 'VALIDATED_DOMAINS_SORTED[i]'
unset 'VALIDATED_DOMAINS_SORTED[i]'
same change
56bc9d4
[SSL] prevent multiple certificates with the same domain
- Full commit hash
56bc9d45bbaee17507ec2b05cd84d7b59d3c9a3f- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 389
fi
fi
same change
56bc9d4
[SSL] prevent multiple certificates with the same domain
- Full commit hash
56bc9d45bbaee17507ec2b05cd84d7b59d3c9a3f- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 390
done
done
same change
56bc9d4
[SSL] prevent multiple certificates with the same domain
- Full commit hash
56bc9d45bbaee17507ec2b05cd84d7b59d3c9a3f- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 391
done
done
same change
56bc9d4
[SSL] prevent multiple certificates with the same domain
- Full commit hash
56bc9d45bbaee17507ec2b05cd84d7b59d3c9a3f- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 392
Marcel Hofer
almost 7 years ago
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 393
if [[ ! -z ${VALIDATED_DOMAINS_SORTED[*]} ]]; then
if [[ ! -z ${VALIDATED_DOMAINS_SORTED[*]} ]]; then
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 394
CERT_NAME=${VALIDATED_DOMAINS_SORTED[0]}
CERT_NAME=${VALIDATED_DOMAINS_SORTED[0]}
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 395
VALIDATED_CERTIFICATES+=("${CERT_NAME}")
VALIDATED_CERTIFICATES+=("${CERT_NAME}")
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 396
# obtain certificate if required
# obtain certificate if required
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 397
DOMAINS=${VALIDATED_DOMAINS_SORTED[@]} /srv/obtain-certificate.sh rsa
DOMAINS=${VALIDATED_DOMAINS_SORTED[@]} /srv/obtain-certificate.sh rsa
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 398
RETURN="$?"
RETURN="$?"
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 399
if [[ "$RETURN" == "0" ]]; then # 0 = cert created successfully
if [[ "$RETURN" == "0" ]]; then # 0 = cert created successfully
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 400
CERT_AMOUNT_CHANGED=1
CERT_AMOUNT_CHANGED=1
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 401
CERT_CHANGED=1
CERT_CHANGED=1
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 402
elif [[ "$RETURN" == "1" ]]; then # 1 = cert renewed successfully
elif [[ "$RETURN" == "1" ]]; then # 1 = cert renewed successfully
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 403
CERT_CHANGED=1
CERT_CHANGED=1
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 404
elif [[ "$RETURN" == "2" ]]; then # 2 = cert not due for renewal
elif [[ "$RETURN" == "2" ]]; then # 2 = cert not due for renewal
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 405
:
:
André
almost 9 years ago
a110e2e
[ACME] Fix detection of orphaned SANs and add tini
- Full commit hash
a110e2ea0f126ac5bed59dad6d30a76b12d29a0a- Author
- André <[email protected]>
- Date
- almost 9 years ago
- Selected line
- 406
else
else
Marcel Hofer
almost 7 years ago
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 407
CERT_ERRORS=1
CERT_ERRORS=1
André
almost 9 years ago
a110e2e
[ACME] Fix detection of orphaned SANs and add tini
- Full commit hash
a110e2ea0f126ac5bed59dad6d30a76b12d29a0a- Author
- André <[email protected]>
- Date
- almost 9 years ago
- Selected line
- 408
fi
fi
same change
a110e2e
[ACME] Fix detection of orphaned SANs and add tini
- Full commit hash
a110e2ea0f126ac5bed59dad6d30a76b12d29a0a- Author
- André <[email protected]>
- Date
- almost 9 years ago
- Selected line
- 409
fi
fi
same change
a110e2e
[ACME] Fix detection of orphaned SANs and add tini
- Full commit hash
a110e2ea0f126ac5bed59dad6d30a76b12d29a0a- Author
- André <[email protected]>
- Date
- almost 9 years ago
- Selected line
- 410
done
done
andryyy
about 7 years ago
9bab650
[ACME] Allow to skip all names but MAILCOW_HOSTNAME
- Full commit hash
9bab6507a73428de890967b1615ef71ce432b556- Author
- andryyy <[email protected]>
- Date
- about 7 years ago
- Selected line
- 411
fi
fi
andryyy
about 9 years ago
19325ff
Validate additional SAN
- Full commit hash
19325ffb2a87629abc4d3fcc5f8f496aba6b7249- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 412
Marcel Hofer
almost 7 years ago
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 413
if [[ -z ${VALIDATED_CERTIFICATES[*]} ]]; then
if [[ -z ${VALIDATED_CERTIFICATES[*]} ]]; then
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 414
log_f "Cannot validate any hostnames, skipping Let's Encrypt for 1 hour."
log_f "Cannot validate any hostnames, skipping Let's Encrypt for 1 hour."
André
almost 9 years ago
a110e2e
[ACME] Fix detection of orphaned SANs and add tini
- Full commit hash
a110e2ea0f126ac5bed59dad6d30a76b12d29a0a- Author
- André <[email protected]>
- Date
- almost 9 years ago
- Selected line
- 415
log_f "Use SKIP_LETS_ENCRYPT=y in mailcow.conf to skip it permanently."
log_f "Use SKIP_LETS_ENCRYPT=y in mailcow.conf to skip it permanently."
andryyy
over 6 years ago
1fb81f0
[ACME] Use redis master for write operations
- Full commit hash
1fb81f05116f580924aa799e5b42e74a4803e323- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 416
${REDIS_CMDLINE} SET ACME_FAIL_TIME "$(date +%s)"
${REDIS_CMDLINE} SET ACME_FAIL_TIME "$(date +%s)"
André
almost 9 years ago
a110e2e
[ACME] Fix detection of orphaned SANs and add tini
- Full commit hash
a110e2ea0f126ac5bed59dad6d30a76b12d29a0a- Author
- André <[email protected]>
- Date
- almost 9 years ago
- Selected line
- 417
sleep 1h
sleep 1h
same change
a110e2e
[ACME] Fix detection of orphaned SANs and add tini
- Full commit hash
a110e2ea0f126ac5bed59dad6d30a76b12d29a0a- Author
- André <[email protected]>
- Date
- almost 9 years ago
- Selected line
- 418
exec $(readlink -f "$0")
exec $(readlink -f "$0")
same change
a110e2e
[ACME] Fix detection of orphaned SANs and add tini
- Full commit hash
a110e2ea0f126ac5bed59dad6d30a76b12d29a0a- Author
- André <[email protected]>
- Date
- almost 9 years ago
- Selected line
- 419
fi
fi
andryyy
about 9 years ago
6d8438c
- More checks for acme-mailcow (verify hashes)
- Full commit hash
6d8438c01c86518fef6394921ec81df86faa0713- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 420
Marcel Hofer
almost 7 years ago
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 421
# find orphaned certificates if no errors occurred
# find orphaned certificates if no errors occurred
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 422
if [[ "${CERT_ERRORS}" == "0" ]]; then
if [[ "${CERT_ERRORS}" == "0" ]]; then
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 423
for EXISTING_CERT in "${EXISTING_CERTS[@]}"; do
for EXISTING_CERT in "${EXISTING_CERTS[@]}"; do
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 424
if [[ ! "`printf '_%s_\n' "${VALIDATED_CERTIFICATES[@]}"`" == *"_${EXISTING_CERT}_"* ]]; then
if [[ ! "`printf '_%s_\n' "${VALIDATED_CERTIFICATES[@]}"`" == *"_${EXISTING_CERT}_"* ]]; then
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 425
DATE=$(date +%Y-%m-%d_%H_%M_%S)
DATE=$(date +%Y-%m-%d_%H_%M_%S)
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 426
log_f "Found orphaned certificate: ${EXISTING_CERT} - archiving it at ${ACME_BASE}/backups/${EXISTING_CERT}/"
log_f "Found orphaned certificate: ${EXISTING_CERT} - archiving it at ${ACME_BASE}/backups/${EXISTING_CERT}/"
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 427
BACKUP_DIR=${ACME_BASE}/backups/${EXISTING_CERT}/${DATE}
BACKUP_DIR=${ACME_BASE}/backups/${EXISTING_CERT}/${DATE}
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 428
# archive rsa cert and any other files
# archive rsa cert and any other files
Marcel Hofer
over 6 years ago
b8a12ad
[SSL] fix bug with pruning old certificates (#3272)
- Full commit hash
b8a12ad192d0689a8bf3d86d2e0f6de03dc2de8b- Author
- Marcel Hofer <[email protected]>
- Date
- over 6 years ago
- Selected line
- 429
mkdir -p ${ACME_BASE}/backups/${EXISTING_CERT}
mkdir -p ${ACME_BASE}/backups/${EXISTING_CERT}
Marcel Hofer
almost 7 years ago
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 430
mv ${ACME_BASE}/${EXISTING_CERT} ${BACKUP_DIR}
mv ${ACME_BASE}/${EXISTING_CERT} ${BACKUP_DIR}
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 431
CERT_CHANGED=1
CERT_CHANGED=1
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 432
CERT_AMOUNT_CHANGED=1
CERT_AMOUNT_CHANGED=1
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 433
fi
fi
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 434
done
done
andryyy
over 7 years ago
9f2a6f1
Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized
- Full commit hash
9f2a6f13a5d3bc5cdcd1e61c458cd3989bc945b0- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 435
fi
fi
same change
9f2a6f1
Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized
- Full commit hash
9f2a6f13a5d3bc5cdcd1e61c458cd3989bc945b0- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 436
Marcel Hofer
almost 7 years ago
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 437
# reload on new or changed certificates
# reload on new or changed certificates
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 438
if [[ "${CERT_CHANGED}" == "1" ]]; then
if [[ "${CERT_CHANGED}" == "1" ]]; then
andryyy
over 6 years ago
e19e6b9
[ACME] Force renewal with force_renew file, docs will follow
- Full commit hash
e19e6b9e9245ff32f662612c7381b14d60062306- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 439
rm -f "${ACME_BASE}/force_renew" 2> /dev/null
rm -f "${ACME_BASE}/force_renew" 2> /dev/null
andryyy
almost 6 years ago
c8ce288
[ACME] Do check for restart of Postfix and Dovecot service more thoroughly
- Full commit hash
c8ce28817805d95ded2905f17f44af495a51b440- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 440
RELOAD_LOOP_C=1
RELOAD_LOOP_C=1
same change
c8ce288
[ACME] Do check for restart of Postfix and Dovecot service more thoroughly
- Full commit hash
c8ce28817805d95ded2905f17f44af495a51b440- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 441
while [[ "${POSTFIX_CERT_SERIAL}" == "${POSTFIX_CERT_SERIAL_NEW}" ]] || [[ "${DOVECOT_CERT_SERIAL}" == "${DOVECOT_CERT_SERIAL_NEW}" ]] || [[ ${#POSTFIX_CERT_SERIAL_NEW} -ne 36 ]] || [[ ${#DOVECOT_CERT_SERIAL_NEW} -ne 36 ]]; do
while [[ "${POSTFIX_CERT_SERIAL}" == "${POSTFIX_CERT_SERIAL_NEW}" ]] || [[ "${DOVECOT_CERT_SERIAL}" == "${DOVECOT_CERT_SERIAL_NEW}" ]] || [[ ${#POSTFIX_CERT_SERIAL_NEW} -ne 36 ]] || [[ ${#DOVECOT_CERT_SERIAL_NEW} -ne 36 ]]; do
same change
c8ce288
[ACME] Do check for restart of Postfix and Dovecot service more thoroughly
- Full commit hash
c8ce28817805d95ded2905f17f44af495a51b440- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 442
log_f "Reloading or restarting services... (${RELOAD_LOOP_C})"
log_f "Reloading or restarting services... (${RELOAD_LOOP_C})"
same change
c8ce288
[ACME] Do check for restart of Postfix and Dovecot service more thoroughly
- Full commit hash
c8ce28817805d95ded2905f17f44af495a51b440- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 443
RELOAD_LOOP_C=$((RELOAD_LOOP_C + 1))
RELOAD_LOOP_C=$((RELOAD_LOOP_C + 1))
same change
c8ce288
[ACME] Do check for restart of Postfix and Dovecot service more thoroughly
- Full commit hash
c8ce28817805d95ded2905f17f44af495a51b440- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 444
CERT_AMOUNT_CHANGED=${CERT_AMOUNT_CHANGED} /srv/reload-configurations.sh
CERT_AMOUNT_CHANGED=${CERT_AMOUNT_CHANGED} /srv/reload-configurations.sh
same change
c8ce288
[ACME] Do check for restart of Postfix and Dovecot service more thoroughly
- Full commit hash
c8ce28817805d95ded2905f17f44af495a51b440- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 445
log_f "Waiting for containers to settle..."
log_f "Waiting for containers to settle..."
same change
c8ce288
[ACME] Do check for restart of Postfix and Dovecot service more thoroughly
- Full commit hash
c8ce28817805d95ded2905f17f44af495a51b440- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 446
sleep 10
sleep 10
same change
c8ce288
[ACME] Do check for restart of Postfix and Dovecot service more thoroughly
- Full commit hash
c8ce28817805d95ded2905f17f44af495a51b440- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 447
until nc -z dovecot 143; do
until nc -z dovecot 143; do
same change
c8ce288
[ACME] Do check for restart of Postfix and Dovecot service more thoroughly
- Full commit hash
c8ce28817805d95ded2905f17f44af495a51b440- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 448
sleep 1
sleep 1
same change
c8ce288
[ACME] Do check for restart of Postfix and Dovecot service more thoroughly
- Full commit hash
c8ce28817805d95ded2905f17f44af495a51b440- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 449
done
done
same change
c8ce288
[ACME] Do check for restart of Postfix and Dovecot service more thoroughly
- Full commit hash
c8ce28817805d95ded2905f17f44af495a51b440- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 450
until nc -z postfix 25; do
until nc -z postfix 25; do
same change
c8ce288
[ACME] Do check for restart of Postfix and Dovecot service more thoroughly
- Full commit hash
c8ce28817805d95ded2905f17f44af495a51b440- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 451
sleep 1
sleep 1
same change
c8ce288
[ACME] Do check for restart of Postfix and Dovecot service more thoroughly
- Full commit hash
c8ce28817805d95ded2905f17f44af495a51b440- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 452
done
done
same change
c8ce288
[ACME] Do check for restart of Postfix and Dovecot service more thoroughly
- Full commit hash
c8ce28817805d95ded2905f17f44af495a51b440- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 453
POSTFIX_CERT_SERIAL_NEW="$(echo | openssl s_client -connect postfix:25 -starttls smtp 2>/dev/null | openssl x509 -inform pem -noout -serial | cut -d "=" -f 2)"
POSTFIX_CERT_SERIAL_NEW="$(echo | openssl s_client -connect postfix:25 -starttls smtp 2>/dev/null | openssl x509 -inform pem -noout -serial | cut -d "=" -f 2)"
same change
c8ce288
[ACME] Do check for restart of Postfix and Dovecot service more thoroughly
- Full commit hash
c8ce28817805d95ded2905f17f44af495a51b440- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 454
DOVECOT_CERT_SERIAL_NEW="$(echo | openssl s_client -connect dovecot:143 -starttls imap 2>/dev/null | openssl x509 -inform pem -noout -serial | cut -d "=" -f 2)"
DOVECOT_CERT_SERIAL_NEW="$(echo | openssl s_client -connect dovecot:143 -starttls imap 2>/dev/null | openssl x509 -inform pem -noout -serial | cut -d "=" -f 2)"
same change
c8ce288
[ACME] Do check for restart of Postfix and Dovecot service more thoroughly
- Full commit hash
c8ce28817805d95ded2905f17f44af495a51b440- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 455
if [[ ${RELOAD_LOOP_C} -gt 3 ]]; then
if [[ ${RELOAD_LOOP_C} -gt 3 ]]; then
same change
c8ce288
[ACME] Do check for restart of Postfix and Dovecot service more thoroughly
- Full commit hash
c8ce28817805d95ded2905f17f44af495a51b440- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 456
log_f "Some services do return old end dates, something went wrong!"
log_f "Some services do return old end dates, something went wrong!"
same change
c8ce288
[ACME] Do check for restart of Postfix and Dovecot service more thoroughly
- Full commit hash
c8ce28817805d95ded2905f17f44af495a51b440- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 457
${REDIS_CMDLINE} SET ACME_FAIL_TIME "$(date +%s)"
${REDIS_CMDLINE} SET ACME_FAIL_TIME "$(date +%s)"
same change
c8ce288
[ACME] Do check for restart of Postfix and Dovecot service more thoroughly
- Full commit hash
c8ce28817805d95ded2905f17f44af495a51b440- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 458
break;
break;
same change
c8ce288
[ACME] Do check for restart of Postfix and Dovecot service more thoroughly
- Full commit hash
c8ce28817805d95ded2905f17f44af495a51b440- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 459
fi
fi
same change
c8ce288
[ACME] Do check for restart of Postfix and Dovecot service more thoroughly
- Full commit hash
c8ce28817805d95ded2905f17f44af495a51b440- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 460
done
done
andryyy
over 7 years ago
37964d9
[ACME] Try to reload services after certificate changes instead of restarting
- Full commit hash
37964d9dd1ffdef6ae572030e5467668f9d4bdb7- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 461
fi
fi
same change
37964d9
[ACME] Try to reload services after certificate changes instead of restarting
- Full commit hash
37964d9dd1ffdef6ae572030e5467668f9d4bdb7- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 462
Marcel Hofer
almost 7 years ago
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 463
case "$CERT_ERRORS" in
case "$CERT_ERRORS" in
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 464
0) # all successful
0) # all successful
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 465
if [[ "${CERT_CHANGED}" == "1" ]]; then
if [[ "${CERT_CHANGED}" == "1" ]]; then
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 466
if [[ "${CERT_AMOUNT_CHANGED}" == "1" ]]; then
if [[ "${CERT_AMOUNT_CHANGED}" == "1" ]]; then
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 467
log_f "Certificates successfully requested and renewed where required, sleeping one day"
log_f "Certificates successfully requested and renewed where required, sleeping one day"
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 468
else
else
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 469
log_f "Certificates were successfully renewed where required, sleeping for another day."
log_f "Certificates were successfully renewed where required, sleeping for another day."
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 470
fi
fi
andryyy
over 7 years ago
9f2a6f1
Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized
- Full commit hash
9f2a6f13a5d3bc5cdcd1e61c458cd3989bc945b0- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 471
else
else
Marcel Hofer
almost 7 years ago
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 472
log_f "Certificates were successfully validated, no changes or renewals required, sleeping for another day."
log_f "Certificates were successfully validated, no changes or renewals required, sleeping for another day."
André
almost 9 years ago
a110e2e
[ACME] Fix detection of orphaned SANs and add tini
- Full commit hash
a110e2ea0f126ac5bed59dad6d30a76b12d29a0a- Author
- André <[email protected]>
- Date
- almost 9 years ago
- Selected line
- 473
fi
fi
Marcel Hofer
almost 7 years ago
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 474
sleep 1d
sleep 1d
André
almost 9 years ago
a110e2e
[ACME] Fix detection of orphaned SANs and add tini
- Full commit hash
a110e2ea0f126ac5bed59dad6d30a76b12d29a0a- Author
- André <[email protected]>
- Date
- almost 9 years ago
- Selected line
- 475
;;
;;
Marcel Hofer
almost 7 years ago
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 476
*) # non-zero
*) # non-zero
same change
2e35da6
[SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx
- Full commit hash
2e35da681674c250238519f4a9e3e581393f50f2- Author
- Marcel Hofer <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 477
log_f "Some errors occurred, retrying in 30 minutes..."
log_f "Some errors occurred, retrying in 30 minutes..."
andryyy
over 6 years ago
1fb81f0
[ACME] Use redis master for write operations
- Full commit hash
1fb81f05116f580924aa799e5b42e74a4803e323- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 478
${REDIS_CMDLINE} SET ACME_FAIL_TIME "$(date +%s)"
${REDIS_CMDLINE} SET ACME_FAIL_TIME "$(date +%s)"
André
almost 9 years ago
a110e2e
[ACME] Fix detection of orphaned SANs and add tini
- Full commit hash
a110e2ea0f126ac5bed59dad6d30a76b12d29a0a- Author
- André <[email protected]>
- Date
- almost 9 years ago
- Selected line
- 479
sleep 30m
sleep 30m
same change
a110e2e
[ACME] Fix detection of orphaned SANs and add tini
- Full commit hash
a110e2ea0f126ac5bed59dad6d30a76b12d29a0a- Author
- André <[email protected]>
- Date
- almost 9 years ago
- Selected line
- 480
exec $(readlink -f "$0")
exec $(readlink -f "$0")
same change
a110e2e
[ACME] Fix detection of orphaned SANs and add tini
- Full commit hash
a110e2ea0f126ac5bed59dad6d30a76b12d29a0a- Author
- André <[email protected]>
- Date
- almost 9 years ago
- Selected line
- 481
;;
;;
same change
a110e2e
[ACME] Fix detection of orphaned SANs and add tini
- Full commit hash
a110e2ea0f126ac5bed59dad6d30a76b12d29a0a- Author
- André <[email protected]>
- Date
- almost 9 years ago
- Selected line
- 482
esac
esac
andryyy
about 9 years ago
ef62f6b
Acme tool checks for valid autodiscover and autoconfig A records and skips non-existing names
- Full commit hash
ef62f6b38315b8e8cea2741bd2642b6b17cd0375- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 483
same change
ef62f6b
Acme tool checks for valid autodiscover and autoconfig A records and skips non-existing names
- Full commit hash
ef62f6b38315b8e8cea2741bd2642b6b17cd0375- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 484
done
done