[Solution] SMTP of Omada Controller failed after upgrading to Java_8u291 or OpenJDK_1.8.0_292

[Solution] SMTP of Omada Controller failed after upgrading to Java_8u291 or OpenJDK_1.8.0_292

[Solution] SMTP of Omada Controller failed after upgrading to Java_8u291 or OpenJDK_1.8.0_292
[Solution] SMTP of Omada Controller failed after upgrading to Java_8u291 or OpenJDK_1.8.0_292
2021-06-18 10:32:21 - last edited 2021-08-27 01:14:50

This Article Applies to:

Omada SDN Controller (Windows & Linux)

 

Issue Description/Phenomenon:

The SMTP service for the Omada SDN Controllers fails after upgrading to Java_8u291(Windows) or OpenJDK_1.8.0_292(Linux). The phenomenon is that the mail server stops working on the Omada Controller and you may get the error "Send mail exception Could not connect to SMTP host".

 

A related post described the problem HERE

 

Note: 

If you are not sure which Java version you are using, please refer to the link below to have a check:

https://java.com/en/download/help/version_manual.html

 

Available Solutions:

TP-Link team has located the problem and will fix the issue in the subsequent updates later.

 

As a temporary solution, you can fix the issue by manually modifying the java configuration file as below:

Open the "java.security" file, find "jdk.tls.disabledAlgorithms" as shown in the following picture,

delete "TLSv1, TLSv1.1," to enable TLSv1 and 1.1, and save the changes;

then restart the Omada SDN Controller.

 

 

Note:

  • For Windows, the default path of the file is "C:Program Files Javajre1.8.0_291libsecurity" or

"C:Program Files (x86)Javajre1.8.0_291libsecurity".

 

 

  • For CentOS/Fedora, the default path is "/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.292.b10-1.el7_9.x86_64/jre/lib/security/java.security".
  • For Debian/Ubuntu, the default path is "/etc/java-8-openjdk/security/java.security".

 

 

Reference: https://bugs.java.com/bugdatabase/view_bug.do?bug_id=JDK-8202343

Best Regards!
  0      
  0      
#1
Options
2 Reply
Re:[Solution] SMTP of Omada Controller failed after upgrading to Java_8u291 or OpenJDK_1.8.0_292
2021-07-12 05:34:46

@Fae As far as I know TLS1 and TLS1.1 are deprecated and should not be used. See https://tools.ietf.org/id/draft-ietf-tls-oldversions-deprecate-02.html

TLS1 and TLS1.1 have been widely disabled by many browsers. I would recommend leaving these settings alone and upgrading the security of the SMTP server. There is a reason why these protocols are being disabled in Java.

  0  
  0  
#2
Options
Re:[Solution] SMTP of Omada Controller failed after upgrading to Java_8u291 or OpenJDK_1.8.0_292
2021-08-02 01:19:02 - last edited 2021-08-02 01:32:09
  0  
  0  
#3
Options