Forum Discussion
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 });
- shadab_8933NimbostratusI figured it out. I had to use file names "/config/ssl/ssl.key/FromCode.key" & "/config/ssl/ssl.crt/FromCode.crt" in key.value and cert.value fields.
Recent Discussions
Related Content
* 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