# Serve asset over https

**URL:** <https://forum.mautic.org/t/serve-asset-over-https/10205>\
**Category:** Product Support\
**Created:** [February 6, 2018, 2:16am UTC](https://forum.mautic.org/t/serve-asset-over-https/10205 "2018-02-06T02:16:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rgalaxy](https://avatars.discourse-cdn.com/v4/letter/r/d6d6ee/32.png) [@rgalaxy](https://forum.mautic.org/u/rgalaxy)\
**Post date:** [February 6, 2018, 2:16am UTC](https://forum.mautic.org/t/serve-asset-over-https/10205/1 "2018-02-06T02:16:46Z")

</div>

Hi, anybody know how to download an asset and serve it on https? because my site didnt let any http to access to my site.  
i use asset and when the form submitted i want to download the asset. but the asset downloaded via http, and i dont know how can i change it.

I’ve been looking around with no result, if there is any forum/page/tutorial i can learn from, please share 😄 Thank you

NB: the error on console was  
Mixed Content: The page at ‘[https://www.mysite.com/id/test-ebook](https://www.mysite.com/id/test-ebook)’ was loaded over HTTPS, but requested an insecure resource ‘[http://mautic.for.mysite/asset/3:tax-outlook-2018pdf?ct=YToyOntpOjA7czo0OiJmb3JtIjtpOjE7aTo3O30%3D](http://mautic.for.mysite/asset/3:tax-outlook-2018pdf?ct=YToyOntpOjA7czo0OiJmb3JtIjtpOjE7aTo3O30%3D)’. This request has been blocked; the content must be served over HTTPS.

---

<div class="post-metadata">

**Author:** ![petertl](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/petertl/32/511_2.png) [@petertl](https://forum.mautic.org/u/petertl)\
**Post date:** [February 6, 2018, 5:01am UTC](https://forum.mautic.org/t/serve-asset-over-https/10205/2 "2018-02-06T05:01:36Z")

</div>

You will have to switch your Mautic instance from HTTP to HTTPS.

---

<div class="post-metadata">

**Author:** ![rgalaxy](https://avatars.discourse-cdn.com/v4/letter/r/d6d6ee/32.png) [@rgalaxy](https://forum.mautic.org/u/rgalaxy)\
**Post date:** [February 6, 2018, 10:38pm UTC](https://forum.mautic.org/t/serve-asset-over-https/10205/3 "2018-02-06T22:38:03Z")

</div>

Hi PeterTL,

Thanks for the answer, but i am not quite understand with how to switch Mautic instance.

On my Mauticsite \> Settings \> Configuration \> General Settings \> Site’s URL, its already on https.  
my form action for that spesific form already to https.  
the script code on “Manual Copy” i already change the **script.src:** and **var mautic domain** into https

---

<div class="post-metadata">

**Author:** ![petertl](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/petertl/32/511_2.png) [@petertl](https://forum.mautic.org/u/petertl)\
**Post date:** [February 7, 2018, 5:31am UTC](https://forum.mautic.org/t/serve-asset-over-https/10205/4 "2018-02-07T05:31:14Z")

</div>

Switching to HTTPS/SSL means abtaining an SSL certificate from a SSL quthority, installing it on the webserver and configuring the hosts accordingly. Only changing the site’s URL does not do the trick.
