How to trust all hosts using Android DownloadManager with https
<p>I am using DownloadManager to download a file from a https server in my android app. As I'm still in the development phase, I would like to trust all hosts and avoid certificate checks. How can I tell DownloadManager to trust all hosts?</p>

<p>For further development, how can I add a certificate to trust a certain host with DownloadManager?</p>

<p>Thank you.</p>