aspose file tools*
The moose likes Sockets and Internet Protocols and the fly likes Self Signed CA Certificate with Keytool and Client Certificate with BouncyCastle Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Self Signed CA Certificate with Keytool and Client Certificate with BouncyCastle" Watch "Self Signed CA Certificate with Keytool and Client Certificate with BouncyCastle" New topic
Author

Self Signed CA Certificate with Keytool and Client Certificate with BouncyCastle

Amit Sutar
Greenhorn

Joined: Oct 16, 2007
Posts: 1
Hi All,

I just wanted to check that if i create a Server Certificate using Keytool command and then use this certificate to sign a CSR to create a client certificate (created using bouncycastle APIs).

Imported the CA Certificate in Client Truststore and imported the Client Certificate in Server TrustStore. and then configure tomcat to communicate using 2-way ssl certificate exchange.

Will it work? or will there be any communication/authentication issue when client-server try to communicate?

Please suggest.

Thanks in advance
Amit
Bharat Kasodariya
Ranch Hand

Joined: Aug 19, 2011
Posts: 36
If certificates are from from same CA then it should work.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Self Signed CA Certificate with Keytool and Client Certificate with BouncyCastle
 
Similar Threads
Applets, SSL Sockets, and Certificates
Second Factor Authentication Solution
Certificate chaining error: issuer DN != subject DN
SSL in JAVA
Importing certificate into keystore.