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

salt = "eb1XXXXXXXXXXXXXf52f4f803ae643"
trusted_hosts[] = ""
trusted_hosts[] = ""
force_ssl = 1

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

var u="";
_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: