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

posta 3 anni fa614 visualizzazioni
1 Risposta
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

con risposta 3 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande