1

I have installed an SSL certificate on one of my domains and it works perfectly, but on some pages I include a Google Font, which causes my certificate icon to change in:

instead of:

The reason, according to Google Chrome (translated with Google Translate):

Your connection to xxxxxx is encrypted with 128-bit encryption. This page includes other resources which are not secure. These resources can be viewed by others while in transit and can be modified to fit.

So how can I make the browser 'trust' my SSL certificate, even though I request an external resource from Google Fonts?

And also, does it matter that I use links like these:

<link rel='stylesheet' id='et-shortcodes-css-css'  href='https://xxxxxx/wp-content/themes/Divi/epanel/shortcodes/css/shortcodes.css?ver=3.0' type='text/css' media='all' />

instead of

<link rel='stylesheet' id='et-shortcodes-css-css'  href='wp-content/themes/Divi/epanel/shortcodes/css/shortcodes.css?ver=3.0' type='text/css' media='all' />

Thanks!

5

4 Answers 4

1

Try to use https to fetch resources not located on your server. If it does not work (or if https is not supported), try to move the Google font file (css and woff) on your website server rather than fetching them from Google Font itself (ditto for other external resources).

Regarding explicitly using https for resources located on your server, it is not necessary.

1

You should use `href="/wp-content/themes/Divi/epanel/shortcodes/css/shortcodes.css" in your HTML code.

Then you should make sure that you use https:// form URLs in your CSS file for the URLs to any external resources.

0

You can put // in front of your hrefs, that way it will use the same protocol as the requesting page.

1
  • I downvoted this answer because it didn't work, now I notice it actually does and it was an error from my side. Sorry for the downvote, because I don't seem to be able to upvote it again (error: You last voted on this answer Aug 21 at 12:39. Your vote is now locked in unless this answer is edited.)
    – William
    Commented Sep 22, 2014 at 13:51
-1

To improve user's security, Google has recently announced that it has quit support for SHA-1 (128 bit) signature algorithm, that means it will not consider site that is encrypted with SHA-1.

To solve this error you need to contact your Certificate authority and ask for reissue your SSL certificate with SHA-2 (> 256 bit) encryption algorithm.

SHA-2 algorithm is compatible with compatible with updated version of Google Chrome.

After installing SSL with SHA-2 encryption algorithm you can see your Website with Green address bar.

1
  • -1, this isn't an answer to my question. Consider adding this as a comment though.
    – William
    Commented Sep 22, 2014 at 13:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.