Forum Discussion
pkcs12_import_from_file_v2 throwing 'Internal Error'
I am trying to update the certificate for the management gui via Management/KeyCertificate::pkcs12_import_from_file_v2() and sometimes it works, but most of the time I get the following error:
Exception caught in Management::urn:iControl:Management/KeyCertificate::pkcs12_import_from_file_v2()
Internal Error; connection not set and no session from which to get it
Here is the xml being sent
MANAGEMENT_MODE_WEBSERVER
server
/var/tmp/foo.p12
foo
STYPE_NORMAL
true
Here is the response:
SOAP-ENV:Server
Exception caught in Management::urn:iControl:Management/KeyCertificate::pkcs12_import_from_file_v2()
Internal Error; connection not set and no session from which to get it
I've verified that the p12 is good by decrypting/examining it using openssl pkcs12 I've also verified that the p12 file has the proper permissions to be read. It works once in great while for some unknown reason but mostly just fails.
Has anyone run into this? I'm running 11.5.2 HF1 This also happened on 11.5.1 HF8
1 Reply
- uchi_122495
Cirrus
Hi kman.
I had a same problem, and I had asked our technical support. They said it's a bug on v11.5.x. And if you don't need to set
, workaround is to useSecurityType
instead ofpkcs12_import_from_file
.pkcs12_import_from_file_v2
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