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

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年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ