Not able to load matomo.js on website due to SSL error

I’ve installed matomo using docker and completed all setup steps. Also I’ve enabled SSL in the cofig file under the path /var/lib/docker/volumes/matomo/_data/config/config.ini.php

[General]
salt = "eb1XXXXXXXXXXXXXf52f4f803ae643"
trusted_hosts[] = "cs-XXX.dev.XXX.XXX:8080"
trusted_hosts[] = "food-india-organic.myshopify.com"
force_ssl = 1

Also in my tracking code I’ve changed the url to

var u="https://cs-XXX.dev.XXX.XXX:8080/";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '1']);

But when I load the website(shopify store) under the console section in my chrome browser I can see that matomo is failed to load. Am I missing any configuration?.

We setup SSL Certificate and then it worked :slightly_smiling_face: