Earlier today I was trying to upload an app to the web for download as enterprise app.
But first, the .plist file needs to be hosted on a https server.
So I enabled Apache SSL default SSL configuration with a2enmod ssl and `service a2ensite` default-ssl (something like that) then restart the server.
HTTPS worked. So I moved all the files in enterprise folder to /var/www/ssl.
Finally was not getting some certificate error when clicking on the download link in the enterprise site, but the app couldn’t be downloaded. I move the .plist to be hosted in S3 since they have HTTPS by default, and wasted quite a lot of time and found out that the .ipa file cannot be in the HTTPS site. I think it might be due to the self-signed SSL.
Moved the .ipa file out of the SSL folder, and it finally downloads.
The .plist URL field should also be modified to the full URL pointing to the .ipa file. http://domain.com/enterprise/myapp.ipa for example.