Go Back   ZeroC Forums > Bug Reports

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 12-30-2007
luke luke is offline
Registered User
 
Name: Lukasz Czekierda
Organization: AGH-University of Science and Technology
Project: teleconsultations
 
Join Date: Mar 2007
Posts: 9
IceSSL: does CRL handling in .Net work correctly?

Hello everybody,

I have a problem with IceSSL: after enabling IceSSL.CheckCRL feature (IceSSL.CheckCRL=1 in config.server file) the communication fails, I get:
[ 12/30/2007 23:27:02 server.exe: Security: SSL certificate validation failed ] when the client tries to connect to the server. I'am running a very simple (hello) application using your certificates from ice\hello sample. It seems as zeroc certificate were on CRL (sounds impossible, but I checked with MMC), I am doing something wrong or it is a bug... I've repeated the experiment with other set of certificates (issued by my own CA) - the same. With this line disabled everything is OK.

I use Ice.Plugin.IceSSL=icesslcs, Version=3.2.1.0.

With best regards,
Lukasz
Reply With Quote
  #2 (permalink)  
Old 12-31-2007
mes's Avatar
mes mes is offline
ZeroC Staff
 
Name: Mark Spruiell
Organization: ZeroC, Inc.
Project: Ice Developer
 
Join Date: Feb 2003
Location: California
Posts: 971
Hi,

When you enable IceSSL.CheckCRL with the sample certificates, .NET reports the certificate validation status RevocationStatusUnkown. Here is the description of this status from MSDN:

Specifies that it is not possible to determine whether the certificate has been revoked. This can be due to the certificate revocation list (CRL) being offline or unavailable.

This may or may not be considered a bug, depending on your perspective. For example, if you define IceSSL.CheckCRL=1, you may want a connection attempt to fail if its revocation status is unknown, in which case the current behavior is desirable. On the other hand, you might prefer to be more lenient in this situation and allow the connection to proceed.

We may enhance IceSSL's certificate validation logic in the next release.

Take care,
- Mark
Reply With Quote
  #3 (permalink)  
Old 01-02-2008
luke luke is offline
Registered User
 
Name: Lukasz Czekierda
Organization: AGH-University of Science and Technology
Project: teleconsultations
 
Join Date: Mar 2007
Posts: 9
IceSSL: does CRL handling in .Net work correctly?

Mark,
Many thanks for the fast answer.

Quote:
Originally Posted by mes View Post
We may enhance IceSSL's certificate validation logic in the next release.
It is definitely a good idea.

To solve my problem I have added a CRL distribution point extension to the certificates and have invested in a small CA which publishes CRL file. Everything works OK.

With best regards,
Lukasz
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ice.Application exception handling henrik Help Center 1 02-11-2007 10:56 AM
Exception handling in IceStorm nbasu33 Help Center 4 01-16-2007 10:02 AM
signal handling and ice::Application fitzharrys Help Center 11 10-18-2005 06:51 PM
IceSSL for C#/.NET kwaclaw Comments 2 09-27-2005 11:49 AM
Problem when vc.net 2003 work with Ice 1.2.0 ?question 1 xiehua Help Center 3 02-09-2004 10:34 PM


All times are GMT -4. The time now is 07:40 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.