Unable to add a server to Plesk 360 with one of the errors below:
PLESK_ERROR: The server has an invalid certificate
PLESK_ERROR: Hostname/IP does not match certificate's altnames
PLESK_ERROR: A self-signed certificate is installed
PLESK_ERROR: The certificate has expired
The hostname without a valid certificate or the IP address (i.e.
https://126.96.36.199:8443) is used to connect the server to Plesk 360
Plesk URL used to connect the server is not secured by a valid certificate.
Warning: The IP address can not be secured by a certificate in Plesk.
Check if any related hostname is secured with an existing certificate under Tools & Settings > SSL/TLS certificates > Certificate for securing Plesk.
If the certificate is presented and valid, use the related hostname:
https://server.hostname.com:8443on adding the server to Plesk 360
- access the Plesk UI via
https://server.hostname.com:8443and add the server to Plesk 360 from there
If there is no valid certificate, use the below article to secure Plesk URL:
How to secure a Plesk hostname on port 8443 with an SSL certificate (Let's Encrypt / other certificate authorities)