# Portal CDN Certificate Name Invalid Error

**URL:** <https://forum.ghost.org/t/portal-cdn-certificate-name-invalid-error/47018>\
**Category:** Bugs\
**Created:** [May 2, 2024, 4:20am UTC](https://forum.ghost.org/t/portal-cdn-certificate-name-invalid-error/47018 "2024-05-02T04:20:29Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![khoanguyen\_st](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/khoanguyen_st/32/30221_2.png) [@khoanguyen\_st](https://forum.ghost.org/u/khoanguyen_st)\
**Post date:** [May 2, 2024, 4:20am UTC](https://forum.ghost.org/t/portal-cdn-certificate-name-invalid-error/47018/1 "2024-05-02T04:20:29Z")

</div>

While developing a Ghost theme, I encountered an error related to the CDN used by Ghost. When attempting to access the resources served over the CDN, the following error messages were displayed in the browser console:

1. GET [https://cdn.jsdelivr.net/ghost/portal@~2.37/umd/portal.min.js](https://cdn.jsdelivr.net/ghost/portal@~2.37/umd/portal.min.js) net::ERR\_CERT\_COMMON\_NAME\_INVALID

2. GET [https://cdn.jsdelivr.net/ghost/sodo-search@~1.1/umd/sodo-search.min.js](https://cdn.jsdelivr.net/ghost/sodo-search@~1.1/umd/sodo-search.min.js) net::ERR\_CERT\_COMMON\_NAME\_INVALID

 ![image](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/3X/a/6/a6bf1b6d948b0c277bb0498c5fb2a09955232eca.png)

I’ve checked other Ghost themes, and they seem to be encountering similar issues as well.

---

<div class="post-metadata">

**Author:** ![vikaspotluri123](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/vikaspotluri123/32/24_2.png) [@vikaspotluri123](https://forum.ghost.org/u/vikaspotluri123)\
**Post date:** [May 2, 2024, 4:57am UTC](https://forum.ghost.org/t/portal-cdn-certificate-name-invalid-error/47018/2 "2024-05-02T04:57:17Z")

</div>

It’s working for me, are you behind a proxy or firewall that might be hijacking the CDN?

---

<div class="post-metadata">

**Author:** ![Kim](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/kim/32/30762_2.png) [@Kim](https://forum.ghost.org/u/Kim)\
**Post date:** [May 2, 2024, 5:08am UTC](https://forum.ghost.org/t/portal-cdn-certificate-name-invalid-error/47018/3 "2024-05-02T05:08:12Z")

</div>

I have this issue as well. Not sure when it happened, but I just realized it today. And I haven’t touched the code for at least a week, so it’s unlikely that I broke it.

Also, upon checking some of the sites hosted with Ghost, I noticed the same thing — the comments portal isn’t loading and it shows the same issues in Console.

---

<div class="post-metadata">

**Author:** ![mirokosut](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/mirokosut/32/27009_2.png) [@mirokosut](https://forum.ghost.org/u/mirokosut)\
**Post date:** [May 2, 2024, 6:48am UTC](https://forum.ghost.org/t/portal-cdn-certificate-name-invalid-error/47018/4 "2024-05-02T06:48:08Z")

</div>

I am having the same issues and I see the problem regardless the hosting. This looks like a certificate problems at JSDelivr. I have notified Ghost.

The following features/services are impacted, at least:

- Ghost Portal
- Search
- Announcement Bar

@vikaspotluri123, is it possible that you are loading the JS files locally and not from the JSDelivr?

---

<div class="post-metadata">

**Author:** ![jannis](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/jannis/32/39718_2.png) [@jannis](https://forum.ghost.org/u/jannis)\
**Post date:** [May 2, 2024, 6:50am UTC](https://forum.ghost.org/t/portal-cdn-certificate-name-invalid-error/47018/5 "2024-05-02T06:50:13Z")

</div>

I have just had a customer report the same. Not entirely sure yet what’s causing it.

The certificate is looking fine on my end (expiration in October 2024), but posters on [Reddit](https://www.reddit.com/r/webdev/comments/1ci43x4/jsdelivr_cdn_is_down/) also seem to experience it.

Quick Google search led me to this: [Failed to load resource: net::ERR\_CERT\_COMMON\_NAME\_INVALID · Issue #18357 · jsdelivr/jsdelivr · GitHub](https://github.com/jsdelivr/jsdelivr/issues/18357)

However, the customer that reported the issue is based in Europe, not in China 🤔

> [@mirokosut](#):
>
> is it possible that you are loading the JS files locally and not from the JSDelivr?

I have tried visiting the same sites that my customer visited—all of which use JSDelivr. They had an issue, I did not. I also tried it from different machines and could always access the files without issues. Really odd 🤔

Edit: [another interesting piece of the puzzle](https://www.reddit.com/r/webdevelopment/comments/1ci8p7g/comment/l27lo8q/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button). Apparently, for some people using a VPN solves the issue. I am not a networking pro, so having trouble trying to figure out what’s causing this…

---

<div class="post-metadata">

**Author:** ![mirokosut](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/mirokosut/32/27009_2.png) [@mirokosut](https://forum.ghost.org/u/mirokosut)\
**Post date:** [May 2, 2024, 7:03am UTC](https://forum.ghost.org/t/portal-cdn-certificate-name-invalid-error/47018/6 "2024-05-02T07:03:47Z")

</div>

Thank you very much for all these insights. That confirms it is completely CDN-related.

I have sent Ghost Support a link to this conversation. It does not seem to be Ghost-related, however, in everyone’s interest to solve it.

TO GHOST SUPPORT: We are standby if we can help 🙂

---

<div class="post-metadata">

**Author:** ![jonhickman](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/jonhickman/32/33102_2.png) [@jonhickman](https://forum.ghost.org/u/jonhickman)\
**Post date:** [May 2, 2024, 7:16am UTC](https://forum.ghost.org/t/portal-cdn-certificate-name-invalid-error/47018/7 "2024-05-02T07:16:05Z")

</div>

Hey folks, there’s a team here at Ghost working on this right now.

We posted an incident update for Ghost(Pro) users. The same issue affects self-hosters too.

> jsDelivr is causing console errors, affecting the functionality of the portal and comments sections on some sites. The issue with jsDelivr is noted on their status page and affects certain parts of the world. We are investigating.

---

<div class="post-metadata">

**Author:** ![mirokosut](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/mirokosut/32/27009_2.png) [@mirokosut](https://forum.ghost.org/u/mirokosut)\
**Post date:** [May 2, 2024, 7:18am UTC](https://forum.ghost.org/t/portal-cdn-certificate-name-invalid-error/47018/8 "2024-05-02T07:18:25Z")

</div>

Some certificate expired 2 hours ago and users report “half of the Internet is broken” 😆

[https://community.cloudflare.com/t/jsdelivr-expired-certificate-may-2024/650543](https://community.cloudflare.com/t/jsdelivr-expired-certificate-may-2024/650543)

> <https://github.com/jsdelivr/jsdelivr/issues/18565>
>
> \### Description
> 
> NET::ERR\_CERT\_DATE\_INVALID
> Subject: sni.cloudflaressl.com
> 
> I…ssuer: Cloudflare Inc ECC CA-3
> 
> Expires on: May 2, 2024
> 
> Current date: May 2, 2024
> 
> Chrome (including other browsers) says, SSL cert is expired.
> 
> From South Korea (utc+9)

---

<div class="post-metadata">

**Author:** ![bjang](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/bjang/32/29472_2.png) [@bjang](https://forum.ghost.org/u/bjang)\
**Post date:** [May 2, 2024, 7:26am UTC](https://forum.ghost.org/t/portal-cdn-certificate-name-invalid-error/47018/9 "2024-05-02T07:26:46Z")

</div>

Hi, Thanks for the investigation.  
I’m facing the same error and trying to change the cdn.jsdelivr~~ url.  
maybe changing subdomain, or use unpkg,  
in `versions/5.64.0/core/shared/config/defaults.json` file  
but struggling how to apply the changed settings…

---

<div class="post-metadata">

**Author:** ![jannis](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/jannis/32/39718_2.png) [@jannis](https://forum.ghost.org/u/jannis)\
**Post date:** [May 2, 2024, 7:30am UTC](https://forum.ghost.org/t/portal-cdn-certificate-name-invalid-error/47018/10 "2024-05-02T07:30:08Z")

</div>

If you need a quick solution, you could actually just disable the CDN from your configuration file (if you’re self-hosting):

> [@Is it possible to disable JSdelivr CDN?](https://forum.ghost.org/t/is-it-possible-to-disable-jsdelivr-cdn/31761):
>
> Is it possible to use Ghost without loading any third party services? This includes JSDELIVR. We do not want to load a CDN. Privacy Badger by the Electronic Frontier Foundation flags JSDELIVR as a potential tracker on our site even though we disabled memebership signups, the portal and we deleted all code in our theme that is related to search functionality. We are self-hosting Ghost and we use a modified version of the journal theme. Until recently it was possible to use Ghost without loading …

---

<div class="post-metadata">

**Author:** ![mirokosut](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/mirokosut/32/27009_2.png) [@mirokosut](https://forum.ghost.org/u/mirokosut)\
**Post date:** [May 2, 2024, 7:30am UTC](https://forum.ghost.org/t/portal-cdn-certificate-name-invalid-error/47018/11 "2024-05-02T07:30:43Z")

</div>

It started to work for me. 🎉

> **[Bento — Premium Ghost Theme](https://bento.happy.one)**
>
> Premium Ghost Theme based on the Bento Grid design pattern.

> **[Happyone](https://www.happy.one)**
>
> Short, actionable, and effective lessons to boost your wellbeing in the time you do not have. Yet. Making happiness science actionable. Join others in this one-time journey towards a happier life.

Folks, can you check on your side?

---

<div class="post-metadata">

**Author:** ![mirokosut](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/mirokosut/32/27009_2.png) [@mirokosut](https://forum.ghost.org/u/mirokosut)\
**Post date:** [May 2, 2024, 7:34am UTC](https://forum.ghost.org/t/portal-cdn-certificate-name-invalid-error/47018/12 "2024-05-02T07:34:41Z")

</div>

Exactly. Due to privacy and due to the fact it is a single point of failure.

I believe we cannot avoid a CDN in Ghost long-term, yet it would be interesting to investigate privacy-oriented CDNs (I assume there are good options).

From one of the threads above:

![327343098-f4458b8e-e67b-4e98-81c5-bdf6cfc27314](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/3X/8/e/8e68d116fbfdf3c4db18499f433846124aa7ccdc.png)

---

<div class="post-metadata">

**Author:** ![bjang](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/bjang/32/29472_2.png) [@bjang](https://forum.ghost.org/u/bjang)\
**Post date:** [May 2, 2024, 7:38am UTC](https://forum.ghost.org/t/portal-cdn-certificate-name-invalid-error/47018/13 "2024-05-02T07:38:42Z")

</div>

CDN problem is resolved though, without any modification on my side 😂

---

<div class="post-metadata">

**Author:** ![mirokosut](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/mirokosut/32/27009_2.png) [@mirokosut](https://forum.ghost.org/u/mirokosut)\
**Post date:** [May 2, 2024, 7:40am UTC](https://forum.ghost.org/t/portal-cdn-certificate-name-invalid-error/47018/14 "2024-05-02T07:40:09Z")

</div>

Happy to hear. Users in Cloudflare and JSDelivr forums have started confirming everything is back to normal. 🙂

---

<div class="post-metadata">

**Author:** ![jonhickman](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/jonhickman/32/33102_2.png) [@jonhickman](https://forum.ghost.org/u/jonhickman)\
**Post date:** [May 2, 2024, 7:46am UTC](https://forum.ghost.org/t/portal-cdn-certificate-name-invalid-error/47018/15 "2024-05-02T07:46:39Z")

</div>

Hey, a real-time update from our end…

The status page at jsDelivr is now cleared: [https://status.jsdelivr.com/](https://status.jsdelivr.com/)

We are just holding off closing our incident while we wait to see the updates propagate, so we’ll be in monitoring for a while. It might pay to hold off making changes to your self-hosted instances now, but that is your choice of course!

---

<div class="post-metadata">

**Author:** ![jonhickman](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/jonhickman/32/33102_2.png) [@jonhickman](https://forum.ghost.org/u/jonhickman)\
**Post date:** [May 2, 2024, 7:49am UTC](https://forum.ghost.org/t/portal-cdn-certificate-name-invalid-error/47018/16 "2024-05-02T07:49:17Z")

</div>

@khoanguyen_st thanks for raising it, great first post 😄

---

<div class="post-metadata">

**Author:** ![khoanguyen\_st](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/khoanguyen_st/32/30221_2.png) [@khoanguyen\_st](https://forum.ghost.org/u/khoanguyen_st)\
**Post date:** [May 2, 2024, 8:08am UTC](https://forum.ghost.org/t/portal-cdn-certificate-name-invalid-error/47018/17 "2024-05-02T08:08:48Z")

</div>

Thanks for all these responses! My portal is back now 😄

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/2X/b/ba9ce5100b8bb264586f4f572545596b2ce3f081.png) [@system](https://forum.ghost.org/u/system)\
**Post date:** [July 31, 2024, 8:09am UTC](https://forum.ghost.org/t/portal-cdn-certificate-name-invalid-error/47018/18 "2024-07-31T08:09:11Z")

</div>

Closed on July 31, 2024, 8:09am UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
