Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Security / November 2004

Tip: Looking for answers? Try searching our database.

Why getLocalCertificates always returns null

Thread view: 
jacksu - 12 Nov 2004 17:39 GMT
Hi all,

I have created a key using keytool and selfcer it. But when I calling
using the SSLSession.getLocalCertificates , I always got null.

Here are the entries in my list, any comments? Thanks a lot

jacktestkey, Fri Nov 12 12:35:39 EST 2004, keyEntry,
Certificate fingerprint (MD5):
CD:73:FD:EB:E6:4C:3A:E2:FF:26:38:25:E2:B4:79:FD
mykey, Thu Nov 11 15:44:18 EST 2004, trustedCertEntry,
Certificate fingerprint (MD5):
2D:41:4E:6A:2E:1C:51:DE:3C:58:9B:C8:44:73:E1:7A
jacksu - 16 Nov 2004 19:25 GMT
> Hi all,
>
[quoted text clipped - 9 lines]
> Certificate fingerprint (MD5):
> 2D:41:4E:6A:2E:1C:51:DE:3C:58:9B:C8:44:73:E1:7A

After digged arround, it appears that this method only return certs
which sent out. So in most case, server SSL will have value for this
method. Client SSL will have return value only when server SSL
required client certificates.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.