From cd25cd329da6ae09fb0e9fd3cba27fa663d68e5c Mon Sep 17 00:00:00 2001 From: Adrien Ferrand Date: Sun, 10 Mar 2019 20:58:06 +0100 Subject: [PATCH 1/2] Use a minimal passphrase of 4 characters to be accepted by newest versions of openssl --- files/entrypoint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files/entrypoint.sh b/files/entrypoint.sh index 777eaf5..4596222 100755 --- a/files/entrypoint.sh +++ b/files/entrypoint.sh @@ -72,8 +72,8 @@ if [ -f /firstrun ]; then if [ ! -e /etc/lighttpd/server.pem ]; then # Generate certificate file as needed cd /etc/lighttpd - openssl genrsa -des3 -passout pass:x -out server.pass.key 2048 - openssl rsa -passin pass:x -in server.pass.key -out server.key + openssl genrsa -des3 -passout pass:1234 -out server.pass.key 2048 + openssl rsa -passin pass:1234 -in server.pass.key -out server.key openssl req -new -key server.key -out server.csr \ -subj "/C=UK/ST=Warwickshire/L=Leamington/O=OrgName/OU=IT Department/CN=example.com" openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt From 07245b555896ade51a2dae6a8c62fe8e2522f7f2 Mon Sep 17 00:00:00 2001 From: Adrien Ferrand Date: Sun, 10 Mar 2019 20:59:57 +0100 Subject: [PATCH 2/2] Release version 4.3.0-5 --- CHANGELOG.md | 4 ++++ VERSION | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c1fe2a1..ecfc1ff 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +## [4.3.0-5] - 10/03/2019 +### Changed +* Use a passphrase of 4 characters (instead of 1) when generating self-signed certificates (`USE_SSL=true`) to be accepted by newest versions of OpenSSL. + ## [4.3.0-4] - 09/03/2019 ### Changed * Update Alpine base image to 3.9 diff --git a/VERSION b/VERSION index 566b07d..bff7d25 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -4.3.0-4 +4.3.0-5