PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Mailplugin Could not convert sockert to TLS



bilarful
08.05.2015, 15:48
Hallo zusammen,

bekomme folgende Fehlermeldung beim Mailversand über das Mailplugin:

[qoute]Mail -- Could not convert socket to TLS[/quote]

Java Version: v8 Update 40

Ist das Problem bekannt? Wie kann ich das fixen?

bilarful
08.05.2015, 20:02
Java Update auf v8 Update 45 hat nicht gebracht...

Auszug aus dem Aktuellen Log File:



08.05.2015 - 20:08:24.555 ERROR Launcher - Email konnte nicht versandt werden: Could not convert socket to TLS
javax.mail.MessagingException: Could not convert socket to TLS
at com.sun.mail.smtp.SMTPTransport.startTLS(SMTPTrans port.java:1907) ~[firEmergency.jar:na]
at com.sun.mail.smtp.SMTPTransport.protocolConnect(SM TPTransport.java:666) ~[firEmergency.jar:na]
at javax.mail.Service.connect(Service.java:295) ~[firEmergency.jar:na]
at javax.mail.Service.connect(Service.java:176) ~[firEmergency.jar:na]
at server.surveillance.SendMail.sendMail(SendMail.jav a:123) ~[firEmergency.jar:na]
at server.Launcher$1.run(Launcher.java:361) ~[firEmergency.jar:na]
at java.lang.Thread.run(Unknown Source) [na:1.8.0_45]
Caused by: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderE xception: unable to find valid certification path to requested target
at sun.security.ssl.Alerts.getSSLException(Unknown Source) ~[na:1.8.0_45]
at sun.security.ssl.SSLSocketImpl.fatal(Unknown Source) ~[na:1.8.0_45]
at sun.security.ssl.Handshaker.fatalSE(Unknown Source) ~[na:1.8.0_45]
at sun.security.ssl.Handshaker.fatalSE(Unknown Source) ~[na:1.8.0_45]
at sun.security.ssl.ClientHandshaker.serverCertificat e(Unknown Source) ~[na:1.8.0_45]
at sun.security.ssl.ClientHandshaker.processMessage(U nknown Source) ~[na:1.8.0_45]
at sun.security.ssl.Handshaker.processLoop(Unknown Source) ~[na:1.8.0_45]
at sun.security.ssl.Handshaker.process_record(Unknown Source) ~[na:1.8.0_45]
at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source) ~[na:1.8.0_45]
at sun.security.ssl.SSLSocketImpl.performInitialHands hake(Unknown Source) ~[na:1.8.0_45]
at sun.security.ssl.SSLSocketImpl.startHandshake(Unkn own Source) ~[na:1.8.0_45]
at sun.security.ssl.SSLSocketImpl.startHandshake(Unkn own Source) ~[na:1.8.0_45]
at com.sun.mail.util.SocketFetcher.configureSSLSocket (SocketFetcher.java:549) ~[firEmergency.jar:na]
at com.sun.mail.util.SocketFetcher.startTLS(SocketFet cher.java:486) ~[firEmergency.jar:na]
at com.sun.mail.smtp.SMTPTransport.startTLS(SMTPTrans port.java:1902) ~[firEmergency.jar:na]
... 6 common frames omitted
Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderE xception: unable to find valid certification path to requested target
at sun.security.validator.PKIXValidator.doBuild(Unkno wn Source) ~[na:1.8.0_45]
at sun.security.validator.PKIXValidator.engineValidat e(Unknown Source) ~[na:1.8.0_45]
at sun.security.validator.Validator.validate(Unknown Source) ~[na:1.8.0_45]
at sun.security.ssl.X509TrustManagerImpl.validate(Unk nown Source) ~[na:1.8.0_45]
at sun.security.ssl.X509TrustManagerImpl.checkTrusted (Unknown Source) ~[na:1.8.0_45]
at sun.security.ssl.X509TrustManagerImpl.checkServerT rusted(Unknown Source) ~[na:1.8.0_45]
... 17 common frames omitted
Caused by: sun.security.provider.certpath.SunCertPathBuilderE xception: unable to find valid certification path to requested target
at sun.security.provider.certpath.SunCertPathBuilder. build(Unknown Source) ~[na:1.8.0_45]
at sun.security.provider.certpath.SunCertPathBuilder. engineBuild(Unknown Source) ~[na:1.8.0_45]
at java.security.cert.CertPathBuilder.build(Unknown Source) ~[na:1.8.0_45]
... 23 common frames omitted
08.05.2015 - 20:08:24.844 ERROR Throwable - javax.mail.MessagingException: Could not convert socket to TLS;
nested exception is:
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderE xception: unable to find valid certification path to requested target
08.05.2015 - 20:08:24.880 ERROR Throwable - at com.sun.mail.smtp.SMTPTransport.startTLS(SMTPTrans port.java:1907)
08.05.2015 - 20:08:24.896 ERROR Throwable - at com.sun.mail.smtp.SMTPTransport.protocolConnect(SM TPTransport.java:666)
08.05.2015 - 20:08:24.909 ERROR Throwable - at javax.mail.Service.connect(Service.java:295)
08.05.2015 - 20:08:24.917 ERROR Throwable - at javax.mail.Service.connect(Service.java:176)
08.05.2015 - 20:08:24.938 ERROR Throwable - at server.surveillance.SendMail.sendMail(SendMail.jav a:123)
08.05.2015 - 20:08:24.946 ERROR Throwable - at server.Launcher$1.run(Launcher.java:361)
08.05.2015 - 20:08:24.951 ERROR Throwable - at java.lang.Thread.run(Unknown Source)
08.05.2015 - 20:08:24.960 ERROR Throwable - Caused by: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderE xception: unable to find valid certification path to requested target
08.05.2015 - 20:08:24.978 ERROR Throwable - at sun.security.ssl.Alerts.getSSLException(Unknown Source)
08.05.2015 - 20:08:24.988 ERROR Throwable - at sun.security.ssl.SSLSocketImpl.fatal(Unknown Source)
08.05.2015 - 20:08:24.998 ERROR Throwable - at sun.security.ssl.Handshaker.fatalSE(Unknown Source)
08.05.2015 - 20:08:25.010 ERROR Throwable - at sun.security.ssl.Handshaker.fatalSE(Unknown Source)
08.05.2015 - 20:08:25.018 ERROR Throwable - at sun.security.ssl.ClientHandshaker.serverCertificat e(Unknown Source)
08.05.2015 - 20:08:25.029 ERROR Throwable - at sun.security.ssl.ClientHandshaker.processMessage(U nknown Source)
08.05.2015 - 20:08:25.040 ERROR Throwable - at sun.security.ssl.Handshaker.processLoop(Unknown Source)
08.05.2015 - 20:08:25.047 ERROR Throwable - at sun.security.ssl.Handshaker.process_record(Unknown Source)
08.05.2015 - 20:08:25.062 ERROR Throwable - at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
08.05.2015 - 20:08:25.069 ERROR Throwable - at sun.security.ssl.SSLSocketImpl.performInitialHands hake(Unknown Source)
08.05.2015 - 20:08:25.077 ERROR Throwable - at sun.security.ssl.SSLSocketImpl.startHandshake(Unkn own Source)
08.05.2015 - 20:08:25.088 ERROR Throwable - at sun.security.ssl.SSLSocketImpl.startHandshake(Unkn own Source)
08.05.2015 - 20:08:25.096 ERROR Throwable - at com.sun.mail.util.SocketFetcher.configureSSLSocket (SocketFetcher.java:549)
08.05.2015 - 20:08:25.101 ERROR Throwable - at com.sun.mail.util.SocketFetcher.startTLS(SocketFet cher.java:486)
08.05.2015 - 20:08:25.111 ERROR Throwable - at com.sun.mail.smtp.SMTPTransport.startTLS(SMTPTrans port.java:1902)
08.05.2015 - 20:08:25.120 ERROR Throwable - ... 6 more
08.05.2015 - 20:08:25.133 ERROR Throwable - Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderE xception: unable to find valid certification path to requested target
08.05.2015 - 20:08:25.146 ERROR Throwable - at sun.security.validator.PKIXValidator.doBuild(Unkno wn Source)
08.05.2015 - 20:08:25.155 ERROR Throwable - at sun.security.validator.PKIXValidator.engineValidat e(Unknown Source)
08.05.2015 - 20:08:25.162 ERROR Throwable - at sun.security.validator.Validator.validate(Unknown Source)
08.05.2015 - 20:08:25.169 ERROR Throwable - at sun.security.ssl.X509TrustManagerImpl.validate(Unk nown Source)
08.05.2015 - 20:08:25.178 ERROR Throwable - at sun.security.ssl.X509TrustManagerImpl.checkTrusted (Unknown Source)
08.05.2015 - 20:08:25.186 ERROR Throwable - at sun.security.ssl.X509TrustManagerImpl.checkServerT rusted(Unknown Source)
08.05.2015 - 20:08:25.194 ERROR Throwable - ... 17 more
08.05.2015 - 20:08:25.202 ERROR Throwable - Caused by: sun.security.provider.certpath.SunCertPathBuilderE xception: unable to find valid certification path to requested target
08.05.2015 - 20:08:25.221 ERROR Throwable - at sun.security.provider.certpath.SunCertPathBuilder. build(Unknown Source)
08.05.2015 - 20:08:25.235 ERROR Throwable - at sun.security.provider.certpath.SunCertPathBuilder. engineBuild(Unknown Source)
08.05.2015 - 20:08:25.241 ERROR Throwable - at java.security.cert.CertPathBuilder.build(Unknown Source)
08.05.2015 - 20:08:25.274 ERROR Throwable - ... 23 more

firEmergency
11.05.2015, 09:54
Kannst du Java 7 testen?

Es gibt seit Java 8 vermehrt Probleme mit Zertifikaten (was auch dein Fehler ist).
Java akzeptiert die SSL/TSL-Zertifikate nicht (unable to find valid certification path to requested target), wodurch keine Verbindung aufgebaut werden kann.

bilarful
15.05.2015, 12:50
Habe Java 8 deinstalliert und die "neuste" Version von Java 7.
Gleiches Problem besteht immer noch..

firEmergency
16.05.2015, 15:40
In der aktuellen Beta kann man im Input Plug-in einstellen, dass alle Zertifikate akzeptiert werden sollen.
Das löst das Problem.

Damit könntest dies versuchen.

bilarful
18.05.2015, 08:07
Danke für die Antwort!
Wie komme ich denn an die Beta? Im Shop habe ich keinen Bereich mit Beta Versionen gefunden..

Edit: Link gefunden, werde mal testen

bilarful
18.05.2015, 10:07
Wo kann ich das im PlugIn einstellen?