• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • Our UX team believes in the in the power of direct feedback and would like to invite you to participate in interviews, tests, and surveys.
    To stay in the loop and never miss an opportunity to share your thoughts, please subscribe to our UX research program. If you were previously part of the Plesk UX research program, please re-subscribe to continue receiving our invitations.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Question DHPARAM created but not saved

Servus

Basic Pleskian
Hi at all,
in order to create and use dhparams I followed the article and related ones.
Another guy asked the same but there is no answer.
Everything works fine in tty/shell and a also over cron task. Only one thing is different.
The four .pems are created and replaced by new ones, but the content is not saved.
and by weekly cron task the four .pem(s) get chmod 600 (rw------) instead chmod 644 (rw-r-r--).

On 10-02-2018 two weeks ago I reinstalled Ubuntu 18.04.1 LTS image with Plesk 17.8.11 as provider package. Made the necessary changes in plesk panel editor in order to use 4096.pem by Letsencrypt. The last two weeks after creating the 4 pems, I had to copy the content from tty or the green popup window in plesk panel/cron task and then pasting+saving it in the new created but empty files in /etc/dhparam.
Finally I changed them (also) manually to chmod 644.

Could you please help me that the new created certificate code will be saved in the file like usual and that they get the correct chmod 644 instead 600 also by weekly cron task.

Automatically created by script and ran by /usr/local/sbin/gen_dhparam
Code:
ll /etc/dhparam
total 32
drwxr-xr-x   2 root root  4096 Oct 14 18:23 ./
drwxr-xr-x 125 root root 12288 Oct 15 11:35 ../
-rw-------   1 root root   0 Oct 14 18:27 dhparam1024.pem
-rw-------   1 root root   0 Oct 14 18:29 dhparam2048.pem
-rw-------   1 root root   0 Oct 14 18:31 dhparam4096.pem
-rw-------   1 root root   0 Oct 14 18:26 dhparam512.pem

After copy & paste manually by myself
Code:
# ll /etc/dhparam
total 32
drwxr-xr-x   2 root root  4096 Oct 14 18:23 ./
drwxr-xr-x 125 root root 12288 Oct 15 11:35 ../
-rw-r--r--   1 root root   244 Oct 14 18:27 dhparam1024.pem
-rw-r--r--   1 root root   423 Oct 14 18:29 dhparam2048.pem
-rw-r--r--   1 root root   768 Oct 14 18:31 dhparam4096.pem
-rw-r--r--   1 root root   155 Oct 14 18:26 dhparam512.pem
 
Back
Top