Forum Discussion

Chris_Olson_172's avatar
Chris_Olson_172
Icon for Nimbostratus rankNimbostratus
Jan 29, 2018

apply server side ssl profile per CLI

Can't seem to find a straight answer on applying profiles. I have the existing profiles on a server. profiles { Http_compression { } Http_compression-compression_new { } perf-123.456.78.xx { context clientside } tcp { } } I want to add a server side SSL profile. Can I simply add it to the existing profiles as shown below or do I have to include ALL existing profiles in the command?

tmsh mod ltm virtual example_443 profiles add {QA_serverside_SSL}

If I must include all existing profiles along with the new one in the command, what is the syntax required to include the context; either clientside or serverside? 

1 Reply

  • The client/server side of each profile is part of the profile type and so doesn't need to be assigned when applying to a Virtual Server but you can define the context following each profile.

    For example:

    tmsh modify ltm virtual example_443 profiles add { QA_serverside_SSL { context serverside } }
    

    But you can simple add the Server SSL profile to your VS as you stated and it working:

    tmsh modify ltm virtual example_443 profiles add {QA_serverside_SSL}