Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > J2EE
|
J2EE General J2EE (Java 2 Enterprise Edition) discussions. Questions not specific to EE will be redirected elsewhere.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the J2EE section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 3rd, 2004, 01:35 AM
Registered User
 
Join Date: Sep 2004
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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.

 
Old September 6th, 2004, 02:35 AM
Registered User
 
Join Date: Sep 2004
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Also pls note that both server and client certificates are self signed using java keytool.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Null Reference Exception was unhandled labby C# 2005 1 February 9th, 2007 03:15 PM
Null reference exception when using DataAdapter Samantha Karen Webb C# 1 July 21st, 2006 09:12 AM
NULL reference exception Dwizz VB.NET 2002/2003 Basics 3 June 21st, 2005 07:15 AM
null exception error abhit_kumar JSP Basics 4 January 5th, 2005 05:26 PM
Null Exception while reading ajindal Classic ASP XML 3 December 14th, 2004 06:20 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.