Server Version#: 1.14.1.5488 (not applicable)
Player Version#: 2.27.0.949 (Mac)
When a valid certificate was issued for the Plex Server and it is expired, Plex clients do still connect to the server, although Browsers reject the connection and display that the certificate has expired and the connection is insecure.
Are you talking about your own cert expiring? Because the plex.tv cert is still valid and all my browsers and clients are connecting securely. Browser reports an active certificate.
I believe Plex uses a CA issued wildcard certificate for communication between clients and your server thatās running on port 32400. Whatever cert you have on port 443 for your server thatās hosting PMS doesnāt come into the equation. Donāt worry about it, its one of the advantages of using Plex (as opposed to jumping through hoops to install your own cert in Emby)
Thatās correct. The Plex.tv cert is still valid. However I donāt think Plex sends the media via their servers, so there is a direct connection between my Plex Server and the client. The question is, whether the Plex client retrieves the certificate serial number via Plex.tv services. Can anybody confirm that?
And even if thatās the case, I think that a client that is configured as never fallback to insecure connections should not connect to expired certificates, even if it has been verified in terms of the serial number.
Hi,
thatās correct but via the Plex subdomain only metadata is exchanged. The actual movie files are sent directly from the Plex server to the client, NOT via .plex.direct.
The question is, whether the Plex App checks the real server certificateās serial number etc., that is used when streaming.
Untrue. If the plex app says the connection to the server is āsecureā, it means that the FQDN of your server is used ā for all data traffic.
Otherwise no encrypted communication would be possible.
Yes. What I think is that the Client connects like this:
Client contacts Plex.tv and requests the FQDN/IP of Plex Server and the certificate serial number/hash
Client establishes a direct HTTPS connection to the FQDN/IP, validating the certificate against the serial number. Thatās the reason why expired certificates work, because the certificate is only checked against the serial number (which is sufficient in this case).
For this to work, the Plex Server sends itās certificate serial number to Plex.tv so the client can validate it correctly.
Thanks. Although that doesnāt 100% explain it, I know how it works now.
When you use your own certificate for Plex and it is valid, Plex will automatically connect to your server via your FQDN.
When you donāt use a certificate for Plex, Plex will create a *.plex.direct certificate for you and clients connect to *.plex.direct.
When you use your own certificate for Plex and it is INVALID (expired), Plex will automatically fall back to the *.plex.direct FQDN.
Cheers @OttoKerner, thatās interesting. Sorry, I didnāt fully understand how pinning worked before reading up on it just now. I saw the asterisk at the beginning of the .plex.direct cn in the certificate and assumed it was a regular wildcard cert.