技术文章 - CS183979

在 Windchill 中抛出错误“javax.net.ssl.SSLProtocolException:握手警报:unrecognized_name”

已修改: 22-Dec-2022   


注意:本文已使用机器翻译软件翻译,以方便非英语客户阅读。但翻译内容可能包含语法错误或不准确之处。请注意, PTC对本文所含信息的翻译准确性及使用后果不承担任何责任。请在 此处 查看本文的英文原始版本以便参考。有关机器翻译的更多详情,请单击 此处
感谢您告诉我们。我们将尽快审阅此译文。

适用于

  • Windchill PDMLink 10.2 to 11.1
  • Java 7 or later
  • SSL/TLS in use

说明

  • 在 SSL 握手期间,Java 客户端可能会发生异常,例如:
    • 当基于 Java 的命令行工具尝试连接到 Windchill 时
    • 当基于 Java 的组件(例如方法服务器)尝试连接到另一个远程方法服务器时。
  • 异常堆栈跟踪:
javax.net.ssl.SSLProtocolException:握手警报:unrecognized_name
在 sun.security.ssl.ClientHandshaker.handshakeAlert(ClientHandshaker.java:1292)
在 sun.security.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1952)
在 sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1077)
在 sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1312)
在 sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1339)
在 sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1323)
在 sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:563)
在 sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
在 sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:153)
在 wt.httpgw.HTTPLogin.init(HTTPLogin.java:313)
在 wt.method.RemoteMethodServer.initAuthenticator(RemoteMethodServer.java:957)
在 wt.method.RemoteMethodServer.handleAuthenticationException (RemoteMethodServer.java:936)
在 wt.method.RemoteMethodServer.invoke(RemoteMethodServer.java:799)
在 wt.auth.Authentication.getUserName(Authentication.java:68)
在 wt.auth.Authentication.main(Authentication.java:235)
这是文章 183979 的 PDF 版本,可能已过期。最新版本 CS183979