Forum Discussion

Ian_McKenna_113's avatar
Ian_McKenna_113
Icon for Nimbostratus rankNimbostratus
Jul 19, 2006

How to change SSL Clients and SSL Server Profiles an a Virtual Server

Hi Joe,

 

sorry to bother you again. But I have no clue how to

 

change the ssl client and server clients on a virtual server.

 

All the interfaces I could find where not related to the

 

SSL Clients and servers.

 

Could you put me on the right way.

 

 

Thanks

 

 

Ian

 

1 Reply

  • Here are the relevant methods. This method is overloaded for several profiles that don't have explicit methods in the SDK.

    
    enum ProfileContextType {
      PROFILE_CONTEXT_TYPE_ALL,
      PROFILE_CONTEXT_TYPE_CLIENT,
      PROFILE_CONTEXT_TYPE_SERVER,
    };
    struct VirtualServerProfile {
      ProfileContextType profile_context,
      String profile_name
    };
    void LocalLB::VirtualServer::add_profile(
        in String[] virtual_servers,
        in VirtualServerProfile[][] profiles
    );

    For a clientside ssl profile, call the LocalLB::VirtualServer::add_profile method with the PROFILE_CONTEXT_TYPE_CLIENT enum and your clientssl profile name.

    For a serverside profile, pass in PROFILE_CONTEXT_TYPE_SERVER with your serverssl profile name.

    Cheers!

    -Joe