在API18及以上版本中,http模块支持忽略SSL证书认证过程。可通过设置参数HttpRequestOptions中的remoteValidation为skip,以跳过验证服务端证书。
参考链接
RemoteValidation