Mail-send connector failes with javax.net.ssl.SSLHandshakeException


#1

Dear Camunda community,

We are getting this exception sometimes on one of the test hosts running Camunda during an attempt to send emails. We cannot reproduce it on any other host (using the same SMTP). Host has the same hardware and software configuration as all other hosts.

Caused by: javax.net.ssl.SSLHandshakeException: server certificate change is restricted during renegotiation
	at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
	at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1959)
	at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:302)
	at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:292)
	at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1476)
	at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:216)
	at sun.security.ssl.Handshaker.processLoop(Handshaker.java:1026)
	at sun.security.ssl.Handshaker.process_record(Handshaker.java:961)
	at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1072)
	at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1385)
	at sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:757)
	at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:123)
	at com.sun.mail.util.TraceOutputStream.write(TraceOutputStream.java:114)
	at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
	at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
	at com.sun.mail.smtp.SMTPTransport.sendCommand(SMTPTransport.java:1562)
	... 277 more

I am a bit stuck trying to identify a root cause of this.

Best regards,
Ilya


#2

Hi Ilya,

It seems to me it’s server issue.

Best regards,
Yana


#3

Hi Yana,

Appreciate your kind help. Will try to further explore potential differences between environments.

Spasibo,
Ilya