Hi,
i installed openhab 2.3.0.005 and the innogy binding 2.3.0 on a synology station.
It run for some weeks without problems. Without changing any configurations or updating any bindings or file, the innogy SmartHome Controller reports the following error:
Status: OFFLINE - COMMUNICATION_ERROR sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
the log reports the following error:
18:56:53.432 [ERROR] [smarthome.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:1917) [?:?]
at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:301) [?:?]
at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:295) [?:?]
at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1369) [?:?]
at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:156) [?:?]
at sun.security.ssl.Handshaker.processLoop(Handshaker.java:925) [?:?]
at sun.security.ssl.Handshaker.process_record(Handshaker.java:860) [?:?]
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1043) [?:?]
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1343) [?:?]
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1371) [?:?]
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1355) [?:?]
at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:563) [?:?]
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185) [?:?]
at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:153) [?:?]
at com.google.api.client.http.javanet.NetHttpRequest.execute(NetHttpRequest.java:93) [207:org.openhab.binding.innogysmarthome:2.3.0]
at com.google.api.client.http.HttpRequest.execute(HttpRequest.java:981) [207:org.openhab.binding.innogysmarthome:2.3.0]
at org.openhab.binding.innogysmarthome.internal.client.InnogyClient.executeGet(InnogyClient.java:283) [207:org.openhab.binding.innogysmarthome:2.3.0]
at org.openhab.binding.innogysmarthome.internal.client.InnogyClient.initializeSession(InnogyClient.java:181) [207:org.openhab.binding.innogysmarthome:2.3.0]
at org.openhab.binding.innogysmarthome.internal.client.InnogyClient.initialize(InnogyClient.java:134) [207:org.openhab.binding.innogysmarthome:2.3.0]
at org.openhab.binding.innogysmarthome.handler.InnogyBridgeHandler$Initializer.run(InnogyBridgeHandler.java:107) [207:org.openhab.binding.innogysmarthome:2.3.0]
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:1351) ~[?:?]
… 23 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:145) ~[?:?]
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:1351) ~[?:?]
… 23 more
can someone give me a hint or a step by step guide to solve the cert-problem on a sync-station?
thank you