socket.io icon indicating copy to clipboard operation
socket.io copied to clipboard

cdn.socket.io has an out of date certificate.

Open hako opened this issue 11 years ago • 20 comments

I've been getting this error in the javascript console.

`Failed to load resource: The certificate for this server is invalid. You might be connecting to a server that is pretending to be “cdn.socket.io” which could put your confidential information at risk.``

I've looked at the https://cdn.socket.io certificate and it just expired here in the UK. (10:00AM BST)

expired_cert

Any chance of an update to the certificate on the cdn?

hako avatar May 27 '15 09:05 hako

Can confirm that it expired at 5:00 AM EST.

VelvalineSnow avatar May 27 '15 09:05 VelvalineSnow

I have the same problem with my ionic app, and worst of all I can't change it for local file - some why it's not working

e-gnat avatar May 27 '15 10:05 e-gnat

+1 I have the same error.

alexgerv avatar May 27 '15 13:05 alexgerv

+1

I can see that some of our users is suffering from this as well.

llaakso avatar May 27 '15 13:05 llaakso

"+1

I can see that some of our users is suffering from this as well."

If them have it in cash as it can work

e-gnat avatar May 27 '15 13:05 e-gnat

Same here Only way to resolve was to download the non https version from http://cdn.socket.io/socket.io-1.3.4.js and host the script locally

jossi avatar May 27 '15 14:05 jossi

Actually, I believe the non-https version is still working so in the mean time you can fall back to http://cdn.socket.io/socket.io-1.3.4.js unless you absolutely require HTTPS.

VelvalineSnow avatar May 27 '15 14:05 VelvalineSnow

Just checked the certificate and it's valid again. :+1:

hako avatar May 27 '15 19:05 hako

I'm having the same error again today. Exactly one year later. Are you guys renewing the certificate?

guigusman avatar May 27 '16 15:05 guigusman

Certificate has expired again today: ‎ Valid to: Friday, ‎May 27. ‎‎2016 5:00:54pm..

great way to start a weekend ;-)

renatogiuliani avatar May 27 '16 15:05 renatogiuliani

same here

trsreagan3 avatar May 27 '16 15:05 trsreagan3

I've switched it to cloudfare meanwhile, just point to your version. https://cdnjs.cloudflare.com/ajax/libs/socket.io/1.2.0/socket.io.min.js

For a production environment like mine, it was the best option.

guigusman avatar May 27 '16 16:05 guigusman

Same here. Hosting with this CDN is not a production ready solution

sentient avatar May 27 '16 20:05 sentient

+1

ivansf avatar May 27 '16 20:05 ivansf

@guigusman thanks for the cloudflare link. A quick fix just before the weekend. But long term I will host myself.

sentient avatar May 27 '16 21:05 sentient

Letsencrypt.org means this should never happen again.

MasterJames avatar May 27 '16 22:05 MasterJames

You should probably just stop providing your own CDN if keeping the ssl cert from expiring is not something you can commit to doing. Otherwise you're damaging the image of the product.

danielbeardsley avatar May 27 '16 23:05 danielbeardsley

Maybe look again at letsencrypt.org ? ! Free and automated with pretty easy setup.

MasterJames avatar May 28 '16 01:05 MasterJames

Come on un guys!

gabrieledarrigo avatar May 28 '16 07:05 gabrieledarrigo

I reached out to Automattic for them to fix it (they host the CDN). Not much I can do on my end. Sorry everyone!

rauchg avatar May 28 '16 16:05 rauchg