Hello
I have migrated my Plex server onto a new server. Everything works fine in “insecure” mode, but I can’t connect securely any more.
The new server is at a new domain. Do I need to generate a new certificate? If so, how do I do it?
I’m running Ubuntu Noble on my server, and it’s on a VPS. I have my own domain which points to the IP of my VPS.
Thanks
Given you have your own domain + cert,
Have you added that cert (cert+key+CA) to PMS as well as adding the alternate FQDN for accessing it?
OK so it looks like I need a new cert for the new domain. I have got one through Let’s Encrypt and installed it. I have selected it in the PMS’s settings and restarted PMS. I am still getting “Not secure” in Chrome, but I do get a green “lock” icon next to the server in the settings. When I click on the “Not secure” in the address bar, I get the certificate information on the screen and I can see that it is the new certificate (it says it was issued today).
Do I have to do something else to get Chrome to accept the certificate?
I’m sorry, I did miss this at a new domain.
Yes, you need a new cert for that.
You will need to remove the old cert from PMS (Settings - Server - Network) and add the new one.
When you restart PMS, it’s a good idea to check the logs (right as PMS starts – DEBUG logging enabled) to confirm it’s installing that new certificate.
If everything is installed correctly, you shouldn’t have to do anything in chrome.
It’s like going to a new web site in a new domain.
Don’t load the web app from a custom domain. It won’t work (fully).
Only load it from the IP address of your server (for local connections, mainly for initial setup and maybe when the Internet connection is down)
In all other cases, use the hosted web app.