gpt4 book ai didi

Java Applet 在其他 443 端口上加载 SSLProtocolException unrecognized_name

转载 作者:太空宇宙 更新时间:2023-11-03 14:57:38 24 4
gpt4 key购买 nike

我遇到来自客户端的服务器问题。在此服务器上,我们的 Web 应用程序安装了 2 个。安装在443端口和8082都是2个HTTPS。

在端口 443 上没有问题。 8082端口初始化小程序时出现java错误“java.lang.ClassNotFoundException: common.AppFSO.class”

打开 java 控制台我得到:

basic: Processus d'écoute de progression ajouté : sun.plugin.util.ProgressMonitorAdapter@1670865
basic: Processus d'écoute de progression ajouté : sun.plugin.util.ProgressMonitorAdapter@c18b02
security: Expected Main URL: https://test.com:8082/applets/uploadHTTP/AppUpload1.8.jar
security: Expected Main URL: https://test.com:8082/applets/FileSystemObject/AppFSO1.8.jar
basic: Plugin2ClassLoader.addURL parent called for https://test.com:8082/applets/uploadHTTP/AppUpload1.8.jar
basic: Plugin2ClassLoader.addURL parent called for https://test.com:8082/applets/FileSystemObject/AppFSO1.8.jar
network: Connexion de https://test.com:8082/applets/FileSystemObject/AppFSO1.8.jar avec proxy=DIRECT
network: Connexion de https://test.com:8082/applets/uploadHTTP/AppUpload1.8.jar avec proxy=DIRECT
network: Connexion de http://test.com:8082/ avec proxy=DIRECT
network: Connexion de http://test.com:8082/ avec proxy=DIRECT
javax.net.ssl.SSLProtocolException: handshake alert: unrecognized_name
at sun.security.ssl.ClientHandshaker.handshakeAlert(Unknown Source)
at sun.security.ssl.SSLSocketImpl.recvAlert(Unknown Source)
at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
at sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(Unknown Source)
at sun.plugin.PluginURLJarFileCallBack.connect(Unknown Source)
at sun.plugin.PluginURLJarFileCallBack.retrieve(Unknown Source)
at sun.net.www.protocol.jar.URLJarFile.retrieve(Unknown Source)
at sun.net.www.protocol.jar.URLJarFile.getJarFile(Unknown Source)
at sun.net.www.protocol.jar.JarFileFactory.get(Unknown Source)
at sun.net.www.protocol.jar.JarURLConnection.connect(Unknown Source)
at sun.plugin.net.protocol.jar.CachedJarURLConnection.connect(Unknown Source)
at sun.plugin.net.protocol.jar.CachedJarURLConnection.getJarFileInternal(Unknown Source)
at sun.plugin.net.protocol.jar.CachedJarURLConnection.getJarFile(Unknown Source)
at com.sun.deploy.security.DeployURLClassPath$JarLoader.getJarFile(Unknown Source)
at com.sun.deploy.security.DeployURLClassPath$JarLoader.access$800(Unknown Source)
at com.sun.deploy.security.DeployURLClassPath$JarLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.deploy.security.DeployURLClassPath$JarLoader.ensureOpen(Unknown Source)
at com.sun.deploy.security.DeployURLClassPath$JarLoader.<init>(Unknown Source)
at com.sun.deploy.security.DeployURLClassPath$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.deploy.security.DeployURLClassPath.getLoader(Unknown Source)
at com.sun.deploy.security.DeployURLClassPath.getLoader(Unknown Source)
at com.sun.deploy.security.DeployURLClassPath.getResource(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader$2.run(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.plugin2.applet.Plugin2ClassLoader.findClassHelper(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
at sun.plugin2.applet.Plugin2Manager.initAppletAdapter(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

我不知道如何解决这个问题。

(我的小程序在 2017 年 11 月 30 日之前使用当前的 GlobalSign 证书签名)

最佳答案

我替换

NameVirtualHost *:8082
<VirtualHost *:8082>
ServerName *:8082

通过

NameVirtualHost test.com:8082
<VirtualHost test.com:8082>
ServerName test.com:8082

关于Java Applet 在其他 443 端口上加载 SSLProtocolException unrecognized_name,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27272725/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com