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
Server is added by using the IP address or by hostname without a valid certificate
Plesk URL used to connect server is not secured by a valid certificate.
Make sure to connect Plesk using a valid secured domain name.
If it is needed, Plesk URL might be secured with a valid certificate by following the instructions from the article below:
How to secure a Plesk hostname on port 8443 with an SSL certificate (Let's Encrypt / other certificate authorities)