Forum Discussion

mgamez_60648's avatar
mgamez_60648
Icon for Nimbostratus rankNimbostratus
Aug 30, 2013

How to obtain ssl client profile from a virtual server?

There does not seem to be a get_ssl_profile or something similar under LocalLB.VirtualServer. Does anyone know how to get the profile name that is assigned to a VIP?

 

3 Replies

  • LocalLB.VirtualServer.get_profile is the one you are looking for. It will list all profiles assigned to that virtual.

     

  • PHP sample code - Example

     

    $wsdlVS="https://$hostname/iControl/iControlPortal.cgi?WSDL=LocalLB.VirtualServer";
        $client = new SoapClient($wsdlVS,array('location'=>$location,'login'=>$username,'password'=>$password));
        $virtual_list=$client->get_list();
        $virtual_profile=$client->get_profile($virtual_list);
        // raw result table display
        print_r($virtual_profil);
  • LocalLB.VirtualServer.get_profile works... In case of SSL profile, following will be the type : PROFILE_TYPE_CLIENT_SSL