Mutual authentication & null cert chain exception
Hi,
I am conteniously recieving "null cert chain" error. When my ssl enabled client mutually authenticate with ssl enabled server. The server refuse to accept client whose certificate is saved as a 'trustedCertEntry' in server's key store. The server throws "null cert chain" exception.
When I run the same client/server by setting setClientAuthentication(false) then both works very well.
The process I had followed is as follows:
- Create a key store for client
- Create a key store for server
- Create a key for client
- Create a key for server
- Export client key
- Export server key
- Import key of server as 'trustedcacert' in client
- Import key of client as 'trustedcacert' in server
- Run Client & Server
Any ideas whats wrong in it ???
Thanx in advance,
Humayun.
|