This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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
Importing certificate into keystore.
Certificate chaining error: issuer DN != subject DN
SSL in JAVA
Second Factor Authentication Solution