Novell is now a part of Micro Focus

Importing certificates with a Private Key

Novell Cool Solutions: Tip

Digg This - Slashdot This

Posted: 24 Aug 2005

A reader recently asked the following question about importing certificates:

"I want to import an external User Certificate with the Private Key to eDirectory. Is this possible? I was only able to do this without the Private Key."

And here's the reply from Forum participant C Perry:

We were able to do this by creating a .pfx file that contains the private key and the certificate. We ran this command to create the pfx:

openssl pkcs12 -clcerts -export -inkey MDC-SSL.key -in MDC-Star.crt - out NW.pfx

Here are the basic steps:

  1. Ask your certificate authority for their root level certificate in a pem file (we grabbed it out of ca-bundle.pem).
  2. Take the chain cert from Chain.crt.
  3. Take the private key from MDC-SSL.key.
  4. Take the HMDC Star cert from MDC-Star.crt.
  5. Combine into one file (in the order specified).
  6. Name the file SOMETHING.pem.
  7. Now run openssl on it:
    openssl pkcs12 -clcerts -export -in SOMETHING.pem -out SOMETHING.pfx
  8. Then import that SOMETHING.pfx through ConsoleOne.

Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions.

© Copyright Micro Focus or one of its affiliates