I recently developed a website that has a real SSL area protected by a real valid SSL certificate.

However, I was getting complaints that, under SSL, browsers croaked about some parts being sent over an insecure connection.

I dug on the situation and found that because I was using Google Analytics, the <script> URL is HTTP under the SSL area. To get it working under SSL areas just change the URL:

Under SSL: <script src="https://ssl.google-analytics.com/urchin.js" ...

Out of SSL: <script src="http://www.google-analytics.com/urchin.js" ...

solved :-)

About

photo of Ruben Fonseca

My name is Ruben Fonseca. I'm a Computer Science and Systems Engineer from Portugal that loves FLOSS.

I'm currently taking some time off to myself, but feel free to contact me anytime at or via LinkedIn:

View Ruben Fonseca's profile on LinkedIn

Feeds

2 Comments | rss | atom | xml | json

  1. avatar pedro mg

    nice tip, indeed. Where did you get the certificate from ?

  2. avatar Rúben Fonseca

    I bought it from Comodo Positive SSL (http://www.positivessl.com/)

new comment New Comment