Java SMTP forced to use TLSv1

0

I recently started getting SSL Handshake exceptions when trying to connect to SMTP server email-smtp.us-west-2.amazonaws.com
The underlying error is

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

The only way to get arround this error was to re-enable TLSv1 protocol from java.security
Does that mean that SMTP server does not support TLSv1.2 ?
Is anyone else having this issue? It's pretty recent development for my setup.

Edited by: DimaElimu on Jul 28, 2021 10:00 AM

已提問 3 年前檢視次數 614 次
1 個回答
0

The answer turned out to be my use of outdated jars. When I updated to more modern libraries, it started using proper TLSv1.2

已回答 3 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南