<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>11841</bug_id>
          
          <creation_ts>2011-01-23 21:26:24 +0000</creation_ts>
          <short_desc>Support for SNI (Server Name Indication)</short_desc>
          <delta_ts>2014-05-09 01:07:42 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>CSSValidator</product>
          <component>Other</component>
          <version>CSS Validator</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Luci Stanescu">luci</reporter>
          <assigned_to name="This bug has no owner yet - up for the taking">dave.null</assigned_to>
          <cc>luci</cc>
    
    <cc>mnot</cc>
          
          <qa_contact name="qa-dev tracking">www-validator-cvs</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>44636</commentid>
    <comment_count>0</comment_count>
    <who name="Luci Stanescu">luci</who>
    <bug_when>2011-01-23 21:26:24 +0000</bug_when>
    <thetext>It seems the CSS Validator does not use SNI when making requests. Since this is becoming quite common in modern browsers, it may also become more common in installations. Not being able to validate pages which are served correctly only if using SNI can become quite annoying. The (X)HTML Validator doesn&apos;t support SNI either, but it accepts any certificate whatsoever (I&apos;m not saying this is correct behaviour, but for a validation service it is not *that* bad), which is why I&apos;m submitting this bug report only for the CSS Validator.

I&apos;ve tested using https://openid.cnix.ro. Here is the error I am getting back:

I/O Error: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target 

I suppose this error is due to a wrong certificate being given by the server (I&apos;ve checked my debug logs and the validator is not sending the hostname using SNI and therefore is getting a certificate signed by my own CA).
 
Thanks,
Luci Stanescu</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59291</commentid>
    <comment_count>1</comment_count>
    <who name="Yves Lafon">ylafon</who>
    <bug_when>2011-10-31 13:37:24 +0000</bug_when>
    <thetext>Modifications were done earlier to accept all certificates (including self-signed ones). However using SNI depends on the availability of libraries for that, or support in the JDK.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>