技术文章 - CS183979
在 Windchill 中抛出错误“javax.net.ssl.SSLProtocolException:握手警报:unrecognized_name”
已修改: 22-Dec-2022
适用于
- 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)
在 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