Results 1 to 4 of 4

Thread: IceSSL.CheckCertName has no effect

  1. #1
    grembo is offline Registered User
    Name: Michael Gmelin
    Organization: Grem Equity GmbH
    Project: E-Commerce platform
    Join Date
    Jan 2009
    Posts
    85

    IceSSL.CheckCertName has no effect

    Hello,

    it seems like setting

    IceSSL.CheckCertName=1

    has no effect at all. The certificate presented by the client contains one IP address, but requests can be made from any ip address.

    The manual states:
    This property has no affect on the validation of client certificates.
    If no match is found, IceSSL aborts the connection attempt and raises an exception.
    Which is a little bit confusing. So it doesn't affect the validation of the cert, but should abort the connection attempt?!?

    (This is using glacier2 / openssl / unix)

    Thanks
    Michael

  2. #2
    benoit's Avatar
    benoit is offline ZeroC Staff
    Name: Benoit Foucher
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Rennes, France
    Posts
    2,196
    Hi,

    This should be fixed in Ice 3.3.1. Which Ice version do you use?

    Cheers,
    Benoit.

  3. #3
    grembo is offline Registered User
    Name: Michael Gmelin
    Organization: Grem Equity GmbH
    Project: E-Commerce platform
    Join Date
    Jan 2009
    Posts
    85
    In fact I'm using 3.3.1.

    Here's my glacier2 IceSSL config:
    Code:
    Ice.Plugin.IceSSL=IceSSL:createIceSSL
    IceSSL.DefaultDir=certs
    IceSSL.CertAuthFile=ca_cert.pem
    IceSSL.CertFile=ca/db/ca_cert.pem
    IceSSL.KeyFile=ca/db/ca_key.pem
    IceSSL.CheckCertName=1

  4. #4
    grembo is offline Registered User
    Name: Michael Gmelin
    Organization: Grem Equity GmbH
    Project: E-Commerce platform
    Join Date
    Jan 2009
    Posts
    85
    Hi Benoit,

    I just found that comment in the code handling this option:

    Code:
            //
            // Compare the peer's address against the dnsName and ipAddress values.
            // This is only relevant for an outgoing connection.
            //
    which relates to

    Code:
    IceSSL attempts to match the server's host name
    So I assume there's a misunderstanding on my side how this is supposed to work. It seems this is only designed for outgoing connections, using certs signed by the CA containing IP addresses. I assumed it also works for incoming connections (first cert is verified, then the contained IPs are verified against client IP address, which in theory should add some extra security if firewall admins made a mistake).

    Cheers
    Michael

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 3
    Last Post: 03-14-2008, 05:32 PM
  2. IceSSL self signing
    By gumshoe in forum Help Center
    Replies: 6
    Last Post: 01-31-2008, 12:56 PM
  3. effect of IceStorm.Send.Timeout in Ice3.2
    By borax00 in forum Help Center
    Replies: 5
    Last Post: 03-30-2007, 09:03 AM
  4. Question about IceSSL
    By OrNot in forum Help Center
    Replies: 8
    Last Post: 04-19-2006, 09:13 PM
  5. about IceSSL
    By sec_freebird in forum Help Center
    Replies: 9
    Last Post: 11-25-2004, 03:39 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •