• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue Let's enrypt doesn't create cert to secure plesk itself

TomBoB

Regular Pleskian
Hi,

CentOS 7, Pleask 12.5#43

all other server with identical config: working perfect; but one server exhibits the following:

log into plesk as admin, go to subscription matching the servers hostname [server4.owncompany.com], go to let's encrypt, renew cert with "use to secure plesk" ticked.
The cert for the domain [non 8443] is renewed, but the cert for securing plesk is not created. (doesn't show as an available cert under tools&settings / SSL).

Anyone in the forum with indepth knowledge of how the created domain cert is used to secure plesk as well?
Any log files I can check?

so far: have checked plesk.log and letsencrypt.log at /usr/local/psa/var/modules/letsencrypt/logs - none show any irregularity. Seems a plesk internal issue...?

ADDITION:
on server where it works:
- under subscription, server2.owncompany.com shows "Let's Encrypt server2.ownsompany.com" cert
- under tools&settings/SSL is shows "server2.owncompany.com"
confirmed by checking in the database. Both listed, with separate IDs.

on server where it doesn't work:
- under subscription, server4.owncompany.com shows "Let's Encrupt server4.owncompany.com" cert
- under tools&settings/SSL it shows no equivalent cert. Only a default.
confirmed by checking in the database. Only the subscription one listed.

It seems on the server having the issue, the function of "use to secure Plesk" isn't creating / not able to create the cert for Plesk.
 
Last edited:
Can you please provide the output of the following mysql commands from both working and non-working servers:

mysql> select cert_rep_id from domains where name like '%server2.ownsompany.com%';

mysql> select * from misc where param='cert_rep_id';
 
Hi,

on the working server I get
Code:
mysql> select cert_rep_id from domains where name like '%server2.ownsompany.com%';
+-------------+
| cert_rep_id |
+-------------+
|           8 |
+-------------+

mysql> select * from misc where param='cert_rep_id';
+-------------+------+
| param       | val  |
+-------------+------+
| cert_rep_id | 1    |
+-------------+------+
and on the server having the issue I get
Code:
mysql> select cert_rep_id from domains where name like '%server4.ownsompany.com%';
+-------------+
| cert_rep_id |
+-------------+
|          11 |
+-------------+

mysql> select * from misc where param='cert_rep_id';
+-------------+------+
| param       | val  |
+-------------+------+
| cert_rep_id | 1    |
+-------------+------+
 
Back
Top