This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 6913 - CSS validator fails for https sites
Summary: CSS validator fails for https sites
Status: RESOLVED FIXED
Alias: None
Product: CSSValidator
Classification: Unclassified
Component: CSS 2.1 (show other bugs)
Version: CSS Validator
Hardware: All All
: P2 major
Target Milestone: ---
Assignee: This bug has no owner yet - up for the taking
QA Contact: qa-dev tracking
URL: http://jigsaw.w3.org/css-validator/va...
Whiteboard:
Keywords:
: 9171 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-05-18 01:43 UTC by Jon Hood
Modified: 2011-08-22 08:29 UTC (History)
1 user (show)

See Also:


Attachments

Description Jon Hood 2009-05-18 01:43:31 UTC
I receive the following when I try to use the CSS validator with a valid https site:

Target: https://secure.lccapital.net/index.php

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
Comment 1 Yves Lafon 2009-07-07 18:52:28 UTC
The site site to works on both the experimental and production versions of the CSS Validator. Did something change on your end?
Comment 2 Jon Hood 2009-07-07 18:59:26 UTC
I did just change something a few days ago- the certificate was a chain certificate, and I didn't have the chain file loaded in the apache configuration correctly. I didn't notice a problem in most browsers, but some browsers were saying the certificate was unauthenticated (kind of like a self-signed one).

I fixed the apache configuration and didn't expect it to fix this bug, too.

Still, the validator should work, even for sites that aren't using a valid certificate. I would be more than happy to revert the apache configuration back to a previous state and see if this bug pops up again, if you would like me to.
Comment 3 Karim Sylla 2010-02-28 20:40:29 UTC
When I try to use the CSS validator with the site:

https://www.visualflavors.com/index.php

I receive the following error message:

CSS
Validator
Error

Target: https://www.visualflavors.com:443/

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

By all accounts, my Trustwave certificate for the website is valid, and properly installed.  

Could someone help me get this problem resolved?
Comment 4 Karim Sylla 2010-02-28 22:03:18 UTC
Additional information from a java programmer:

"The Trustwave SSL certificates are accepted by regular internet browsers, but Java does not seem to come with the prerequisite root certificates resulting in the error message"

(javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target)
Comment 5 Yves Lafon 2011-08-22 08:13:10 UTC
Incorporated patch from Miklos Vajna <vmiklos@dsd.sztaki.hu> 
See http://lists.w3.org/Archives/Public/www-validator-css/2010Jun/0000.html
Comment 6 Yves Lafon 2011-08-22 08:29:33 UTC
*** Bug 9171 has been marked as a duplicate of this bug. ***