Hi,

   I prefer the PKCS12 keystore type for certificates and private keys.
The PKCS12 keystore is supported by JDK, and you don't need to convert the
PKCS8 to JKS type (java only support JKS and PKCS12).

    Regards,

    HC

-----Original Message-----
From: "Eshwaramoorthy Babu" <[EMAIL PROTECTED]>
To: openssl-users@openssl.org
Date: Fri, 6 Oct 2006 17:20:21 +0400
Subject: https in java

> Hi,
> 
> I want to write a simple HTTPSClient and server using JAVA with server
> and
> client authentication.
> 
> I have the below certificate's and private key's for server and the
> client
> in PEM and PKCS8 format.
> 
> Root certificate : PEM format
> certificate : PEM format
> Private Key : PKCS8
> 
> Can we use PEM and PKCS8 format directly in JAVA? Do I have to do any
> format
> conversion to use the certificate and the keys in JAVA.
> 
> Can anyone help me in explaining the steps to write JAVA code for HTTPS
> using PEM format certificate and PKCS keys?
> 
> I would appreciate if you can steps me a sample code for the above.
> 
> 
> Thanks in Advance,
> Babu


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to