From f25f6aa78dae12d03e8fd5415863aa038b467cc3 Mon Sep 17 00:00:00 2001 From: Christoph Date: Sun, 24 Dec 2017 17:12:03 +0100 Subject: [PATCH] Print message containing code for certificate/key and DH parameters file creation. --- install_pure-ftpd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install_pure-ftpd.sh b/install_pure-ftpd.sh index 0459e33..90d1a0a 100755 --- a/install_pure-ftpd.sh +++ b/install_pure-ftpd.sh @@ -283,7 +283,7 @@ else fi 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 echononl " (Re)start PureFTPd daemon (pure-ftpd)" if $systemd_exists ; then