One of the following errors appears on attempts to add the server to Plesk 360:
The token is invalid possibly because the server time differs from the world time
The token has expired due to a delay in adding or the server time differs from the world time.
The token has expired.
Unexpected error: JWT token is not signed by trusted issuer: https://platform360.io/.well-known/jwks.json
/var/log/plesk/panel.logwith debug one of the following errors is shown:
[2021-10-22 21:58:15.919] ERR [extension/platform360] Cannot handle token prior to 2021-10-22T21:58:21+0200
ERR [extension/platform360] Expired token
Due to the time difference on a server and https://platform360.io server token does not work properly.
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.