File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Sockets and Internet Protocols
Self Signed CA Certificate with Keytool and Client Certificate with BouncyCastle
Joined: Oct 16, 2007
Nov 03, 2011 10:37:07
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
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?
Thanks in advance
Joined: Aug 19, 2011
Nov 03, 2011 12:22:12
If certificates are from from same CA then it should work.
I agree. Here's the link:
subject: Self Signed CA Certificate with Keytool and Client Certificate with BouncyCastle
Certificate chaining error: issuer DN != subject DN
Importing certificate into keystore.
SSL in JAVA
Applets, SSL Sockets, and Certificates
Second Factor Authentication Solution
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014