java1.6 和1.5中SSL连接有什么不同?
在jvm1.5中写的客户端,通过ssl连接到服务端正常没什么问题。 把客户端应用程序的jvm升级到1.6后,ssl连接失败。
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
Caused by: Error occurred while logging in: Error occurred while logging in: ; nested exception is:
javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
这是为什么呀??