[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-12-09 01:48:42

This Article Applies to:

Omada SDN Controller (Windows & Linux) V4

 

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. on Controller v5.0.

 

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!
1
1
#1
Options
3 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.

2
2
#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
3
3
#3
Options
Re:[Solution] SMTP of Omada Controller failed after upgrading to Java_8u291 or OpenJDK_1.8.0_292
2021-12-22 04:18:24
That was perhaps the best clarification I've heard. it doesn't assist me with realizing that APP is a condensing for application. I get that. Be that as it may, the inquiry I continue to present, and what you just addressed so well is, assuming I can go to a site for what reason do I really want an APP? i'm as yet not going to be absolutely astute however this aides fairly. https://apkshines.com/bottleneck-calculator/
0
0
#4
Options