Okay, seems like that was it. For anyone else that might find it useful, this is what I did:
- On the VPS where I have the reverse proxy running, I exported the Let’s Encrypt certificate to a pfx file. In my case, it was on /etc/letsencrypt/live/my.domain, and I used the command openssl pkcs12 -export -in cert.pem -inkey private_key.pem -out cert.pfx.
- Choose the password for encrypting the certificate and keep it in mind.
- Get the resulting certificate and put it somewhere your Plex server can see it.
- Log into the server and go into Settings, Network.
- On Custom certificate location, put the path to the certificate you just exported, on Custom certificate encryption key, the password you used to encrypt it, and on Custom certificate domain, the domain the certificate is for (like plex.something.com).
- Apply the changes. I restarted the server for good measure.
- Hopefully success!
Thanks for the help, and sorry if I sounded a bit snappy at times. Been fighting remote access problems for way too long, either from ISP, Tailscale, Plex, or whatever