Quantcast
Channel: Piwik Forums - Support & Bugs
Viewing all articles
Browse latest Browse all 13117

Re: Piwik and SSL

$
0
0
Hi there,

I have just installed my first SSL certificate on viand.net so that i can sell an ebook.

Viand.net is one of several websites tracked by a piwik installation on amorystarr.com
amorystarr.com has no need for SSL as not selling anything or doing anything else secure.
when i use http://www.whynopadlock.com/check.php
I get this error:
Secure calls made to other websites:
amorystarr.com SSL verification issue (Possibly mis-matched URL or bad intermediate cert.). Details:
ERROR: no certificate subject alternative name matches
[/color]

The only link at viand.net to amorystarr.com is from piwik. I have modified the piwik tracker code in viand.net to ensure that every instance of http is changed to https, but i'm still getting the same problem.

Also, is it possible to change the second and third instances of "http://" to "//" in the tracking code below so that i don't force secure loading on pages that don't need it. (only one page of viand.net needs to be secure.)

<!-- Piwik -->
<script type="text/javascript">
var pkBaseURL = (("https:" == document.location.protocol) ? "https://amorystarr.com/piwik/" : "http://amorystarr.com/piwik/");
document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
</script><script type="text/javascript">
try {
var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 2);
piwikTracker.trackPageView();
piwikTracker.enableLinkTracking();
} catch( err ) {}
</script><noscript><p><img src="http://amorystarr.com/piwik/piwik.php?idsite=2" style="border:0" alt="" /></p></noscript>
<!-- End Piwik Tracking Code -->


Thank you!!!!!

violet

Viewing all articles
Browse latest Browse all 13117

Trending Articles