From f1d4283277915f07b0ad2bbdca261f1366a04ed7 Mon Sep 17 00:00:00 2001 From: Jean-Marc Pigeon Date: Sat, 15 Nov 2025 09:46:26 -0500 Subject: [PATCH] Adjusting certificate insertion --- support/do_httpd.sh | 4 ++-- support/starting.sh | 7 ------- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/support/do_httpd.sh b/support/do_httpd.sh index 482a3ee..2f1a532 100755 --- a/support/do_httpd.sh +++ b/support/do_httpd.sh @@ -72,8 +72,8 @@ SSLSessionCacheTimeout 300 #---------------------------------------------- #SSL SSLEngine On - SSLCertificateKeyFile /etc/$APPNAME/pki/$APPNAME-key.pem - SSLCertificateFile /etc/$APPNAME/pki/$APPNAME-cert.pem + SSLCertificateKeyFile /etc/pki/$APPNAME/$APPNAME-key.pem + SSLCertificateFile /etc/pki/$APPNAME/$APPNAME-cert.pem SSLProtocol +TLSv1.3 +TLSv1.2 SSLCompression OFF SSLHonorCipherOrder ON diff --git a/support/starting.sh b/support/starting.sh index 25001d0..4161303 100755 --- a/support/starting.sh +++ b/support/starting.sh @@ -197,13 +197,6 @@ if [ ! -f /etc/pki/$APPNAME/$APPNAME-cert.pem ] ; then chown $APPNAME:mail \ /etc/pki/$APPNAME/$APPNAME-cert.pem \ /etc/pki/$APPNAME/$APPNAME-key.pem - mkdir -p /etc/$APPNAME/pki/ - ln -s \ - /etc/pki/$APPNAME/$APPNAME-cert.pem \ - /etc/pki/$APPNAME/$APPNAME-cert.pem - ln -s \ - /etc/pki/$APPNAME/$APPNAME-key.pem \ - /etc/pki/$APPNAME/$APPNAME-key.pem sh_success $"Preparing $APPNAME server self-signed certificate" fi } -- 2.47.3