Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

unable to download .apk from https

Tags:

android

apk

I've developed for my customer an Android application. I dont want to release it on the Play Strore.

I've hosted it on my client website (asp.net, I've hadded the MIME type apk : application/vnd.android.package-archive). It works like a breeze via http.

The problem is when I try to download the same apk via https : the download doesn't start. 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. It's allways the same issue.

like image 930
Alexandre MOINE Avatar asked Nov 12 '22 23:11

Alexandre MOINE


1 Answers

As Rghav asked me, the HTTPS certificat authority isn't accepted by Android. The only solution is to use a certificate provided from a trusted CA.

like image 74
Alexandre MOINE Avatar answered Dec 24 '22 20:12

Alexandre MOINE