One of the following errors appears on attempts to add the server to Plesk 360:
PLESK_ERROR: Unexpected error: JWT token is not signed by trusted issuer: https://platform360.io/.well-known/jwks.json
PLESK_ERROR: The token has expired.
/var/log/plesk/panel.logwith debug one of the following errors is shown:
CONFIG_TEXT: [2021-10-22 21:58:15.919] ERR [extension/platform360] Cannot handle token prior to 2021-10-22T21:58:21+0200
CONFIG_TEXT: ERR [extension/platform360] Expired token
Due to time difference on a server and https://platform360.io server token does not work properly.
The bug PAUX-4089 has been confirmed to adjust the error reporting.
Change time on the server to be synced with global time and enable synchronization:
Go to Tools & Settings > System Time
Set the timezone
Tick the checkbox Synchronize system time and specify the time server
Note: If the server is running Debian 10/Ubuntu 20/CentOS 8/AlmaLinux 8/RHEL 8 (that have a built-in
timesyncdcomponent) the section Network time does not appear. In that case, the time synchronization should be adjusted on the OS level.