mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-08-04 18:15:29 +02:00
v10.0.0 release (#1978)
* chore: prepare v10 release * chore: bump version to v10.0.0 * chore: bump version to v10.0.0 * chore: add changelog for v10.0.0 * Fail2ban compatibility/downgrade info added * chore: add PR and PR links * fix a dot in the README * chore: add pr 1996 * chore: add pr 1921 and 1989 * Revert "chore: add pr 1996" This reverts commit58a8ba4b44
. * chore: add grace_period pr reference * remove :stable and other deprecated stuff * corrected linting and removed generate ssl bin * updated CHANGELOG * fix: list of prs Co-authored-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com> * fix: list of prs Co-authored-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com> * Update CHANGELOG.md Co-authored-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com> * Update CHANGELOG.md Co-authored-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com> * Update CHANGELOG.md Co-authored-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com> * Update CHANGELOG.md Co-authored-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com> * partial revert ofdc8f49de54
* chore: add pr 2021 Co-authored-by: Casper <casperklein@users.noreply.github.com> Co-authored-by: Georg Lauterbach <44545919+aendeavor@users.noreply.github.com> Co-authored-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com>
This commit is contained in:
parent
2a08385578
commit
a0f4a37512
7 changed files with 66 additions and 69 deletions
|
@ -1,32 +0,0 @@
|
|||
#! /bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
# check if FQDN was passed as arguement in setup.sh
|
||||
if [[ -z ${1} ]]
|
||||
then
|
||||
FQDN="$(hostname --fqdn)"
|
||||
else
|
||||
FQDN="${1}"
|
||||
fi
|
||||
|
||||
SSL_CFG_PATH="/tmp/docker-mailserver/ssl"
|
||||
|
||||
if [[ ! -d ${SSL_CFG_PATH} ]]
|
||||
then
|
||||
mkdir --parents "${SSL_CFG_PATH}"
|
||||
fi
|
||||
|
||||
cd "${SSL_CFG_PATH}" || { echo "cd ${SSL_CFG_PATH} error" ; exit ; }
|
||||
|
||||
# Create CA certificate
|
||||
/usr/lib/ssl/misc/CA.pl -newca
|
||||
|
||||
# Create an unpassworded private key and create an unsigned public key certificate
|
||||
openssl req -new -nodes -keyout "${SSL_CFG_PATH}"/"${FQDN}"-key.pem -out "${SSL_CFG_PATH}"/"${FQDN}"-req.pem -days 3652
|
||||
|
||||
# Sign the public key certificate with CA certificate
|
||||
openssl ca -out "${SSL_CFG_PATH}"/"${FQDN}"-cert.pem -infiles "${SSL_CFG_PATH}"/"${FQDN}"-req.pem
|
||||
|
||||
# Combine certificates for courier
|
||||
cat "${SSL_CFG_PATH}"/"${FQDN}"-key.pem "${SSL_CFG_PATH}"/"${FQDN}"-cert.pem > "${SSL_CFG_PATH}"/"${FQDN}"-combined.pem
|
Loading…
Add table
Add a link
Reference in a new issue