-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SSL Certificate verification failed when using HTTPS required in Plex #2
Comments
Do you have a domain name with a certificate pointing to your server's address? If so, you can try using your server's HTTPS domain name in the config to connect to the server. I think this should resolve the issue. |
In this case i dont, this would also require to set a custom certificate in plex server, alternatively it would require to do a U-turn via a reverse proxy that has the doamin with proper certificate. It would be preferrable to do the connection EMP-PMS internally without requiring any external domains or services. another workaround is using the provided ip.xxx.plex.direct subdomain, though it is unclear if that might change frequently. |
Alright, I'll see if I can find a way to solve this problem. I'm not a professional developer; I even used Copilot to write EMP. So, I'm not sure if I can fix it, but I'll give it a try. Do you have to set Secure connections to Required? If you set it to Preferred, this issue shouldn't occur. |
Yes the issue only occurs when set to required. |
I am not developer either but i think using this option in the request might already solve the issue: |
Alright, I'll test it when I have time. |
When the Plex Server is set to "Secure connections: Required" the connection from EMP fails because the certificate is invalid for the IP:
HTTPSConnectionPool(host='192.168.1.90', port=32400): Max retries exceeded with url: / (Caused by SSLError(SSLCertVerificationError(1, "[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: IP address mismatch, certificate is not valid for '192.168.1.90'. (_ssl.c:1135)")))
Perhaps an option to ignore SSL Certificate can be added in config to prevent this.
The text was updated successfully, but these errors were encountered: