RESOLVED: 502 Error renewing expired server ssl certificate

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:

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

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

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

-Tony

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