Print message containing code for certificate/key and DH parameters file creation.
This commit is contained in:
parent
a45b405e06
commit
f25f6aa78d
@ -283,7 +283,7 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ ! -f /etc/ssl/private/pure-ftpd.pem ]] && [[ ! -h /etc/ssl/private/pure-ftpd.pem ]]; then
|
if [[ ! -f /etc/ssl/private/pure-ftpd.pem ]] && [[ ! -h /etc/ssl/private/pure-ftpd.pem ]]; then
|
||||||
warn "No certificate/key for pure-ftpd is present (/etc/ssl/private/pure-ftpd.pem).\n pure.ftpd daemon will not start"
|
warn "No certificate/key for pure-ftpd is present (/etc/ssl/private/pure-ftpd.pem).\n pure.ftpd daemon will not start.\n\n Create Certificate and DH parameters file:\n openssl req -x509 -nodes -days 97300 -newkey rsa:2048 -keyout /etc/ssl/private/pure-ftpd.pem -out /etc/ssl/private/pure-ftpd.pem\n openssl dhparam -out /etc/ssl/private/pure-ftpd-dhparams.pem 2048\n\n Restart pure-ftpd service."
|
||||||
else
|
else
|
||||||
echononl " (Re)start PureFTPd daemon (pure-ftpd)"
|
echononl " (Re)start PureFTPd daemon (pure-ftpd)"
|
||||||
if $systemd_exists ; then
|
if $systemd_exists ; then
|
||||||
|
Loading…
Reference in New Issue
Block a user