Please open the java-security file in a text editor, you can find the file in the below path.
· In Windows it’s located at:
C:\Program Files (x86)\Java\jre1.8.0_421\lib\security
· In macOS, it’s located at
/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/security/java.security
Search for " jdk.jar.disabledAlgorithms=MD2,
MD5, RSA keySize < 1024 And add a # key before the line as below
Save and Exit.