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/functions.sh
Trace helps you understand code history line by line. See who changed each line, when it changed, and which commit introduced it.
functions.sh
on main
Author
Date
Commit
Line
Code
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
- 1
#!/bin/bash
#!/bin/bash
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
- 2
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
- 3
log_f() {
log_f() {
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
- 4
if [[ ${2} == "no_nl" ]]; then
if [[ ${2} == "no_nl" ]]; 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
- 5
echo -n "$(date) - ${1}"
echo -n "$(date) - ${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
- 6
elif [[ ${2} == "no_date" ]]; then
elif [[ ${2} == "no_date" ]]; 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
- 7
echo "${1}"
echo "${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
- 8
elif [[ ${2} != "redis_only" ]]; then
elif [[ ${2} != "redis_only" ]]; 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
- 9
echo "$(date) - ${1}"
echo "$(date) - ${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
- 10
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
- 11
if [[ ${3} == "b64" ]]; then
if [[ ${3} == "b64" ]]; then
andryyy
about 6 years ago
4ce39c0
[ACME] Add DIRECTORY_URL for custom directory URLs
- Full commit hash
4ce39c0f3f598b64bb961202e173cdb33ee9411b- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 12
${REDIS_CMDLINE} LPUSH ACME_LOG "{\"time\":\"$(date +%s)\",\"message\":\"base64,$(printf '%s' "${MAILCOW_HOSTNAME} - ${1}")\"}" > /dev/null
${REDIS_CMDLINE} LPUSH ACME_LOG "{\"time\":\"$(date +%s)\",\"message\":\"base64,$(printf '%s' "${MAILCOW_HOSTNAME} - ${1}")\"}" > /dev/null
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
- 13
else
else
andryyy
about 6 years ago
4ce39c0
[ACME] Add DIRECTORY_URL for custom directory URLs
- Full commit hash
4ce39c0f3f598b64bb961202e173cdb33ee9411b- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 14
${REDIS_CMDLINE} LPUSH ACME_LOG "{\"time\":\"$(date +%s)\",\"message\":\"$(printf '%s' "${MAILCOW_HOSTNAME} - ${1}" | \
${REDIS_CMDLINE} LPUSH ACME_LOG "{\"time\":\"$(date +%s)\",\"message\":\"$(printf '%s' "${MAILCOW_HOSTNAME} - ${1}" | \
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
- 15
tr '%&;$"[]{}-\r\n' ' ')\"}" > /dev/null
tr '%&;$"[]{}-\r\n' ' ')\"}" > /dev/null
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
- 16
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
- 17
}
}
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
- 18
andryyy
about 5 years ago
0cbd4ec
[Config, Update] Add ACME_CONTACT
- Full commit hash
0cbd4ec273b9546f8a2fa247b698665a3f745109- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 19
verify_email(){
verify_email(){
same change
0cbd4ec
[Config, Update] Add ACME_CONTACT
- Full commit hash
0cbd4ec273b9546f8a2fa247b698665a3f745109- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 20
regex="^(([A-Za-z0-9]+((\.|\-|\_|\+)?[A-Za-z0-9]?)*[A-Za-z0-9]+)|[A-Za-z0-9]+)@(([A-Za-z0-9]+)+((\.|\-|\_)?([A-Za-z0-9]+)+)*)+\.([A-Za-z]{2,})+$"
regex="^(([A-Za-z0-9]+((\.|\-|\_|\+)?[A-Za-z0-9]?)*[A-Za-z0-9]+)|[A-Za-z0-9]+)@(([A-Za-z0-9]+)+((\.|\-|\_)?([A-Za-z0-9]+)+)*)+\.([A-Za-z]{2,})+$"
same change
0cbd4ec
[Config, Update] Add ACME_CONTACT
- Full commit hash
0cbd4ec273b9546f8a2fa247b698665a3f745109- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 21
if [[ $1 =~ ${regex} ]]; then
if [[ $1 =~ ${regex} ]]; then
same change
0cbd4ec
[Config, Update] Add ACME_CONTACT
- Full commit hash
0cbd4ec273b9546f8a2fa247b698665a3f745109- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 22
return 0
return 0
same change
0cbd4ec
[Config, Update] Add ACME_CONTACT
- Full commit hash
0cbd4ec273b9546f8a2fa247b698665a3f745109- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 23
else
else
same change
0cbd4ec
[Config, Update] Add ACME_CONTACT
- Full commit hash
0cbd4ec273b9546f8a2fa247b698665a3f745109- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 24
return 1
return 1
same change
0cbd4ec
[Config, Update] Add ACME_CONTACT
- Full commit hash
0cbd4ec273b9546f8a2fa247b698665a3f745109- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 25
fi
fi
same change
0cbd4ec
[Config, Update] Add ACME_CONTACT
- Full commit hash
0cbd4ec273b9546f8a2fa247b698665a3f745109- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 26
}
}
same change
0cbd4ec
[Config, Update] Add ACME_CONTACT
- Full commit hash
0cbd4ec273b9546f8a2fa247b698665a3f745109- Author
- andryyy <[email protected]>
- Date
- about 5 years 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
verify_hash_match(){
verify_hash_match(){
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
- 29
CERT_HASH=$(openssl x509 -in "${1}" -noout -pubkey | openssl md5)
CERT_HASH=$(openssl x509 -in "${1}" -noout -pubkey | openssl md5)
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
- 30
KEY_HASH=$(openssl pkey -in "${2}" -pubout | openssl md5)
KEY_HASH=$(openssl pkey -in "${2}" -pubout | openssl md5)
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
- 31
if [[ ${CERT_HASH} != ${KEY_HASH} ]]; then
if [[ ${CERT_HASH} != ${KEY_HASH} ]]; 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
- 32
log_f "Certificate and key hashes do not match!"
log_f "Certificate and key hashes do not match!"
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
- 33
return 1
return 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
- 34
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
- 35
log_f "Verified hashes."
log_f "Verified hashes."
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
- 36
return 0
return 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
- 37
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
- 38
}
}
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
- 39
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
- 40
get_ipv4(){
get_ipv4(){
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
- 41
local IPV4=
local IPV4=
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
- 42
local IPV4_SRCS=
local IPV4_SRCS=
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
- 43
local TRY=
local TRY=
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
- 44
IPV4_SRCS[0]="ip4.mailcow.email"
IPV4_SRCS[0]="ip4.mailcow.email"
andryyy
over 5 years ago
e9b554b
[Web] Add nevondo.com ip check source, thank you!
- Full commit hash
e9b554b09cdf9bdb499cbb2e4b4bf28e9df4aa9f- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 45
IPV4_SRCS[1]="ip4.nevondo.com"
IPV4_SRCS[1]="ip4.nevondo.com"
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
- 46
until [[ ! -z ${IPV4} ]] || [[ ${TRY} -ge 10 ]]; do
until [[ ! -z ${IPV4} ]] || [[ ${TRY} -ge 10 ]]; 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
- 47
IPV4=$(curl --connect-timeout 3 -m 10 -L4s ${IPV4_SRCS[$RANDOM % ${#IPV4_SRCS[@]} ]} | grep -E "^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$")
IPV4=$(curl --connect-timeout 3 -m 10 -L4s ${IPV4_SRCS[$RANDOM % ${#IPV4_SRCS[@]} ]} | grep -E "^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$")
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
- 48
[[ ! -z ${TRY} ]] && sleep 1
[[ ! -z ${TRY} ]] && sleep 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
- 49
TRY=$((TRY+1))
TRY=$((TRY+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
- 50
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
- 51
echo ${IPV4}
echo ${IPV4}
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
}
}
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
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
get_ipv6(){
get_ipv6(){
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
- 55
local IPV6=
local IPV6=
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
- 56
local IPV6_SRCS=
local IPV6_SRCS=
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
- 57
local TRY=
local TRY=
andryyy
over 5 years ago
d3c0e2f
Temp remove ip6.korves.net
- Full commit hash
d3c0e2fc11102806a0737f0c468d494c7f35059c- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 58
IPV6_SRCS[0]="ip6.mailcow.email"
IPV6_SRCS[0]="ip6.mailcow.email"
andryyy
over 5 years ago
e9b554b
[Web] Add nevondo.com ip check source, thank you!
- Full commit hash
e9b554b09cdf9bdb499cbb2e4b4bf28e9df4aa9f- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 59
IPV6_SRCS[1]="ip6.nevondo.com"
IPV6_SRCS[1]="ip6.nevondo.com"
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
- 60
until [[ ! -z ${IPV6} ]] || [[ ${TRY} -ge 10 ]]; do
until [[ ! -z ${IPV6} ]] || [[ ${TRY} -ge 10 ]]; 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
- 61
IPV6=$(curl --connect-timeout 3 -m 10 -L6s ${IPV6_SRCS[$RANDOM % ${#IPV6_SRCS[@]} ]} | grep "^\([0-9a-fA-F]\{0,4\}:\)\{1,7\}[0-9a-fA-F]\{0,4\}$")
IPV6=$(curl --connect-timeout 3 -m 10 -L6s ${IPV6_SRCS[$RANDOM % ${#IPV6_SRCS[@]} ]} | grep "^\([0-9a-fA-F]\{0,4\}:\)\{1,7\}[0-9a-fA-F]\{0,4\}$")
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
- 62
[[ ! -z ${TRY} ]] && sleep 1
[[ ! -z ${TRY} ]] && sleep 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
- 63
TRY=$((TRY+1))
TRY=$((TRY+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
- 64
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
- 65
echo ${IPV6}
echo ${IPV6}
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
- 66
}
}
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
- 67
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
- 68
check_domain(){
check_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
- 69
DOMAIN=$1
DOMAIN=$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
- 70
A_DOMAIN=$(dig A ${DOMAIN} +short | tail -n 1)
A_DOMAIN=$(dig A ${DOMAIN} +short | tail -n 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
- 71
AAAA_DOMAIN=$(dig AAAA ${DOMAIN} +short | tail -n 1)
AAAA_DOMAIN=$(dig AAAA ${DOMAIN} +short | tail -n 1)
andryyy
about 5 years ago
0cbd4ec
[Config, Update] Add ACME_CONTACT
- Full commit hash
0cbd4ec273b9546f8a2fa247b698665a3f745109- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 72
# Hard-fail on CAA errors for MAILCOW_HOSTNAME
# Hard-fail on CAA errors for MAILCOW_HOSTNAME
same change
0cbd4ec
[Config, Update] Add ACME_CONTACT
- Full commit hash
0cbd4ec273b9546f8a2fa247b698665a3f745109- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 73
PARENT_DOMAIN=$(echo ${DOMAIN} | cut -d. -f2-)
PARENT_DOMAIN=$(echo ${DOMAIN} | cut -d. -f2-)
same change
0cbd4ec
[Config, Update] Add ACME_CONTACT
- Full commit hash
0cbd4ec273b9546f8a2fa247b698665a3f745109- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 74
CAAS=( $(dig CAA ${PARENT_DOMAIN} +short | sed -n 's/\d issue "\(.*\)"/\1/p') )
CAAS=( $(dig CAA ${PARENT_DOMAIN} +short | sed -n 's/\d issue "\(.*\)"/\1/p') )
same change
0cbd4ec
[Config, Update] Add ACME_CONTACT
- Full commit hash
0cbd4ec273b9546f8a2fa247b698665a3f745109- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 75
if [[ ! -z ${CAAS} ]]; then
if [[ ! -z ${CAAS} ]]; then
same change
0cbd4ec
[Config, Update] Add ACME_CONTACT
- Full commit hash
0cbd4ec273b9546f8a2fa247b698665a3f745109- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 76
if [[ ${CAAS[@]} =~ "letsencrypt.org" ]]; then
if [[ ${CAAS[@]} =~ "letsencrypt.org" ]]; then
same change
0cbd4ec
[Config, Update] Add ACME_CONTACT
- Full commit hash
0cbd4ec273b9546f8a2fa247b698665a3f745109- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 77
log_f "Validated CAA for parent domain ${PARENT_DOMAIN}"
log_f "Validated CAA for parent domain ${PARENT_DOMAIN}"
same change
0cbd4ec
[Config, Update] Add ACME_CONTACT
- Full commit hash
0cbd4ec273b9546f8a2fa247b698665a3f745109- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 78
else
else
same change
0cbd4ec
[Config, Update] Add ACME_CONTACT
- Full commit hash
0cbd4ec273b9546f8a2fa247b698665a3f745109- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 79
log_f "Lets Encrypt disallowed for ${PARENT_DOMAIN} by CAA record"
log_f "Lets Encrypt disallowed for ${PARENT_DOMAIN} by CAA record"
same change
0cbd4ec
[Config, Update] Add ACME_CONTACT
- Full commit hash
0cbd4ec273b9546f8a2fa247b698665a3f745109- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 80
return 1
return 1
same change
0cbd4ec
[Config, Update] Add ACME_CONTACT
- Full commit hash
0cbd4ec273b9546f8a2fa247b698665a3f745109- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 81
fi
fi
same change
0cbd4ec
[Config, Update] Add ACME_CONTACT
- Full commit hash
0cbd4ec273b9546f8a2fa247b698665a3f745109- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 82
fi
fi
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
- 83
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
- 84
if [[ ${ACME_DNS_CHALLENGE} == "y" ]]; then
if [[ ${ACME_DNS_CHALLENGE} == "y" ]]; 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
- 85
log_f "ACME_DNS_CHALLENGE=y - skipping IP and HTTP validation for ${DOMAIN}"
log_f "ACME_DNS_CHALLENGE=y - skipping IP and HTTP validation for ${DOMAIN}"
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
- 86
return 0
return 0
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
- 87
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
- 88
# Check if CNAME without v6 enabled target
# Check if CNAME without v6 enabled target
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
- 89
if [[ ! -z ${AAAA_DOMAIN} ]] && [[ -z $(echo ${AAAA_DOMAIN} | grep "^\([0-9a-fA-F]\{0,4\}:\)\{1,7\}[0-9a-fA-F]\{0,4\}$") ]]; then
if [[ ! -z ${AAAA_DOMAIN} ]] && [[ -z $(echo ${AAAA_DOMAIN} | grep "^\([0-9a-fA-F]\{0,4\}:\)\{1,7\}[0-9a-fA-F]\{0,4\}$") ]]; 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
- 90
AAAA_DOMAIN=
AAAA_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
- 91
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
- 92
if [[ ! -z ${AAAA_DOMAIN} ]]; then
if [[ ! -z ${AAAA_DOMAIN} ]]; 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
log_f "Found AAAA record for ${DOMAIN}: ${AAAA_DOMAIN} - skipping A record check"
log_f "Found AAAA record for ${DOMAIN}: ${AAAA_DOMAIN} - skipping A record check"
andryyy
over 6 years ago
03f1739
[Compose] Update SOGo and ACME
- Full commit hash
03f173905ef9523d91af8655ead4e05c7ed46c3b- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 94
if [[ $(expand ${IPV6:-"0000:0000:0000:0000:0000:0000:0000:0000"}) == $(expand ${AAAA_DOMAIN}) ]] || [[ ${SKIP_IP_CHECK} == "y" ]] || [[ ${SNAT6_TO_SOURCE} != "n" ]]; then
if [[ $(expand ${IPV6:-"0000:0000:0000:0000:0000:0000:0000:0000"}) == $(expand ${AAAA_DOMAIN}) ]] || [[ ${SKIP_IP_CHECK} == "y" ]] || [[ ${SNAT6_TO_SOURCE} != "n" ]]; 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
- 95
if verify_challenge_path "${DOMAIN}" 6; then
if verify_challenge_path "${DOMAIN}" 6; 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
- 96
log_f "Confirmed AAAA record with IP $(expand ${AAAA_DOMAIN})"
log_f "Confirmed AAAA record with IP $(expand ${AAAA_DOMAIN})"
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
- 97
return 0
return 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
- 98
else
else
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
- 99
log_f "Confirmed AAAA record with IP $(expand ${AAAA_DOMAIN}), but HTTP validation failed"
log_f "Confirmed AAAA record with IP $(expand ${AAAA_DOMAIN}), but HTTP validation failed"
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
- 100
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
- 101
else
else
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
- 102
log_f "Cannot match your IP $(expand ${IPV6:-"0000:0000:0000:0000:0000:0000:0000:0000"}) against hostname ${DOMAIN} (DNS returned $(expand ${AAAA_DOMAIN}))"
log_f "Cannot match your IP $(expand ${IPV6:-"0000:0000:0000:0000:0000:0000:0000:0000"}) against hostname ${DOMAIN} (DNS returned $(expand ${AAAA_DOMAIN}))"
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
- 103
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
- 104
elif [[ ! -z ${A_DOMAIN} ]]; then
elif [[ ! -z ${A_DOMAIN} ]]; 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
- 105
log_f "Found A record for ${DOMAIN}: ${A_DOMAIN}"
log_f "Found A record for ${DOMAIN}: ${A_DOMAIN}"
andryyy
over 6 years ago
03f1739
[Compose] Update SOGo and ACME
- Full commit hash
03f173905ef9523d91af8655ead4e05c7ed46c3b- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 106
if [[ ${IPV4:-ERR} == ${A_DOMAIN} ]] || [[ ${SKIP_IP_CHECK} == "y" ]] || [[ ${SNAT_TO_SOURCE} != "n" ]]; then
if [[ ${IPV4:-ERR} == ${A_DOMAIN} ]] || [[ ${SKIP_IP_CHECK} == "y" ]] || [[ ${SNAT_TO_SOURCE} != "n" ]]; 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
- 107
if verify_challenge_path "${DOMAIN}" 4; then
if verify_challenge_path "${DOMAIN}" 4; 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
- 108
log_f "Confirmed A record ${A_DOMAIN}"
log_f "Confirmed A record ${A_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
- 109
return 0
return 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
- 110
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
- 111
log_f "Confirmed A record with IP ${A_DOMAIN}, but HTTP validation failed"
log_f "Confirmed A record with IP ${A_DOMAIN}, but HTTP validation failed"
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
- 112
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
- 113
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
- 114
log_f "Cannot match your IP ${IPV4} against hostname ${DOMAIN} (DNS returned ${A_DOMAIN})"
log_f "Cannot match your IP ${IPV4} against hostname ${DOMAIN} (DNS returned ${A_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
- 115
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
- 116
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
- 117
log_f "No A or AAAA record found for hostname ${DOMAIN}"
log_f "No A or AAAA record found for hostname ${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
- 118
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
- 119
return 1
return 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
- 120
}
}
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
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
verify_challenge_path(){
verify_challenge_path(){
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
if [[ ${SKIP_HTTP_VERIFICATION} == "y" ]]; then
if [[ ${SKIP_HTTP_VERIFICATION} == "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
- 124
echo '(skipping check, returning 0)'
echo '(skipping check, returning 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
- 125
return 0
return 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
- 126
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
- 127
# verify_challenge_path URL 4|6
# verify_challenge_path URL 4|6
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
- 128
RANDOM_N=${RANDOM}${RANDOM}${RANDOM}
RANDOM_N=${RANDOM}${RANDOM}${RANDOM}
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
- 129
echo ${RANDOM_N} > /var/www/acme/${RANDOM_N}
echo ${RANDOM_N} > /var/www/acme/${RANDOM_N}
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
- 130
if [[ "$(curl --insecure -${2} -L http://${1}/.well-known/acme-challenge/${RANDOM_N} --silent)" == "${RANDOM_N}" ]]; then
if [[ "$(curl --insecure -${2} -L http://${1}/.well-known/acme-challenge/${RANDOM_N} --silent)" == "${RANDOM_N}" ]]; 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
- 131
rm /var/www/acme/${RANDOM_N}
rm /var/www/acme/${RANDOM_N}
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
- 132
return 0
return 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
- 133
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
- 134
rm /var/www/acme/${RANDOM_N}
rm /var/www/acme/${RANDOM_N}
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
- 135
return 1
return 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
- 136
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
- 137
}
}
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
- 138
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
- 139
# Check if a domain is covered by a wildcard (*.example.com) in ADDITIONAL_SAN
# Check if a domain is covered by a wildcard (*.example.com) in ADDITIONAL_SAN
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
- 140
# Usage: is_covered_by_wildcard "subdomain.example.com"
# Usage: is_covered_by_wildcard "subdomain.example.com"
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
- 141
# Returns: 0 if covered, 1 if not covered
# Returns: 0 if covered, 1 if not covered
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
- 142
# Note: Only returns 0 (covered) when DNS-01 challenge is enabled,
# Note: Only returns 0 (covered) when DNS-01 challenge is enabled,
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
- 143
# as wildcards cannot be validated with HTTP-01 challenge
# as wildcards cannot be validated with HTTP-01 challenge
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
- 144
is_covered_by_wildcard() {
is_covered_by_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
- 145
local DOMAIN=$1
local DOMAIN=$1
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
- 146
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
- 147
# Only skip if DNS challenge is enabled (wildcards require DNS-01)
# Only skip if DNS challenge is enabled (wildcards require DNS-01)
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
- 148
if [[ ${ACME_DNS_CHALLENGE} != "y" ]]; then
if [[ ${ACME_DNS_CHALLENGE} != "y" ]]; 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
- 149
return 1
return 1
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
- 150
fi
fi
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
- 151
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
- 152
# Return early if no ADDITIONAL_SAN is set
# Return early if no ADDITIONAL_SAN is set
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
- 153
if [[ -z ${ADDITIONAL_SAN} ]]; then
if [[ -z ${ADDITIONAL_SAN} ]]; 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
- 154
return 1
return 1
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
- 155
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
- 156
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
- 157
# Extract parent domain (e.g., mail.example.com -> example.com)
# Extract parent domain (e.g., mail.example.com -> example.com)
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
- 158
local PARENT_DOMAIN=$(echo ${DOMAIN} | cut -d. -f2-)
local PARENT_DOMAIN=$(echo ${DOMAIN} | cut -d. -f2-)
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
- 159
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
- 160
# Check if ADDITIONAL_SAN contains a wildcard for this parent domain
# Check if ADDITIONAL_SAN contains a wildcard for this parent 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
- 161
if [[ "${ADDITIONAL_SAN}" == *"*.${PARENT_DOMAIN}"* ]]; then
if [[ "${ADDITIONAL_SAN}" == *"*.${PARENT_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
- 162
return 0 # Covered by wildcard
return 0 # Covered by 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
- 163
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
- 164
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
- 165
return 1 # Not covered
return 1 # Not covered
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
- 166
}
}