Use the getSSLOptions API to retrieve settings on the encrypted HTTPS connection.
 
########====CDP Server Configuration Start====########
#set CDP server host name
$HOST="10.230.131.25";
#set CDP server to access API
$PORT="9443";
#set CDP user
$USER="admin";
#set CDP user password
$PASS="admin";
########====CDP Server Configuration End====########
#Retrieve settings on the encrypted HTTPS connection.
try{
	$client = new soapclient("https://$HOST:$PORT/Configuration?wsdl",
		array('login'=>"$USER",
		'password'=>"$PASS",
		'trace'=>1
		)
	);
	$response=$client->getSSLOptions() ;
	var_dump($response);
}
catch (SoapFault $exception)
{
	echo $exception;
}
echo "Successfully executed getSSLOptions\n";
exit(0);
}
 
 
        
        
            Labels:
        
        
            
                None
            
            
                            
                    
        
        
    