Java Application Blocked for Security in Edge (IE mode) -- Windows 11

LAOHU 16 Reputation points
2022-11-15T09:08:45.26+00:00

Hi guys,

I urgently need your help with the following Java problem:We have here an older plant control system programmed with TwinCAT. The visualization is called via an IP address in the browser, Java is required for this. The access to the visualization must be done via Internet Explorer 11 (IE11), via Edge or other browsers the call is not possible, therefore the "Internet Explorer Mode" in the Edge browser is used. Under Win10 the visualization could be called without problems. But with Win11 (Home) we get the following error message:
260481-ec6bfed5-cc51-4ca4-9971-f8d3bf7c47e2.png

Same error with we try to use Internet Explorer 11 directly:
260482-38937722-8334-4ac9-90d7-003fac0da0e6.png

Does anyone have an idea how to fix the error?

Thanks!

Microsoft 365 and Office Development Office JavaScript API
Windows for business Windows Client for IT Pros User experience Other
Microsoft Edge Microsoft Edge development
{count} votes

3 answers

Sort by: Most helpful
  1. LAOHU 16 Reputation points
    2022-11-17T14:49:38.037+00:00

    Solution found!

    The problem was because of the certificate. Thanks @Anonymous for mentioning the error message about the certificate again.

    Here is what I did:
    0 be sure java 32-bit is installed
    1 close all browser windows
    2 go to file path: C:\Program Files (x86)\Java\jre7\lib\security
    3 open file "java.security" as admin with notepad
    4 search the line "jdk.certpath.disabledAlgorithms=MD2, RSA keySize < 1024"
    5 change "1024" to "256".
    6 if it doesn't work, comment out existing line with # and paste the upper line completely
    7 open web page and accept security warning
    done

    thx to all for the input!

    Best regards.

    3 people found this answer helpful.

  2. Anonymous
    2022-11-17T07:28:30.193+00:00

    Hi @LAOHU ,

    I've seen another Java issue probably not so similar to this one, but also occurs in Windows 11. In that case, Java is installed in Program Files (x86) in Windows 10 (so we have Java for 32-bit), while Java is installed in Program Files in Windows 11 (so we have Java for 64-bit). But by default, IE content processes are always launched as 32-bit. It may have something to do with this issue, so please check your installation. Installing Java 32-bit may resolve the issue in Windows 11.
    What's more, if we simply follow the error message, this issue was probably caused by certificate issues. You may take a look at whether the certificate is outdated or not.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Best Regards,
    Shijie Li

    1 person found this answer helpful.
    0 comments No comments

  3. Keith Carter 1 Reputation point
    2022-11-15T21:50:14.983+00:00

    Not an answer, but having a similar experience only with the Windows 11 22H2 update. 21H2 still worked fine.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.