IntelliJ Java IDE
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
Register / Login
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Reply 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
Greenhorn

Joined: Aug 19, 2011
Posts: 18
If certificates are from from same CA then it should work.
 
 
subject: Self Signed CA Certificate with Keytool and Client Certificate with BouncyCastle
 
Threads others viewed
Importing certificate into keystore.
SSL in JAVA
Certificate chaining error: issuer DN != subject DN
Second Factor Authentication Solution
Applets, SSL Sockets, and Certificates
developer file tools