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

asked 3 years ago608 views
1 Answer
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

answered 3 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions