[closed] sun.security.validator.ValidatorException

Hier finden YaCy User Hilfe wenn was nicht funktioniert oder anders funktioniert als man dachte. Bei offensichtlichen Fehlern diese bitte gleich in die Bugs (http://bugs.yacy.net) eintragen.
Forumsregeln
In diesem Forum geht es um Benutzungsprobleme und Anfragen für Hilfe. Wird dabei ein Bug identifiziert, wird der thread zur Bearbeitung in die Bug-Sektion verschoben. Wer hier also einen Thread eingestellt hat und ihn vermisst, wird ihn sicherlich in der Bug-Sektion wiederfinden.

[closed] sun.security.validator.ValidatorException

Beitragvon miTreD » Mo Apr 07, 2008 9:11 am

Das hat wohl nix mit YaCY zu tun, aber ich poste es trotzdem mal der Vollständigkeit wegen:
Code: Alles auswählen
E 2008/04/07 10:10:19 CRAWLER CRAWLER Unexpected Error with URL 'http://www.pro-linux.de/produkte/': 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
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
        at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:174)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1591)
        at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:187)
        at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:181)
        at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:975)
        at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:123)
        at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:516)
        at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:454)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:884)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1096)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:623)
        at com.sun.net.ssl.internal.ssl.AppOutputStream.write(AppOutputStream.java:59)
        at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
        at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
        at org.apache.commons.httpclient.HttpConnection.flushRequestOutputStream(HttpConnection.java:828)
        at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.flushRequestOutputStream(MultiThreadedHttpConnectionManager.java:1565)
        at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2116)
        at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1096)
        at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
        at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
        at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
        at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
        at de.anomic.http.JakartaCommonsHttpClient.execute(JakartaCommonsHttpClient.java:359)
        at de.anomic.http.JakartaCommonsHttpClient.GET(JakartaCommonsHttpClient.java:164)
        at de.anomic.plasma.crawler.plasmaHTTPLoader.load(plasmaHTTPLoader.java:185)
        at de.anomic.plasma.crawler.plasmaHTTPLoader.load(plasmaHTTPLoader.java:136)
        at de.anomic.plasma.crawler.plasmaProtocolLoader.load(plasmaProtocolLoader.java:69)
        at de.anomic.plasma.crawler.plasmaProtocolLoader.process(plasmaProtocolLoader.java:81)
        at de.anomic.plasma.crawler.plasmaCrawlQueues$crawlWorker.run(plasmaCrawlQueues.java:486)
Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
        at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:285)
        at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:191)
        at sun.security.validator.Validator.validate(Validator.java:218)
        at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:126)
        at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:209)
        at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:249)
        at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:954)
        ... 24 more
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
        at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:174)
        at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:238)
        at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:280)
        ... 30 more
miTreD
 
Beiträge: 1241
Registriert: Mi Jun 27, 2007 11:35 am
Wohnort: /home

Re: sun.security.validator.ValidatorException

Beitragvon DanielR » Mo Apr 07, 2008 9:29 am

Das könnte schon YaCy betreffen, denn YaCy erstellt die SSL-Verbinung. Ich kenne mich damit allerdings nicht sonderlich gut mit aus. Solange das ein Einzelfall ist und alle anderen HTTPS-Seiten funktionieren, musst du damit leben.

[edit]Scheint bei allen SSL-Verbindungen zu sein (mit z.B. selbst unterzeichneten Zertifikaten)[/edit]
DanielR
 
Beiträge: 395
Registriert: Di Feb 12, 2008 2:22 pm

Re: sun.security.validator.ValidatorException

Beitragvon DanielR » Mo Apr 07, 2008 10:22 am

fixed in svn4659
DanielR
 
Beiträge: 395
Registriert: Di Feb 12, 2008 2:22 pm

Re: sun.security.validator.ValidatorException

Beitragvon miTreD » Mo Apr 07, 2008 1:42 pm

Ja, scheint wieder zu laufen:
Code: Alles auswählen
$ cat ~/yacy/DATA/LOG/yacy00.log | grep "PROXY SSL connection"
I 2008/04/07 14:29:17 PROXY SSL connection to www.arcor.de:443 established.
I 2008/04/07 14:29:18 PROXY SSL connection to i.arcor.de:443 established.
I 2008/04/07 14:29:18 PROXY SSL connection to i.arcor.de:443 established.
I 2008/04/07 14:29:25 PROXY SSL connection to www.arcor.de:443 established.
I 2008/04/07 14:29:27 PROXY SSL connection to i.arcor.de:443 established.
I 2008/04/07 14:29:27 PROXY SSL connection to i.arcor.de:443 established.
I 2008/04/07 14:29:33 PROXY SSL connection to i.arcor.de:443 established.
I 2008/04/07 14:29:33 PROXY SSL connection to i.arcor.de:443 established.
I 2008/04/07 14:32:20 PROXY SSL connection to www.arcor.de:443 established.
I 2008/04/07 14:32:21 PROXY SSL connection to i.arcor.de:443 established.
I 2008/04/07 14:32:21 PROXY SSL connection to i.arcor.de:443 established.
I 2008/04/07 14:34:23 PROXY SSL connection to i.arcor.de:443 established.
I 2008/04/07 14:35:52 PROXY SSL connection to www.arcor.de:443 established.
I 2008/04/07 14:35:53 PROXY SSL connection to i.arcor.de:443 established.
I 2008/04/07 14:36:03 PROXY SSL connection to www.arcor.de:443 established.
I 2008/04/07 14:36:05 PROXY SSL connection to i.arcor.de:443 established.
I 2008/04/07 14:36:10 PROXY SSL connection to i.arcor.de:443 established.
I 2008/04/07 14:36:10 PROXY SSL connection to i.arcor.de:443 established.
I 2008/04/07 14:36:15 PROXY SSL connection to www.arcor.de:443 established.
I 2008/04/07 14:36:17 PROXY SSL connection to i.arcor.de:443 established.
I 2008/04/07 14:36:17 PROXY SSL connection to i.arcor.de:443 established.
I 2008/04/07 14:37:21 PROXY SSL connection to www.arcor.de:443 established.

[closed]
miTreD
 
Beiträge: 1241
Registriert: Mi Jun 27, 2007 11:35 am
Wohnort: /home


Zurück zu Fragen und Antworten

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 4 Gäste