From: Jean-Marc Pigeon Date: Sat, 15 Nov 2025 14:46:26 +0000 (-0500) Subject: Adjusting certificate insertion X-Git-Tag: tag-0.17~15 X-Git-Url: https://jmp-git.ovh.safe.ca/?a=commitdiff_plain;h=f1d4283277915f07b0ad2bbdca261f1366a04ed7;p=jmp%2Fmailleur Adjusting certificate insertion --- 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 }