SSL Certificates

Server Version#: 3.69.4
Player Version#: HTML5 on Chrome.

I have configured my Plex server to use an SSL certificate issued by Letsencrypt. I have configured the domain, and the password. However, when I use SSL to connect to it (https), Chrome is telling me that the site is not secure, and it indicates that the certificate is invalid. The certificate in question is not the one I used in the configuration, but rather the following:

*.52a9090c340e445582bdf7c5f92612d0.plex.direct
ssued by: Plex Devices High Assurance CA2
Expires: Saturday, November 2, 2019 at 5:00:00 AM Pacific Daylight Time

Does anyone know why this might be?

You need to install on your computer the root certificate from Letsencrypt. That is why it isn’t working, you don’t have a trusted certificate on your PC to bounce against the server certificate.

Why did I bother configuring a (trusted) SSL cert in the PMS then, if its not going to use it?

There is no way I’m installing a new root CA.

Another half-baked feature in Plex.

How the hell did you think your certificate would work?

My certificate is signed by a CA which is trusted on just about all OS distributions (https://letsencrypt.org/). However, Plex is not using my certificate (the one I configured in the PMS along with a private key and pkcs8 passphrase). To see my actual certificate working go to https://tinskip.net

It s been a while since I installed a certificate for anything Web-Related. Back in the day you installed a certificate by making a key, installing the Encrypt or whatever certificate, on your Webserver (payara, tomcat, whatever) and then linking it. It has nothing to do with the fact that letsEncrypt is trusted or not.

If you used Services like Plesk(Sounds like Plex, something totally different) it could be automated and was done in about 10 seconds. Maybe that is the reason you wonder why it’s not easier? As far as I know they are few Applications who can do this, not sure about Plex’s capabilities regarding that.

Installing it manually is still needed often and should take about an hour, if you don’t have much experience. (tons of tutorials online)

Edit: Best someone who has done it before speaks at this point. They maybe able to point you towards an easier solution then a manual one.

Your certificate does appear to be valid.

https://www.sslshopper.com/ssl-checker.html#hostname=https://tinskip.net/

I have seen where smaller companies require a CA to be installed on the local host. The bigger companies like godaddy and Norton don’t because they are pre-installed on most operating systems.

Settings - Server - Network - ‘Show Advanced’ - “Custom server access URLs”
https://support.plex.tv/articles/200430283-network/

Did you put your custom domain name in there, as a complete URL ?

Because if you didn’t, remote Plex clients will contact your server under its default FQDN on the *.plex.direct subdomain.
Which all servers get assigned automatically when they are signed into a plex.tv account.

Thank you for the tip. That was the incantation I was missing.

Hi,

I am also trying to do the same, use a letsencrypt certificate with a custom domain name, and also get the same issue when browsing via https

What settings did you update to finally get it to work?

Each time I try I get the following in the console:
image

I have updated the following settings:
image
image

I have tried domain names / access URLs with and without the port (32400), but nothing appears to work.

Also, is it enough to just save the settings, or does the service need a restart each time too?

thanks,

I believe the problem is that you are using a PKCS#7 certificate container (has the full chain), instead of a PKCS#12 one (contains the individual certificate + private key). You can use the openssl pkcs12 command to package both the certificate (don’t need the full chain, just the domain leaf) and the private key into a password-protected .pfx file. You then use that file as the certificate, and set the encryption key to the passphrase (literal, not a file).

Hope that helps.

Hi @tinskip

Yes, perfect, exactly what I needed. All up and running now on my certificate and domain name.

Thank you very much for your help

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