File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,8 @@ if [ ! -e "$FIRST_START_DONE" ]; then
4747 /sbin/ssl-helper " /container/service/slapd/assets/certs/$LDAP_CRT " " /container/service/slapd/assets/certs/$LDAP_KEY " --ca-crt=/container/service/slapd/assets/certs/$CA_CRT --gnutls
4848
4949 # create DHParamFile if not found
50- [ -f /container/service/slapd/assets/certs/dhparam.pem ] || openssl dhparam -out /container/service/slapd/assets/certs/dhparam.pem 2048
50+ [ -f /container/service/slapd/assets/certs/dhparam.pem ] || certtool --generate-dh-param --sec-param=high --outfile=/container/service/slapd/assets/certs/dhparam.pem
51+ chmod 600 /container/service/slapd/assets/certs/dhparam.pem
5152
5253 # fix file permissions
5354 chown -R openldap:openldap /container/service/slapd
You can’t perform that action at this time.
0 commit comments