# RESOLVED: 502 Error renewing expired server ssl certificate

**URL:** <https://forums.plex.tv/t/resolved-502-error-renewing-expired-server-ssl-certificate/937826>\
**Category:** Plex Media Server\
**Tags:** server-docker, server-unraid\
**Created:** [April 8, 2026, 7:44pm UTC](https://forums.plex.tv/t/resolved-502-error-renewing-expired-server-ssl-certificate/937826 "2026-04-08T19:44:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ncohafmuta](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/ncohafmuta/32/98349_2.png) [@ncohafmuta](https://forums.plex.tv/u/ncohafmuta)\
**Post date:** [April 8, 2026, 7:44pm UTC](https://forums.plex.tv/t/resolved-502-error-renewing-expired-server-ssl-certificate/937826/1 "2026-04-08T19:44:51Z")

</div>

Server Version#: 1.43.1.10576  
Player Version#: NA

I was updating my QA plex instance container to test the new public server version.

I don’t start this instance often; I think Sep 2025 was the last time i tested it. As such, my ssl certificate was expired, but it would not renew, throwing a 502 error.

I initially started the instance with its previous version (1.42.2.10156) before upgrading, it threw the same errors on that version as it is now on the current version.

Logs are:

```auto
Apr 08, 2026 13:15:20.922 [23132431625016] DEBUG - [HCl#15] HTTP requesting GET https://plex.tv/api/v2/devices/2a02265629e8568c52eb4d2178f20876f7161d01/certificate/subject
Apr 08, 2026 13:15:20.994 [23132444281656] DEBUG - [HttpClient/HCl#15] HTTP/1.1 (0.1s) 200 response from GET https://plex.tv/api/v2/devices/2a02265629e8568c52eb4d2178f20876f7161d01/certificate/subject (reused)
Apr 08, 2026 13:15:21.020 [23132431625016] DEBUG - [HCl#16] HTTP requesting PUT https://plex.tv/api/v2/devices/2a02265629e8568c52eb4d2178f20876f7161d01/certificate/csr?reason=expiring&invalidIn=-9347413
Apr 08, 2026 13:15:21.106 [23132444281656] DEBUG - [HttpClient/HCl#16] HTTP/1.1 (0.1s) 204 response from PUT https://plex.tv/api/v2/devices/2a02265629e8568c52eb4d2178f20876f7161d01/certificate/csr?reason=expiring&invalidIn=-9347413 (reused)
Apr 08, 2026 13:15:21.107 [23132431625016] DEBUG - [HCl#17] HTTP requesting GET https://plex.tv/api/v2/devices/2a02265629e8568c52eb4d2178f20876f7161d01/certificate/download
Apr 08, 2026 13:15:21.172 [23132444281656] DEBUG - [HttpClient/HCl#17] HTTP/1.1 (0.1s) 202 response from GET https://plex.tv/api/v2/devices/2a02265629e8568c52eb4d2178f20876f7161d01/certificate/download (reused)

... 202s repeated ...

Apr 08, 2026 13:15:31.001 [23132537510712] DEBUG - CERT: incomplete TLS handshake from <IP>:5387: sslv3 alert certificate expired (SSL routines)

Apr 08, 2026 13:15:36.890 [23132444281656] DEBUG - [HttpClient/HCl#3b] HTTP/1.1 (0.1s) 502 response from GET https://plex.tv/api/v2/devices/2a02265629e8568c52eb4d2178f20876f7161d01/certificate/download (reused)
Apr 08, 2026 13:15:36.890 [23132431625016] ERROR - CERT: Error acquiring new certificate: Failed to retrieve cert from plex.tv: 502,

```

I stopped the server, removed Cache/certificate.p12, restarted and I still get the 502 error with no new cert present

```auto
Apr 08, 2026 13:20:54.715 [22887742221112] DEBUG - [HCl#15] HTTP requesting GET https://plex.tv/api/v2/devices/2a02265629e8568c52eb4d2178f20876f7161d01/certificate/subject
Apr 08, 2026 13:20:54.785 [22887754877752] DEBUG - [HttpClient/HCl#15] HTTP/1.1 (0.1s) 200 response from GET https://plex.tv/api/v2/devices/2a02265629e8568c52eb4d2178f20876f7161d01/certificate/subject (reused)
Apr 08, 2026 13:20:54.826 [22887742221112] DEBUG - [HCl#16] HTTP requesting PUT https://plex.tv/api/v2/devices/2a02265629e8568c52eb4d2178f20876f7161d01/certificate/csr?reason=missing&invalidIn=0
Apr 08, 2026 13:20:54.909 [22887754877752] DEBUG - [HttpClient/HCl#16] HTTP/1.1 (0.1s) 204 response from PUT https://plex.tv/api/v2/devices/2a02265629e8568c52eb4d2178f20876f7161d01/certificate/csr?reason=missing&invalidIn=0 (reused)
Apr 08, 2026 13:20:54.909 [22887742221112] DEBUG - [HCl#17] HTTP requesting GET https://plex.tv/api/v2/devices/2a02265629e8568c52eb4d2178f20876f7161d01/certificate/download
Apr 08, 2026 13:20:54.974 [22887754877752] DEBUG - [HttpClient/HCl#17] HTTP/1.1 (0.1s) 202 response from GET https://plex.tv/api/v2/devices/2a02265629e8568c52eb4d2178f20876f7161d01/certificate/download (reused)

... 202s repeated ...

Apr 08, 2026 13:21:04.610 [22887754877752] DEBUG - [HttpClient/HCl#38] HTTP/1.1 (0.1s) 502 response from GET https://plex.tv/api/v2/devices/2a02265629e8568c52eb4d2178f20876f7161d01/certificate/download (reused)
Apr 08, 2026 13:21:04.610 [22887742221112] ERROR - CERT: Error acquiring new certificate: Failed to retrieve cert from plex.tv: 502,

```

Any help is appreciated

-Tony

---

<div class="post-metadata">

**Author:** ![ncohafmuta](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/ncohafmuta/32/98349_2.png) [@ncohafmuta](https://forums.plex.tv/u/ncohafmuta)\
**Post date:** [April 9, 2026, 1:15am UTC](https://forums.plex.tv/t/resolved-502-error-renewing-expired-server-ssl-certificate/937826/2 "2026-04-09T01:15:42Z")

</div>

It’s working now. Didn’t change anything. Weird

-Tony

---

<div class="post-metadata">

**Author:** ![FordGuy61](https://avatars.discourse-cdn.com/v4/letter/f/22d042/32.png) [@FordGuy61](https://forums.plex.tv/u/FordGuy61)\
**Post date:** [April 9, 2026, 2:27am UTC](https://forums.plex.tv/t/resolved-502-error-renewing-expired-server-ssl-certificate/937826/3 "2026-04-09T02:27:10Z")

</div>

Plex had DNS issues with their back-end systems earlier today. Possibly the cause of your problems.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [July 8, 2026, 2:27am UTC](https://forums.plex.tv/t/resolved-502-error-renewing-expired-server-ssl-certificate/937826/4 "2026-07-08T02:27:21Z")

</div>

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