最近一个需求上传图片的接口在android 4.4机子上报出了这个问题:
SslHandshake aborted:ssl=0x7b8b5260:I/O error during system call,Read-only file system…
网上查了下原因:
1.服务或者客户端ssl 证书过期或port重置
2.服务端不支持Tsl 1.0
3.update IIS8时 “Require Server Name Indication”没有勾选
解决:
通过:https://www.ssllabs.com/ssltest/analyze.html?d=xx.xxxx.com 在这里面测的结果是服务不支持tsl1.0 让服务同学添加支持TSL1.0协议
客户端解决办法:
激活TSL1.1 、1.2 但是只在api>16 时有效。api<16 客户端没有办法解决,只有通过服务支持TSL1.0协议解决。