Cause

Some Plesk API were closed from accessing because of the GDPR. As a result, the way to change settings for Plesk KA access was affected.

Resolution

In the Cloud Infrastructure 17.13, to apply the new settings for Plesk KA, you need to perform the following requests to APS:

  1. Log in to the Management Node via SSH.
  2. To get the current settings for KA, send the following request:

    curl -k -E /usr/local/pem/APS/certificates/poa.pem 'https://127.0.0.1:6308/aps/2/resources/?implementing(http://www.parallels.com/aps/plesk/cloud)'
    

    As a result, you will get Plesk cloud resource id. Write it down.

  3. Now apply the new settings by sending the following request:

    curl -D - -k -E /usr/local/pem/APS/certificates/poa.pem 'https://127.0.0.1:6308/aps/2/resources/[PLESK_CLOUD_ID]' -X PUT -d @- << EOF 
    {
            "clientId": "your-clientId",
            "customKAServer": "ka-server-address:port",
            "enabled": true,
            "kaApiLogin": "ka-login",
            "kaApiPassword": "ka-password",
            "useCustomKAServer": true
    }
    EOF
    

    where PLESK_CLOUD_ID – Plesk cloud resource id which you have received in the previous step.

    Please make sure that the ka-server-address url should be without http:// part.

Now your settings for Plesk KA access are updated.

Internal content