Forum Discussion
Management::KeyCertificate::get_certificate_list_v2 - unknown type CurveName?
I'm trying to get a list of certificates from BigIPs running v11.5.2 & v11.5.3, and I'm getting this error in the SOAP return value:
Unrecognized type '{urn:iControl}Management.KeyCertificate.CurveName'
Using Perl, the code is basically:
$response = $soap->get_certificate_list_v2(SOAP::Data->name(mode => "MANAGEMENT_MODE_DEFAULT"));
where $soap is a successfully created 'Management/KeyCertificate' object.
Looking at the docs, Management.KeyCertificate.CurveName is an enum introduced in 11.5.0, so why I am getting this "unknown type" error?
(For devices prior to v11.5 I use $soap->get_certificate_list(SOAP::Data->name(mode => "MANAGEMENT_MODE_DEFAULT")) and that works fine.)
Thanks!
2 Replies
- Des_Herriott_21
Nimbostratus
Okay, I think I figured it out. I need to add this to my copy of iControlTypeCast.pm:
*** 113,118 **** --- 113,119 ---- "{urn:iControl}Management.KeyCertificate.ManagementModeType" => 1, "{urn:iControl}Management.KeyCertificate.SecurityType" => 1, "{urn:iControl}Management.KeyCertificate.ValidityType" => 1, + "{urn:iControl}Management.KeyCertificate.CurveName" => 1, "{urn:iControl}Management.SNMPConfiguration.AuthType" => 1, "{urn:iControl}Management.SNMPConfiguration.DiskCheckType" => 1, "{urn:iControl}Management.SNMPConfiguration.LevelType" => 1,I couldn't find a copy of iControlTypeCast.pm specifically for 11.5+ - does such a thing exist anywhere?
- Nope. I'll have to go back and update the codeshare with the latest set of enums in the iControlTypeCast.pm. Thanks for the reminder! -Joe
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
