Forum Discussion

Alex_Nimo_26616's avatar
Alex_Nimo_26616
Icon for Altocumulus rankAltocumulus
May 02, 2018

Append a SSL profile to VS using python SDK

Hi,

 

I'm trying to append a client ssl profile to a VS using the python SDK. So far I've tried various methods, which should work according to the documentation but they all fail. The last method I've tried:

 

ssl_prof = mgmt.tm.ltm.profile.client_ssls.client_ssl.load(name='some_ssl_profile')vs = mgmt.tm.ltm.virtuals.virtual.load(name='my_vs)vs.profiles = ssl_profvs.profiles.update()

 

I receive the following error message:

 

cert-key-chain and profile cert, key or chain options cannot be specified together.

 

There is no problem assigning the profile manually.

 

Any ideas how can I assign or append client ssl profile to a VS?

 

No RepliesBe the first to reply