NobGit
public nobgit read

NobMail

Based on mailcow: dockerized

Languages

Repository composition by tracked source files.

PHP
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/obtain-certificate.sh

Trace helps you understand code history line by line. See who changed each line, when it changed, and which commit introduced it.

obtain-certificate.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
Open commit View diff
1 #!/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
Open commit View diff
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
# Return values / exit codes
Open commit View diff
3 # Return values / exit codes
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
# 0 = cert created successfully
Open commit View diff
4 # 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
5
# 1 = cert renewed successfully
Open commit View diff
5 # 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
6
# 2 = cert not due for renewal
Open commit View diff
6 # 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
7
# * = errors
Open commit View diff
7 # * = 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
8
Open commit View diff
8
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
Open commit View diff
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
10
source /srv/functions.sh
Open commit View diff
10 source /srv/functions.sh
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
Open commit View diff
11
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
12
CERT_DOMAINS=(${DOMAINS[@]})
Open commit View diff
12 CERT_DOMAINS=(${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
13
CERT_DOMAIN=${CERT_DOMAINS[0]}
Open commit View diff
13 CERT_DOMAIN=${CERT_DOMAINS[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
14
ACME_BASE=/var/lib/acme
Open commit View diff
14 ACME_BASE=/var/lib/acme
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
15
Open commit View diff
15
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
TYPE=${1}
Open commit View diff
16 TYPE=${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
17
PREFIX=""
Open commit View diff
17 PREFIX=""
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
# only support rsa certificates for now
Open commit View diff
18 # only support rsa certificates for now
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
19
if [[ "${TYPE}" != "rsa" ]]; then
Open commit View diff
19 if [[ "${TYPE}" != "rsa" ]]; 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
20
  log_f "Unknown certificate type '${TYPE}' requested"
Open commit View diff
20 log_f "Unknown certificate type '${TYPE}' requested"
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
21
  exit 5
Open commit View diff
21 exit 5
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
22
fi
Open commit View diff
22 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
23
Open commit View diff
23
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
24
if [[ "${ACME_DNS_CHALLENGE}" == "y" ]]; then
Open commit View diff
24 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
25
  exec /srv/obtain-certificate-dns.sh "$@"
Open commit View diff
25 exec /srv/obtain-certificate-dns.sh "$@"
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
26
fi
Open commit View diff
26 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
27
DOMAINS_FILE=${ACME_BASE}/${CERT_DOMAIN}/domains
Open commit View diff
27 DOMAINS_FILE=${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
28
CERT=${ACME_BASE}/${CERT_DOMAIN}/${PREFIX}cert.pem
Open commit View diff
28 CERT=${ACME_BASE}/${CERT_DOMAIN}/${PREFIX}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
29
SHARED_KEY=${ACME_BASE}/acme/${PREFIX}key.pem  # must already exist
Open commit View diff
29 SHARED_KEY=${ACME_BASE}/acme/${PREFIX}key.pem # must already exist
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=${ACME_BASE}/${CERT_DOMAIN}/${PREFIX}key.pem
Open commit View diff
30 KEY=${ACME_BASE}/${CERT_DOMAIN}/${PREFIX}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
31
CSR=${ACME_BASE}/${CERT_DOMAIN}/${PREFIX}acme.csr
Open commit View diff
31 CSR=${ACME_BASE}/${CERT_DOMAIN}/${PREFIX}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
32
Open commit View diff
32
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
if [[ -z ${CERT_DOMAINS[*]} ]]; then
Open commit View diff
33 if [[ -z ${CERT_DOMAINS[*]} ]]; 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
34
  log_f "Missing CERT_DOMAINS to obtain a certificate"
Open commit View diff
34 log_f "Missing CERT_DOMAINS to obtain a 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
35
  exit 3
Open commit View diff
35 exit 3
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
fi
Open commit View diff
36 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
37
Open commit View diff
37
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
if [[ "${LE_STAGING}" =~ ^([yY][eE][sS]|[yY])+$ ]]; then
Open commit View diff
38 if [[ "${LE_STAGING}" =~ ^([yY][eE][sS]|[yY])+$ ]]; 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
39
  if [[ ! -z "${DIRECTORY_URL}" ]]; then
Open commit View diff
39 if [[ ! -z "${DIRECTORY_URL}" ]]; then
same change 4ce39c0

[ACME] Add DIRECTORY_URL for custom directory URLs

Full commit hash
4ce39c0f3f598b64bb961202e173cdb33ee9411b
Author
andryyy <[email protected]>
Date
about 6 years ago
Selected line
40
    log_f "Cannot use DIRECTORY_URL with LE_STAGING=y - ignoring DIRECTORY_URL"
Open commit View diff
40 log_f "Cannot use DIRECTORY_URL with LE_STAGING=y - ignoring DIRECTORY_URL"
same change 4ce39c0

[ACME] Add DIRECTORY_URL for custom directory URLs

Full commit hash
4ce39c0f3f598b64bb961202e173cdb33ee9411b
Author
andryyy <[email protected]>
Date
about 6 years ago
Selected line
41
  fi
Open commit View diff
41 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
42
  log_f "Using Let's Encrypt staging servers"
Open commit View diff
42 log_f "Using Let's Encrypt staging servers"
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
43
  DIRECTORY_URL='--directory-url https://acme-staging-v02.api.letsencrypt.org/directory'
Open commit View diff
43 DIRECTORY_URL='--directory-url https://acme-staging-v02.api.letsencrypt.org/directory'
same change 4ce39c0

[ACME] Add DIRECTORY_URL for custom directory URLs

Full commit hash
4ce39c0f3f598b64bb961202e173cdb33ee9411b
Author
andryyy <[email protected]>
Date
about 6 years ago
Selected line
44
elif [[ ! -z "${DIRECTORY_URL}" ]]; then
Open commit View diff
44 elif [[ ! -z "${DIRECTORY_URL}" ]]; then
same change 4ce39c0

[ACME] Add DIRECTORY_URL for custom directory URLs

Full commit hash
4ce39c0f3f598b64bb961202e173cdb33ee9411b
Author
andryyy <[email protected]>
Date
about 6 years ago
Selected line
45
  log_f "Using custom directory URL ${DIRECTORY_URL}"
Open commit View diff
45 log_f "Using custom directory URL ${DIRECTORY_URL}"
andryyy about 6 years ago e40a0ea

[ACME] Fix directory URL

Full commit hash
e40a0eae0165f25d4bb288caef950f195c123e06
Author
andryyy <[email protected]>
Date
about 6 years ago
Selected line
46
  DIRECTORY_URL="--directory-url ${DIRECTORY_URL}"
Open commit View diff
46 DIRECTORY_URL="--directory-url ${DIRECTORY_URL}"
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
47
fi
Open commit View diff
47 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
48
Open commit View diff
48
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
if [[ -f ${DOMAINS_FILE} && "$(cat ${DOMAINS_FILE})" ==  "${CERT_DOMAINS[*]}" ]]; then
Open commit View diff
49 if [[ -f ${DOMAINS_FILE} && "$(cat ${DOMAINS_FILE})" == "${CERT_DOMAINS[*]}" ]]; 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
50
  if [[ ! -f ${CERT} || ! -f "${KEY}" || -f "${ACME_BASE}/force_renew" ]]; then
Open commit View diff
50 if [[ ! -f ${CERT} || ! -f "${KEY}" || -f "${ACME_BASE}/force_renew" ]]; then
same change 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
51
    log_f "Certificate ${CERT} doesn't exist yet or forced renewal - start obtaining"
Open commit View diff
51 log_f "Certificate ${CERT} doesn't exist yet or forced renewal - start obtaining"
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
52
  # Certificate exists and did not change but could be due for renewal (30 days)
Open commit View diff
52 # Certificate exists and did not change but could be due for renewal (30 days)
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
  elif ! openssl x509 -checkend 2592000 -noout -in ${CERT} > /dev/null; then
Open commit View diff
53 elif ! openssl x509 -checkend 2592000 -noout -in ${CERT} > /dev/null; 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
54
    log_f "Certificate ${CERT} is due for renewal (< 30 days) - start renewing"
Open commit View diff
54 log_f "Certificate ${CERT} is due for renewal (< 30 days) - start renewing"
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
  else
Open commit View diff
55 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
56
    log_f "Certificate ${CERT} validation done, neither changed nor due for renewal."
Open commit View diff
56 log_f "Certificate ${CERT} validation done, neither changed nor 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
57
    exit 2
Open commit View diff
57 exit 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
58
  fi
Open commit View diff
58 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
59
else
Open commit View diff
59 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
60
  log_f "Certificate ${CERT} missing or changed domains '${CERT_DOMAINS[*]}' - start obtaining"
Open commit View diff
60 log_f "Certificate ${CERT} missing or changed domains '${CERT_DOMAINS[*]}' - start obtaining"
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
fi
Open commit View diff
61 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
62
Open commit View diff
62
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
Open commit View diff
63
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
# Make backup
Open commit View diff
64 # Make backup
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
if [[ -f ${CERT} ]]; then
Open commit View diff
65 if [[ -f ${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
66
  DATE=$(date +%Y-%m-%d_%H_%M_%S)
Open commit View diff
66 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
67
  BACKUP_DIR=${ACME_BASE}/backups/${CERT_DOMAIN}/${PREFIX}${DATE}
Open commit View diff
67 BACKUP_DIR=${ACME_BASE}/backups/${CERT_DOMAIN}/${PREFIX}${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
68
  log_f "Creating backups in ${BACKUP_DIR} ..."
Open commit View diff
68 log_f "Creating backups in ${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
69
  mkdir -p ${BACKUP_DIR}/
Open commit View diff
69 mkdir -p ${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
70
  [[ -f ${DOMAINS_FILE} ]] && cp ${DOMAINS_FILE} ${BACKUP_DIR}/
Open commit View diff
70 [[ -f ${DOMAINS_FILE} ]] && cp ${DOMAINS_FILE} ${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
71
  [[ -f ${CERT} ]] && cp ${CERT} ${BACKUP_DIR}/
Open commit View diff
71 [[ -f ${CERT} ]] && cp ${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
72
  [[ -f ${KEY} ]] && cp ${KEY} ${BACKUP_DIR}/
Open commit View diff
72 [[ -f ${KEY} ]] && cp ${KEY} ${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
73
  [[ -f ${CSR} ]] && cp ${CSR} ${BACKUP_DIR}/
Open commit View diff
73 [[ -f ${CSR} ]] && cp ${CSR} ${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
74
fi
Open commit View diff
74 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
75
Open commit View diff
75
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
76
mkdir -p ${ACME_BASE}/${CERT_DOMAIN}
Open commit View diff
76 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
77
if [[ ! -f ${KEY} ]]; then
Open commit View diff
77 if [[ ! -f ${KEY} ]]; 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
78
  log_f "Copying shared private key for this certificate..."
Open commit View diff
78 log_f "Copying shared private key for this 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
79
  cp ${SHARED_KEY} ${KEY}
Open commit View diff
79 cp ${SHARED_KEY} ${KEY}
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
80
  chmod 600 ${KEY}
Open commit View diff
80 chmod 600 ${KEY}
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
81
fi
Open commit View diff
81 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
82
Open commit View diff
82
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
83
# Generating CSR
Open commit View diff
83 # Generating 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
84
printf "[SAN]\nsubjectAltName=" > /tmp/_SAN
Open commit View diff
84 printf "[SAN]\nsubjectAltName=" > /tmp/_SAN
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
85
printf "DNS:%s," "${CERT_DOMAINS[@]}" >> /tmp/_SAN
Open commit View diff
85 printf "DNS:%s," "${CERT_DOMAINS[@]}" >> /tmp/_SAN
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
86
sed -i '$s/,$//' /tmp/_SAN
Open commit View diff
86 sed -i '$s/,$//' /tmp/_SAN
Niklas Meyer over 4 years ago 1e6f927

[Config (Clamd)] Update SSL Path to new style (dynamic)

Full commit hash
1e6f927ac5c58cc7fbd4a8d25ae63535333ad92b
Author
Niklas Meyer <[email protected]>
Date
over 4 years ago
Selected line
87
openssl req -new -sha256 -key ${KEY} -subj "/" -reqexts SAN -config <(cat "$(openssl version -d | sed 's/.*"\(.*\)"/\1/g')/openssl.cnf" /tmp/_SAN) > ${CSR}
Open commit View diff
87 openssl req -new -sha256 -key ${KEY} -subj "/" -reqexts SAN -config <(cat "$(openssl version -d | sed 's/.*"\(.*\)"/\1/g')/openssl.cnf" /tmp/_SAN) > ${CSR}
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
Open commit View diff
88
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
# acme-tiny writes info to stderr and ceritifcate to stdout
Open commit View diff
89 # acme-tiny writes info to stderr and ceritifcate to stdout
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
# The redirects will do the following:
Open commit View diff
90 # The redirects will do the following:
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
# - redirect stdout to temp certificate file
Open commit View diff
91 # - redirect stdout to temp certificate file
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
# - redirect acme-tiny stderr to stdout (logs to variable ACME_RESPONSE)
Open commit View diff
92 # - redirect acme-tiny stderr to stdout (logs to variable ACME_RESPONSE)
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
# - tee stderr to get live output and log to dockerd
Open commit View diff
93 # - tee stderr to get live output and log to dockerd
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
94
Open commit View diff
94
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
95
log_f "Checking resolver..."
Open commit View diff
95 log_f "Checking 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
96
until dig letsencrypt.org +time=3 +tries=1 @unbound > /dev/null; do
Open commit View diff
96 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
97
  sleep 2
Open commit View diff
97 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
98
done
Open commit View diff
98 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
99
log_f "Resolver OK"
Open commit View diff
99 log_f "Resolver OK"
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
100
log_f "Using command acme-tiny ${DIRECTORY_URL} --account-key ${ACME_BASE}/acme/account.pem --disable-check --csr ${CSR} --acme-dir /var/www/acme/"
Open commit View diff
100 log_f "Using command acme-tiny ${DIRECTORY_URL} --account-key ${ACME_BASE}/acme/account.pem --disable-check --csr ${CSR} --acme-dir /var/www/acme/"
same change ec6dbb0

[ACME] Remove deprecated ACME_CONTACT variable

Full commit hash
ec6dbb099aa4ae559b10217906a62da694c6f182
Author
FreddleSpl0it <[email protected]>
Date
about 1 year ago
Selected line
101
ACME_RESPONSE=$(acme-tiny ${DIRECTORY_URL} \
Open commit View diff
101 ACME_RESPONSE=$(acme-tiny ${DIRECTORY_URL} \
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
102
  --account-key ${ACME_BASE}/acme/account.pem \
Open commit View diff
102 --account-key ${ACME_BASE}/acme/account.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
103
  --disable-check \
Open commit View diff
103 --disable-check \
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
  --csr ${CSR} \
Open commit View diff
104 --csr ${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
105
  --acme-dir /var/www/acme/ 2>&1 > /tmp/_cert.pem | tee /dev/fd/5; exit ${PIPESTATUS[0]})
Open commit View diff
105 --acme-dir /var/www/acme/ 2>&1 > /tmp/_cert.pem | tee /dev/fd/5; exit ${PIPESTATUS[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
106
SUCCESS="$?"
Open commit View diff
106 SUCCESS="$?"
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
107
ACME_RESPONSE_B64=$(echo "${ACME_RESPONSE}" | openssl enc -e -A -base64)
Open commit View diff
107 ACME_RESPONSE_B64=$(echo "${ACME_RESPONSE}" | openssl enc -e -A -base64)
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 "${ACME_RESPONSE_B64}" redis_only b64
Open commit View diff
108 log_f "${ACME_RESPONSE_B64}" redis_only b64
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
case "$SUCCESS" in
Open commit View diff
109 case "$SUCCESS" 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
110
  0) # cert requested
Open commit View diff
110 0) # cert requested
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 "Deploying certificate ${CERT}..."
Open commit View diff
111 log_f "Deploying certificate ${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
112
    # Deploy the new certificate and key
Open commit View diff
112 # Deploy the new certificate and key
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
    # Moving temp cert to {domain} folder
Open commit View diff
113 # Moving temp cert to {domain} folder
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
    if verify_hash_match /tmp/_cert.pem ${KEY}; then
Open commit View diff
114 if verify_hash_match /tmp/_cert.pem ${KEY}; 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
115
      RETURN=0  # certificate created
Open commit View diff
115 RETURN=0 # certificate created
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
      if [[ -f ${CERT} ]]; then
Open commit View diff
116 if [[ -f ${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
117
        RETURN=1  # certificate renewed
Open commit View diff
117 RETURN=1 # certificate renewed
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
Open commit View diff
118 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
      mv -f /tmp/_cert.pem ${CERT}
Open commit View diff
119 mv -f /tmp/_cert.pem ${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
120
      echo -n ${CERT_DOMAINS[*]} > ${DOMAINS_FILE}
Open commit View diff
120 echo -n ${CERT_DOMAINS[*]} > ${DOMAINS_FILE}
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
      rm /var/www/acme/* 2> /dev/null
Open commit View diff
121 rm /var/www/acme/* 2> /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
122
      log_f "Certificate successfully obtained"
Open commit View diff
122 log_f "Certificate successfully obtained"
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
      exit ${RETURN}
Open commit View diff
123 exit ${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
124
    else
Open commit View diff
124 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
125
      log_f "Certificate was successfully requested, but key and certificate have non-matching hashes, ignoring certificate"
Open commit View diff
125 log_f "Certificate was successfully requested, but key and certificate have non-matching hashes, ignoring 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
126
      exit 4
Open commit View diff
126 exit 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
127
    fi
Open commit View diff
127 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
128
    ;;
Open commit View diff
128 ;;
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
  *) # non-zero is non-fun
Open commit View diff
129 *) # non-zero is non-fun
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
    log_f "Failed to obtain certificate ${CERT} for domains '${CERT_DOMAINS[*]}'"
Open commit View diff
130 log_f "Failed to obtain certificate ${CERT} for domains '${CERT_DOMAINS[*]}'"
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
131
    redis-cli -h redis -a ${REDISPASS} --no-auth-warning SET ACME_FAIL_TIME "$(date +%s)"
Open commit View diff
131 redis-cli -h redis -a ${REDISPASS} --no-auth-warning SET ACME_FAIL_TIME "$(date +%s)"
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
132
    exit 100${SUCCESS}
Open commit View diff
132 exit 100${SUCCESS}
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
    ;;
Open commit View diff
133 ;;
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
esac
Open commit View diff
134 esac