# Unable to fetch certficate from cloud

**URL:** <https://forums.plex.tv/t/unable-to-fetch-certficate-from-cloud/638081>\
**Category:** Plex Media Server\
**Tags:** server-linux\
**Created:** [September 29, 2020, 8:20pm UTC](https://forums.plex.tv/t/unable-to-fetch-certficate-from-cloud/638081 "2020-09-29T20:20:25Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![mephij](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/mephij/32/208303_2.png) [@mephij](https://forums.plex.tv/u/mephij)\
**Post date:** [September 29, 2020, 8:20pm UTC](https://forums.plex.tv/t/unable-to-fetch-certficate-from-cloud/638081/1 "2020-09-29T20:20:25Z")

</div>

Server Version#: v1.20.2.3370-b1b651549

Suddenly I am unable to connect to my PMS over TLS. Falling back to http works. When the server starts, I see the following message in the logs:

```auto
ERROR - CERT: Could not fetch certificate from the cloud: 404

```

I have tried signing out of PMS and back in, but the result is the same. I believe this issue started today.

Anyone ever see anything like this before? Any help would be greatly appreciated.

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [October 3, 2020, 9:10pm UTC](https://forums.plex.tv/t/unable-to-fetch-certficate-from-cloud/638081/2 "2020-10-03T21:10:28Z")

</div>

197 posts were split to a new topic: [Plex Certificate “404” – Unable to obtain Certificate from cloud](https://forums.plex.tv/t/plex-certificate-404-resolution/639594)

---

<div class="post-metadata">

**Author:** ![captainsockpuppet](https://avatars.discourse-cdn.com/v4/letter/c/73ab20/32.png) [@captainsockpuppet](https://forums.plex.tv/u/captainsockpuppet)\
**Post date:** [October 4, 2020, 5:27pm UTC](https://forums.plex.tv/t/unable-to-fetch-certficate-from-cloud/638081/173 "2020-10-04T17:27:09Z")

</div>

My server is generating 404 Cert errors

Server Version 1.20.1.3252  
Please reset the cert for server: htpx

Thank you in advance

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [October 4, 2020, 6:09pm UTC](https://forums.plex.tv/t/unable-to-fetch-certficate-from-cloud/638081/174 "2020-10-04T18:09:35Z")

</div>

@captainsockpuppet

You have 3 servers with the same name.

How would you like me to proceed?

---

<div class="post-metadata">

**Author:** ![captainsockpuppet](https://avatars.discourse-cdn.com/v4/letter/c/73ab20/32.png) [@captainsockpuppet](https://forums.plex.tv/u/captainsockpuppet)\
**Post date:** [October 4, 2020, 6:15pm UTC](https://forums.plex.tv/t/unable-to-fetch-certficate-from-cloud/638081/175 "2020-10-04T18:15:00Z")

</div>

@ChuckPa I don’t actually have three server, but I think its registering older instances of the same server.  
Reset the latest and that should do it. Or if there is another way I can identify the current server for you I’ll happily do so.

Edit. I’m going to name the new one to HTPX-Current.

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [October 4, 2020, 6:34pm UTC](https://forums.plex.tv/t/unable-to-fetch-certficate-from-cloud/638081/176 "2020-10-04T18:34:28Z")

</div>

There is no need to rename it. I can see everything. I only ask because I can remove the older ones if you wish while I’m there.

I will monitor what you’re doing and proceed to follow your lead.

---

<div class="post-metadata">

**Author:** ![captainsockpuppet](https://avatars.discourse-cdn.com/v4/letter/c/73ab20/32.png) [@captainsockpuppet](https://forums.plex.tv/u/captainsockpuppet)\
**Post date:** [October 4, 2020, 6:35pm UTC](https://forums.plex.tv/t/unable-to-fetch-certficate-from-cloud/638081/177 "2020-10-04T18:35:09Z")

</div>

@ChuckPa  
Thank you so much for your assistance. Please feel free to remove the older instances and reset the cert on the newest.

Have a great rest of the weekend.

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [October 4, 2020, 6:36pm UTC](https://forums.plex.tv/t/unable-to-fetch-certficate-from-cloud/638081/178 "2020-10-04T18:36:48Z")

</div>

@captainsockpuppet

1. Server certificate reset. You may restart it now
2. Other (old) instances removed

![Screenshot from 2020-10-04 14-35-54](https://global.discourse-cdn.com/plex/original/3X/7/5/75182bc27cf0f4f185af4c7e3dcb96db16e337ad.png)

Plex.tv will clean up the two I just deleted.

---

<div class="post-metadata">

**Author:** ![captainsockpuppet](https://avatars.discourse-cdn.com/v4/letter/c/73ab20/32.png) [@captainsockpuppet](https://forums.plex.tv/u/captainsockpuppet)\
**Post date:** [October 4, 2020, 6:37pm UTC](https://forums.plex.tv/t/unable-to-fetch-certficate-from-cloud/638081/179 "2020-10-04T18:37:59Z")

</div>

@ChuckPa  
Seems to be working properly again.  
Thanks for you help and excellent response time!  
Have a great day and rest of the weekend!

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [October 4, 2020, 6:38pm UTC](https://forums.plex.tv/t/unable-to-fetch-certficate-from-cloud/638081/180 "2020-10-04T18:38:25Z")

</div>

You as well.

You’re free to rename it back to its former name .

---

<div class="post-metadata">

**Author:** ![amprsand](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/amprsand/32/90982_2.png) [@amprsand](https://forums.plex.tv/u/amprsand)\
**Post date:** [October 5, 2020, 1:58pm UTC](https://forums.plex.tv/t/unable-to-fetch-certficate-from-cloud/638081/181 "2020-10-05T13:58:52Z")

</div>

```auto
Oct 01, 2020 19:51:30.396 [0x7ff4167fc700] WARN - HTTP error requesting GET https://24-50-161-243.5594202b4f5143528e3a1a6f58772ba6.plex.direct:32400/identity (60, SSL peer certificate or SSH remote key was not OK) (SSL: no alternative certificate subject name matches target host name '24-50-161-243.5594202b4f5143528e3a1a6f58772ba6.plex.direct')
Oct 01, 2020 19:51:30.396 [0x7ff4167fc700] DEBUG - MyPlex: mapping state set to 'Mapped - Not Published'.
Oct 01, 2020 19:51:30.396 [0x7ff4167fc700] DEBUG - MyPlex: Last published value didn't change, we're done.
Oct 01, 2020 19:51:30.530 [0x7ff42ec30700] DEBUG - HTTP 200 response from GET https://plex.tv/api/v2/server/webhooks?X-Plex-Token=xxxxxxxxxxxxxxxxxxxx
Oct 01, 2020 19:51:34.847 [0x7ff42cbfb700] DEBUG - HTTP requesting GET https://plex.tv/api/resources.xml?includeHttps=1&includeRelay=1&auth_token=xxxxxxxxxxxxxxxxxxxx
Oct 01, 2020 19:51:35.373 [0x7ff417fff700] DEBUG - HTTP 200 response from PUT https://plex.tv/api/servers/374dce317f9c97162268ac549e255938e9f502b7/connectivity?X-Plex-Token=xxxxxxxxxxxxxxxxxxxx&asyncIdentifier=26d7efbe-db73-4b9f-a939-ffe0e56dea73
Oct 01, 2020 19:51:35.373 [0x7ff42f431700] DEBUG - MyPlex: async reachability check - current mapped state: 'Mapped - Not Published'.
Oct 01, 2020 19:51:35.373 [0x7ff42f431700] DEBUG - MyPlex: we already have requested a connectivity refresh for async identifier 26d7efbe-db73-4b9f-a939-ffe0e56dea73 which has not yet expired.
Oct 01, 2020 19:51:35.373 [0x7ff42f431700] DEBUG - EventSource: Successfully connected to 172.105.97.53.
Oct 01, 2020 19:51:35.627 [0x7ff3b27fc700] DEBUG - Request: [10.0.1.46:23155 (Subnet)] GET /web/common/img/backgrounds/preset-light2.479017288a229d836f44315d2b43afdb.png (4 live) GZIP Signed-in
Oct 01, 2020 19:51:35.627 [0x7ff3b27fc700] DEBUG - Final path: "/usr/lib/plexmediaserver/Resources/Plug-ins-a78fef9a9/WebClient.bundle/Contents/Resources/common/img/backgrounds/preset-light2.479017288a229d836f44315d2b43afdb.png"
Oct 01, 2020 19:51:35.628 [0x7ff3b27fc700] DEBUG - Content-Length of /usr/lib/plexmediaserver/Resources/Plug-ins-a78fef9a9/WebClient.bundle/Contents/Resources/common/img/backgrounds/preset-light2.479017288a229d836f44315d2b43afdb.png is 125754 (of total: 125754).
Oct 01, 2020 19:51:35.630 [0x7ff42f431700] DEBUG - Completed: [10.0.1.46:23155] 200 GET /web/common/img/backgrounds/preset-light2.479017288a229d836f44315d2b43afdb.png (4 live) GZIP 2ms 125754 bytes (pipelined: 4)
Oct 01, 2020 19:51:36.057 [0x7ff42f431700] DEBUG - EventSource: Got event [data] '<Message address="24.50.161.243" port="32400" asyncIdentifier="26d7efbe-db73-4b9f-a939-ffe0e56dea73" connectivity="0" command="notifyConnectivity"/>'
Oct 01, 2020 19:51:36.057 [0x7ff42f431700] DEBUG - PubSub: Got notified of reachability for async identifier 26d7efbe-db73-4b9f-a939-ffe0e56dea73: 0 for 24.50.161.243:32400 (responded in 683 ms)
Oct 01, 2020 19:51:36.057 [0x7ff42f431700] DEBUG - MyPlex: reachability check - current mapping state: 'Mapped - Not Published'.
Oct 01, 2020 19:51:36.057 [0x7ff42f431700] DEBUG - MyPlex: mapping state set to 'Mapped - Not Published (Not Reachable)'.
Oct 01, 2020 19:51:36.371 [0x7ff40effd700] DEBUG - HTTP 404 response from POST https://plex.tv/devices/374dce317f9c97162268ac549e255938e9f502b7/certificate?version=2&X-Plex-Token=xxxxxxxxxxxxxxxxxxxx
Oct 01, 2020 19:51:36.371 [0x7ff40effd700] ERROR - CERT: Could not fetch certificate from the cloud: 404
Oct 01, 2020 19:51:36.692 [0x7ff4157fa700] DEBUG - HTTP 200 response from GET https://plex.tv/api/v2/server/access_tokens?auth_token=xxxxxxxxxxxxxxxxxxxx&includeProfiles=1&includeProviders=1

```

Here’s a snippet from my logs, 404 error and other cert errors. I’ve just stopped my server. Can you please resolve this cert issue for me?

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [October 5, 2020, 2:22pm UTC](https://forums.plex.tv/t/unable-to-fetch-certficate-from-cloud/638081/182 "2020-10-05T14:22:32Z")

</div>

@amprsand

You show : `The user has 3 servers: Bilbo Swaggins, Lyons Den, Bilbo Swaggins`

Obviously at least one is ‘dead’.

Please come join us here (the focal thread) and let me know which server(s) to address.

> [@Plex Certificate "404" -- Unable to obtain Certificate from cloud](https://forums.plex.tv/t/plex-certificate-404-unable-to-obtain-certificate-from-cloud/639594):
>
> ALL: This thread is to focus all Plex.tv "Unable to obtain certificate from cloud . Error code 404. Please state the name of the server when you post. The distinctive signature is the “404” “CERT” error seen in the server log files immediately after restarting it. There are a few other situations where the certificate is also at fault. If in doubt. Verify DEBUG logging is ON Verify VERBOSE logging is OFF. Restart the server and let sit idle for 1 minute Download the logs ZIP file Attac…

I am closing this thread in favor of the focal thread (to save my sanity) 🙂

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [October 5, 2020, 2:23pm UTC](https://forums.plex.tv/t/unable-to-fetch-certficate-from-cloud/638081/183 "2020-10-05T14:23:18Z")

</div>


