简体   繁体   English

无法从https下载.apk

[英]unable to download .apk from https

I've developed for my customer an Android application. 我为我的客户开发了一个Android应用程序。 I dont want to release it on the Play Strore. 我不想在Play Strore上发布它。

I've hosted it on my client website (asp.net, I've hadded the MIME type apk : application/vnd.android.package-archive). 我已经在我的客户端网站上托管了它(asp.net,我已经使用了MIME类型apk:application / vnd.android.package-archive)。 It works like a breeze via http. 它通过http轻而易举。

The problem is when I try to download the same apk via https : the download doesn't start. 问题是当我尝试通过https下载相同的apk时:下载无法启动。 I can see it in the notifications, but the progress bar doesn't move. 我可以在通知中看到它,但进度条不会移动。 I've tried with the stock browser and Dolphin browser in Android 2.3 and 4.0. 我已尝试使用Android 2.3和4.0中的股票浏览器和Dolphin浏览器。 It's allways the same issue. 这总是同样的问题。

As Rghav asked me, the HTTPS certificat authority isn't accepted by Android. 正如Rghav问我的那样,Android不接受HTTPS证书颁发机构。 The only solution is to use a certificate provided from a trusted CA. 唯一的解决方案是使用受信任的CA提供的证书。

删除请求筛选中的app_data> IIS中的隐藏段,它可以正常工作

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM