An error occurred importing the key pair file

  • 7012395
  • 09-May-2013
  • 15-May-2013

Environment

Novell Filr 1.0

Situation

  • Adding Chain certificate to Filr.
  • Key pair is not in a p12 format.
  • Attempting to import key pair into Digital Certificates section for the Web Application and getting error: "An error occurred importing the key pair file.  See server logs for details.".
  • The Jetty.log may show something like:

    2013-05-09 13:31:50.763:WARN:oejs.ServletHandler:/vaconfig/keypairs/Jetty/cert
    com.novell.admin.common.server.datamodel.beans.DataModelException: Unable to import key pair for alias: certalias
    at com.novell.admin.common.server.datamodel.services.impl.KeyStoreManagerImpl.importKeyPair(KeyStoreManagerImpl.java:442)
        ...
    Caused by:
    java.io.IOException: stream does not represent a PKCS12 key store
    at org.bouncycastle.jce.provider.JDKPKCS12KeyStore.engineLoad(Unknown Source)
       ...
    at java.lang.Thread.run(Thread.java:780)

Resolution

Import the key pair in a p12 format.

Status

Reported to Engineering

Additional Information

Development has been asked to help make the error more specific and helpful into guiding users to user the correct cert format.