Forum Discussion
Alex_Nimo_26616
Jun 19, 2018Altocumulus
Attach SSL Profile to a VS with Python SDK
Hi,
I'm banging my head how to assign an existing ssl profile to an existing VS.
Tried various ways but non of them worked.
I always receive an error message like that:
Client SSL profile (/Commo...
Anesh
Jun 20, 2018Cirrostratus
try below, was tested on 12.1.3
>>> import requests
>>> requests.packages.urllib3.disable_warnings()
>>> from f5.bigip import ManagementRoot
>>> b = ManagementRoot('x.x.x.x', 'admin', 'admin', token=True)
>>> virtual = b.tm.ltm.virtuals.virtual.load(partition='Common', name='ubuntu_apache_HTTPS')
>>> p = virtual.profiles_s.profiles.create(partition='Common', name='ubunutu_clientssl')
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects