Day before yesterday, Plex Media Server version 1.32.0.6918 was released. When I upgraded my Plex Media Server running on Ubuntu 20.04 from the previous version, 1.31.3.6868, to the new version, Plex Media Server stopped using my custom certificate and only uses a certificate issued by Plex that is valid for the *.c152cbf1d72c4055a2e73c8d3ef786cb.plex.direct. domain.
This results in my Plex Media Server showing certificate errors in the browser.
The release notes are slim but they mention FIXED : (Windows) Installing a TLS certificate could fail at random which might relate to this.
This forum post ( Plex certificate error ) appears to report the same issue but was (I believe) incorrectly closed as relating to a change in 1.32.0.6865 which changes the OpenSSL encryption methods. The OP in that forum post, who is reporting the same thing I am, is talking about certificate issues not related to cipher suites but instead related to the fact that Plex is not actually using the custom certificate and instead using on with a domain name like what I described above.
@FordGuy61 Right, I think that is the unrelated issue that I mentioned above in the other post. Were you posting that to say that you think the problem is related to OpenSSL version change? If so, I donât think that is whatâs going on here as the problem relates to the certificate Common Name, not to cipher suites.
There are many posts on the forum. Below is one that mentions PMS not using a custom certificate and defaulting to plex.direct.
The fix for all these recent SSL / cert problems seems to be creating a new certificate as mentioned in the Linux Tips.
I donât use a custom certificate on my server, so have not had to go through the certificate update process. Apologies if Iâm leading you down the wrong path to fix things.
@FordGuy61 Perfect, thank you for the additional detail that clarified exactly whatâs going on.
For anyone else : The confusing (to me) thing here is that Plex isnât serving up a certificate that has cipher suite issues, instead Plex is looking at the custom certificate that is installed, seeing that it uses ciphers that Plex no longer supports, and then silently ignoring the custom certificate and using itâs own certificate.
As @FordGuy61 points out above, the fix is to change the command youâre using to generate the certificate for Plex.
In my openssl command that I run to take the Letâs Encrypt certificate and render it into a pkcs12 certificate, I added the arguments -certpbe AES-256-CBC -keypbe AES-256-CBC -macalg SHA256 to the command, ran it to generate a new certificate file, upgraded Plex to the new version and restarted and it works.
Here is my full openssl command with the added arguments for reference :
@ChuckPa In my case the issue wasnât certificate password related, it was the missing cipher arguments that @FordGuy61 pointed out. Adding -certpbe AES-256-CBC -keypbe AES-256-CBC -macalg SHA256 to my certificate generation command solved the problem.