-
Notifications
You must be signed in to change notification settings - Fork 44
Description
when i send(mail);
code:
...
javaMailProperties.put("mail.smtp.ssl.enable", "true");
javaMailProperties.put("mail.smtp.socketFactory.class", "javax.net.ssl.SSLSocketFactory");
....
SimpleMailMessage mail = new SimpleMailMessage();
imail.setJavaMailProperties(javaMailProperties);
....
imail.send(mail);
in the Wireshark:
1 Client Hello : TLSv1 Record Layer: Handshake Protocol: Client Hello
2 Server Hello : TLSv1 Record Layer: Handshake Protocol: Multiple Handshake Messages
Content Type: Handshake (22)
Version: TLS 1.0 (0x0301)
Length: 1393
Handshake Protocol: Server Hello
Handshake Protocol: Certificate
Handshake Protocol: Server Hello Done
3 TLSv1 Record Layer: Alert (Level: Fatal, Description: Certificate Unknown)
but, i only want
Server Hello : TLSv1 Record Layer: Handshake Protocol: Server Hello
not
Multiple Handshake Messages
how can i do?
java version "1.8.0_121"