1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Plesk API RPC with crypted pass login

Discussion in 'Plesk 9.x for Linux Issues, Fixes, How-To' started by bob231, Jul 12, 2010.

  1. bob231

    bob231 Basic Pleskian

    26
    57%
    Joined:
    Jan 4, 2008
    Messages:
    63
    Likes Received:
    0
    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>
     
  2. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,564
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    Password can be specified only as plain text in Plesk API RPC.
     
  3. bob231

    bob231 Basic Pleskian

    26
    57%
    Joined:
    Jan 4, 2008
    Messages:
    63
    Likes Received:
    0
    That is a pity.
    Can this option be requested for new plesk releases?
     
Loading...