Forum Discussion
andy_12_5042
Dec 29, 2010Nimbostratus
set ssl options in a client ssl profile
I have been trying to get this right but am missing something. The function will set the options check box but does not set the value? I had simialr issue with another function so I know it is because...
L4L7_53191
Dec 30, 2010Nimbostratus
Wierd. I just created a dummy client ssl profile named 'test' and pasted in your code. Worked fine:
In [100]: cpaste
Pasting code; enter '--' alone on the line to stop.
:opts = s.typefactory.create('LocalLB.ProfileSSLOption')
:option_list = s.typefactory.create('LocalLB.SSLOption')
:opts.values = [option_list.SSL_OPTION_EPHEMERAL_RSA]
:opts.default_flag =0
:s.set_ssl_option(['test'], options = [opts])
:--
In [101]: s.get_ssl_option(['test'])
Out[101]:
[(LocalLB.ProfileSSLOption){
values[] =
"SSL_OPTION_EPHEMERAL_RSA",
default_flag = False
}]
I also confirmed it shows up in the UI as you'd expect. At this point I'd turn on debug on the BigIP as well as pycontrol to see what may be going on.
-Matt
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