valid Google Charts HTTPS certificate

When trying to fetch charts from the default Google Charts API URL via HTTPS, you are going to get a certificate error because of the cert not being valid for the domain.

The Google Charts service is available via different URLs but some of them seem to be invalid with the certificate.

A valid SSL secured URL for the Google Charts API is available:

Change http://chart.apis.google.com/chart

to https://chart.googleapis.com/chart

I found out this when I changed phpMemcachedAdmin to use the secured connection to obtain the charts via HTTPS.

The certificate is only valid for the following domains: *.google.com, *.android.com, *.appengine.google.com, *.cloud.google.com, *.google-analytics.com, *.google.ca, *.google.cl, *.google.co.in, *.google.co.jp, *.google.co.uk, *.google.com.ar, *.google.com.au, *.google.com.br, *.google.com.co, *.google.com.mx, *.google.com.tr, *.google.com.vn, *.google.de, *.google.es, *.google.fr, *.google.hu, *.google.it, *.google.nl, *.google.pl, *.google.pt, *.googleapis.cn, *.googlecommerce.com, *.googlevideo.com, *.gstatic.com, *.gvt1.com, *.urchin.com, *.url.google.com, *.youtube-nocookie.com, *.youtube.com, *.youtubeeducation.com, *.ytimg.com, android.com, g.co, goo.gl, google-analytics.com, google.com, googlecommerce.com, urchin.com, youtu.be, youtube.com, youtubeeducation.com (Errorcode: ssl_error_bad_cert_domain)

One thought on “valid Google Charts HTTPS certificate

Leave a Reply

Your email address will not be published. Required fields are marked *