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

preguntada hace 3 años614 visualizaciones
1 Respuesta
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

respondido hace 3 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas