“Connection closed by peer” error occurs in Android 7.0 Nougat while connecting to SHA256 CA installed Windows 2003 Server SP2 through HTTPS

与世无争的帅哥 提交于 2019-12-06 03:02:40

问题


My app communicates with server interface (classic ASP) through HTTPS.
It has been workd very well in prior version of Android 7.0 Nougat. (until 6.0)
But, Connection closed by peer Error occurs in Android 7.0 phone and AVD(Android virtual device).
Server is Windows 2003 Server SP2 (SSL Certificate was updated from SHA1 to SHA256 in Jul 23th, 2016), HTTPS, Classic ASP
Server's SSL certificate installation check status of GeoTrust is like below
(cryptoreport.geotrust.com/checker/views/certCheck.jsp)
GeoTrust check status screen shot of my Server's certificate
(Protocols not enabled : TLS1.1, TLS1.2)

In my opinion, Android 7.0 fails SSL handshaking with Windows 2003 Server of TLS1.0(only TLSv1.1, TLSv1.2 can support successful handshaking with SHA256 certificate?)
Is this right?
And I just found this hot fix : http://support.microsoft.com/kb/968730
Is this can be a solution?

How could I fix this problem


回答1:


Finally, we changed server to Win 2008...;; That's the only solution in my opinion.



来源:https://stackoverflow.com/questions/39287830/connection-closed-by-peer-error-occurs-in-android-7-0-nougat-while-connecting

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!