Skip to content

Commit 6b3f93b

Browse files
committed
fix #167: Fix SSLDIR var.
1 parent b8469f1 commit 6b3f93b

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

debian/changelog

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
linuxmuster-base7 (7.2.18-0) lmn72; urgency=low
2+
3+
* fix #167: Fix SSLDIR var.
4+
5+
-- Thomas Schmitt <thomas@linuxmuster.net> Wed, 25 Jun 2025 10:29:21 +0200
6+
17
linuxmuster-base7 (7.2.17-0) lmn72; urgency=low
28

39
* fix #164: server cert is not created, if servername is not server.

lib/functions.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# functions.py
44
#
55
# thomas@linuxmuster.net
6-
# 20250531
6+
# 20250625
77
#
88

99
from subprocess import Popen, PIPE
@@ -544,9 +544,9 @@ def createServerCert(item, days, logfile):
544544
keyfile = constants.SSLDIR + '/' + item + '.key.pem'
545545
certfile = constants.SSLDIR + '/' + item + '.cert.pem'
546546
if item == 'firewall':
547-
cnffile = environment.SSLDIR + '/' + item + '_cert_ext.cnf'
547+
cnffile = constants.SSLDIR + '/' + item + '_cert_ext.cnf'
548548
else:
549-
cnffile = environment.SSLDIR + '/server_cert_ext.cnf'
549+
cnffile = constants.SSLDIR + '/server_cert_ext.cnf'
550550
fullchain = constants.SSLDIR + '/' + item + '.fullchain.pem'
551551
subj = '-subj /CN=' + fqdn + '/'
552552
shadays = ' -sha256 -days ' + days

0 commit comments

Comments
 (0)