• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Plesk API RPC with crypted pass login

bob231

Basic Pleskian
Hello,

Im using the plesk API RPC to get serverinformation. This is woking fine.
But im not want to set the admin password in script or db, is there a solution to use it crypted/md5?

I read in a product brief from plesk 8.0 this was a new option, but still can found a description. Pls help.

<script>
define ('HOST', "$ip");

define ('PORT', 8443);

define ('PATH', 'enterprise/control/agent.php');



$url = 'https://' . HOST . ':' . PORT . '/' . PATH;



$headers = array(

'HTTP_AUTH_LOGIN: admin',

"HTTP_AUTH_PASSWD: $pass",

'Content-Type: text/xml'

);
</script>
 
Password can be specified only as plain text in Plesk API RPC.
 
Back
Top