Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
ETL666
Contributor
Contributor

tSendMail - javax.net.ssl.SSLHandshakeException: No appropriate protocol

Hello everyone !

I have some trouble with the tSendMail ! I use microsoft office server so it's TLS protocol.

But i get this error message :

Exception in component tSendMail_1

javax.mail.MessagingException: Can't send command to SMTP host;

 nested exception is:

javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate)

at com.sun.mail.smtp.SMTPTransport.sendCommand(SMTPTransport.java:1420)

at com.sun.mail.smtp.SMTPTransport.sendCommand(SMTPTransport.java:1408)

at com.sun.mail.smtp.SMTPTransport.ehlo(SMTPTransport.java:847)

at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:384)

at javax.mail.Service.connect(Service.java:297)

at javax.mail.Service.connect(Service.java:156)

at javax.mail.Service.connect(Service.java:105)

at javax.mail.Transport.send0(Transport.java:168)

at javax.mail.Transport.send(Transport.java:98)

at sftp.test_mail_0_1.test_mail.tSendMail_1Process(test_mail.java:523)

at sftp.test_mail_0_1.test_mail.runJobInTOS(test_mail.java:2990)

at sftp.test_mail_0_1.test_mail.main(test_mail.java:2832)

Caused by: javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate)

at java.base/sun.security.ssl.HandshakeContext.<init>(HandshakeContext.java:172)

at java.base/sun.security.ssl.ClientHandshakeContext.<init>(ClientHandshakeContext.java:98)

at java.base/sun.security.ssl.TransportContext.kickstart(TransportContext.java:238)

at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:434)

at java.base/sun.security.ssl.SSLSocketImpl.ensureNegotiated(SSLSocketImpl.java:894)

at java.base/sun.security.ssl.SSLSocketImpl$AppOutputStream.write(SSLSocketImpl.java:1264)

at com.sun.mail.util.TraceOutputStream.write(TraceOutputStream.java:101)

at java.base/java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:81)

at java.base/java.io.BufferedOutputStream.flush(BufferedOutputStream.java:142)

at com.sun.mail.smtp.SMTPTransport.sendCommand(SMTPTransport.java:1418)

... 11 more

It seems it's because of TLS version because Outlook don't use

TLS 1.0

anymore

So i have checked for some solution and I found that I have to upgrade tSendMail : https://community.talend.com/s/article/Issue-with-tSendMail-and-TLS-version-ElVmA

But I can't do it

Also, there is something strange thing because tSendMail works only with java jdk 15.0.1 only this version in my side (JRE 1.8)

Does someone have any solution ?

Thanks in advance !

Labels (4)
1 Solution

Accepted Solutions
Anonymous
Not applicable

Hi

As explained in this page, the TLS 1.0 and TLS 1.1 has been disabled in JDK 8 or 11, try the solutions and let me know if it works.

 

Regards

Shong

View solution in original post

2 Replies
Anonymous
Not applicable

Hi

As explained in this page, the TLS 1.0 and TLS 1.1 has been disabled in JDK 8 or 11, try the solutions and let me know if it works.

 

Regards

Shong

ETL666
Contributor
Contributor
Author

Hi,

 

It's good, it works !

 

Thank you !