18-08-2018, 10:43:54
(18-08-2018, 10:12:06)Mat3062 schrieb: Hallo zusammen,
ich habe das gleiche Problem, wie "soeren" auf meinem Pi3 mit der aktuellsten OH-Stable Version.
Habe das Zertifikat von services-smarthome.de und innogy-smarthome.de in den keystore aufgenommen. Das bringt leider keine Veränderung.
Mehrfache Neuinstallation des Bindings und manuelles hinzufügen der Zentrale bringen leider auch keinen Effekt.
Wäre schön, wenn jemand noch weitere Lösungsansätze hat.
Hier noch der Auszug aus meinem openHAB-Log
Code:2018-08-18 10:03:44.709 [color=red][ERROR][/color] [marthome.handler.InnogyBridgeHandler] - Error initializing innogy SmartHome client.
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 sun.security.ssl.Alerts.getSSLException(Alerts.java:192) [?:?]
at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1949) [?:?]
at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:302) [?:?]
at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:296) [?:?]
at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1509) [?:?]
at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:216) [?:?]
at sun.security.ssl.Handshaker.processLoop(Handshaker.java:979) [?:?]
at sun.security.ssl.Handshaker.process_record(Handshaker.java:914) [?:?]
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1062) [?:?]
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1375) [?:?]
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1403) [?:?]
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1387) [?:?]
at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559) [?:?]
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185) [?:?]
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1283) [?:?]
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1258) [?:?]
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:250) [?:?]
at com.google.api.client.http.javanet.NetHttpRequest.execute(NetHttpRequest.java:77) [189:org.openhab.binding.innogysmarthome:2.3.0.201804020923]
at com.google.api.client.http.HttpRequest.execute(HttpRequest.java:981) [189:org.openhab.binding.innogysmarthome:2.3.0.201804020923]
at com.google.api.client.auth.oauth2.TokenRequest.executeUnparsed(TokenRequest.java:283) [189:org.openhab.binding.innogysmarthome:2.3.0.201804020923]
at com.google.api.client.auth.oauth2.TokenRequest.execute(TokenRequest.java:307) [189:org.openhab.binding.innogysmarthome:2.3.0.201804020923]
at org.openhab.binding.innogysmarthome.internal.client.InnogyClient.getOAuth2Tokens(InnogyClient.java:235) [189:org.openhab.binding.innogysmarthome:2.3.0.201804020923]
at org.openhab.binding.innogysmarthome.internal.client.InnogyClient.initialize(InnogyClient.java:128) [189:org.openhab.binding.innogysmarthome:2.3.0.201804020923]
at org.openhab.binding.innogysmarthome.handler.InnogyBridgeHandler$Initializer.run(InnogyBridgeHandler.java:107) [189:org.openhab.binding.innogysmarthome:2.3.0.201804020923]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:?]
at java.lang.Thread.run(Thread.java:745) [?:?]
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:387) ~[?:?]
at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:292) ~[?:?]
at sun.security.validator.Validator.validate(Validator.java:260) ~[?:?]
at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:324) ~[?:?]
at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:229) ~[?:?]
at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:124) ~[?:?]
at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1491) ~[?:?]
... 26 more
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:146) ~[?:?]
at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:131) ~[?:?]
at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:280) ~[?:?]
at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:382) ~[?:?]
at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:292) ~[?:?]
at sun.security.validator.Validator.validate(Validator.java:260) ~[?:?]
at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:324) ~[?:?]
at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:229) ~[?:?]
at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:124) ~[?:?]
at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1491) ~[?:?]
... 26 more
Viele Grüße
Mathias
hi Kollegen,
also ich hab kein Zertifikat installiert! Hat funktioniert.
ich hab nur openhabian und das Binding installiert.VG