• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

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