tPOP SSL Handshake fails

One Star

tPOP SSL Handshake fails

Hey,
today I was trying to get some Mails out of a POP3 Account. I have done this before and haven't had a problem. Unfortunately I do now.
I get an SSL handshake error see below:
Exception in component tPOP_1
javax.mail.MessagingException: Connect failed;
  nested exception is:
javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
at com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:148)
at javax.mail.Service.connect(Service.java:275)
at local_project.getmails_0_1.getMails.tPOP_1Process(getMails.java:462)
at local_project.getmails_0_1.getMails.runJobInTOS(getMails.java:1504)
at local_project.getmails_0_1.getMails.main(getMails.java:1310)
Caused by: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
at sun.security.ssl.SSLSocketImpl.readDataRecord(Unknown Source)
at sun.security.ssl.AppInputStream.read(Unknown Source)
at java.io.BufferedInputStream.fill(Unknown Source)
at java.io.BufferedInputStream.read(Unknown Source)
at java.io.DataInputStream.readLine(Unknown Source)
at com.sun.mail.pop3.Protocol.simpleCommand(Protocol.java:347)
at com.sun.mail.pop3.Protocol.<init>(Protocol.java:91)
at com.sun.mail.pop3.POP3Store.getPort(POP3Store.java:201)
at com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:144)
... 4 more
Caused by: java.io.EOFException: SSL peer shut down incorrectly
at sun.security.ssl.InputRecord.read(Unknown Source)
... 15 more

I already checked the TLS Version as mentioned in another topic. The server accepts TLS1, TLS1.1 and TLS 1.2 so I think this should not be the problem. 
Any ideas? I do not have a lot of experience with SSL. 
Cheers
Moderator

Re: tPOP SSL Handshake fails

Hi,
On which build version you got this issue? What's your email server?
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.