users@glassfish.java.net

Re: Alias name XXXX does not identify a key entry

From: Kumar Jayanti <v.b.kumar.jayanti_at_oracle.com>
Date: Thu, 2 Jun 2011 14:10:39 +0530

On 01-Jun-2011, at 10:41 PM, forums_at_java.net wrote:

> [quote]So do you have a PKCS12 file that contains the private key as well
> ?.[quote]
>
> I have the pem file, but I can't directly import it with the keytool. We
> used some SSL commands to convert it over to .cer files, but this is where
> we ran into trouble. How can we import the PEM file? I think it contains
> the private key if I'm not mistaken.

You can open (vi ) the PEM and see the content. If it has BEGIN CERTIFICATE then it is a cert file. if it has BEGIN PRIVATEKEY then it is a Private Key File.

let me know and then i can help..
>
>
>
> Thanks for your reply and any additional help you may offer.
>
>
> --
>
> [Message sent by forum member 'javamonkey79']
>
> View Post: http://forums.java.net/node/808033
>
>