shadab_8933
Jun 29, 2011Nimbostratus
How to create clientSSLProfile
Hi,
I am trying to create clientSSL profile but am unable to do so. I am using LocalLBProfileClientSSL.Create(strring[] profileName, LocalLBProfileString[] key, LocalLBProfileString[] certificate) method. The error says "Could not find element by name: value"
Need help in figuring out how to use this API. Also I did not find any way of providing parent profile at the time of creation.
Here is the code snippet -
key.value =
"FromCode"; //Name of key & certificate shown in BigIP GUI
LocalLBProfileString
cert =
new
LocalLBProfileString
();
cert.value = "FromCode"; //Name of key & certificate shown in BigIP GUI
_interface.LocalLBProfileClientSSL.create(
new
string
[] {
"clientssl_fromcode_pr"
},
new
LocalLBProfileString
[] { key },
new
LocalLBProfileString
[] { cert });