For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

kman_52500's avatar
kman_52500
Icon for Nimbostratus rankNimbostratus
May 05, 2015

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

  • 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

    SecurityType
    , workaround is to use
    pkcs12_import_from_file
    instead of
    pkcs12_import_from_file_v2
    .