summaryrefslogtreecommitdiffstats
path: root/2.4/docker-entrypoint.sh
diff options
context:
space:
mode:
Diffstat (limited to '2.4/docker-entrypoint.sh')
-rwxr-xr-x2.4/docker-entrypoint.sh2
1 files changed, 0 insertions, 2 deletions
diff --git a/2.4/docker-entrypoint.sh b/2.4/docker-entrypoint.sh
index 8531931..5840b23 100755
--- a/2.4/docker-entrypoint.sh
+++ b/2.4/docker-entrypoint.sh
@@ -80,10 +80,8 @@ if [ "${SSL_CERT:-none}" = "selfsigned" ]; then
# Generate self-signed SSL certificate.
# If SERVER_NAMES is given, use the first domain as the Common Name.
if [ ! -e /privkey.pem ] || [ ! -e /cert.pem ]; then
- apk add --no-cache openssl
openssl req -x509 -newkey rsa:2048 -days 1000 -nodes \
-keyout /privkey.pem -out /cert.pem -subj "/CN=${SERVER_NAME:-selfsigned}"
- apk del --no-cache openssl
fi
fi