F5 is upgrading its customer support chat feature on My.F5.com. Chat support will be unavailable from 6am-10am PST on 1/20/26. Refer to K000159584 for details.

Forum Discussion

FrankC_30490's avatar
FrankC_30490
Icon for Nimbostratus rankNimbostratus
Dec 07, 2012

Import SSL certificate using iControl

Hello,

 

I am trying to import a pkcs12 certifcate backup using VB.net.

 

I am calling the method as follow

 

pkcs12_import_from_file(KeyMangement.ManagementKeyCertificateManagementModeType.MANAGEMENT_MODE_DEFAULT, {3}, {"c:\temp\cert.pfx", {"password"}, False)

 

I keep getting this error

 

 

{"Exception caught in Management::urn:iControl:Management/KeyCertificate::pkcs12_import_from_file()

 

Exception: Common::OperationFailed

 

primary_error_code : -17 (0xFFFFFFEF)

 

secondary_error_code : 0

 

error_string : Invalid filename. Filenames may only contain the following characters: [A-Za-z][0-9].-_/"}

 

 

I've seen some post related to this error but no one seem to have an answer.

 

 

Thanks