Article - CS183979

An error 'javax.net.ssl.SSLProtocolException: handshake alert: unrecognized_name' is thrown in Windchill

Modified: 16-Aug-2019   


Applies To

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

Description

  • The exception can happen on Java clients during SSL handshake, e.g.:
    • When a Java-based command line tool attempts to connect to Windchill
    • When a Java-based component (e.g. a Method Server) attempts to connect to another remote Method Server.
  • Exception stack trace:
javax.net.ssl.SSLProtocolException: handshake alert:  unrecognized_name
        at sun.security.ssl.ClientHandshaker.handshakeAlert(ClientHandshaker.java:1292)
        at sun.security.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1952)
        at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1077)
        at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1312)
        at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1339)
        at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1323)
        at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:563)
        at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
        at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:153)
        at wt.httpgw.HTTPLogin.init(HTTPLogin.java:313)
        at wt.method.RemoteMethodServer.initAuthenticator(RemoteMethodServer.java:957)
        at wt.method.RemoteMethodServer.handleAuthenticationException(RemoteMethodServer.java:936)
        at wt.method.RemoteMethodServer.invoke(RemoteMethodServer.java:799)
        at wt.auth.Authentication.getUserName(Authentication.java:68)
        at wt.auth.Authentication.main(Authentication.java:235)
This is a printer-friendly version of Article 183979 and may be out of date. For the latest version click CS183979