Skip to content
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 self-signed certificate issue / ignore request / bug #73

Open
Prankish8407 opened this issue Jan 5, 2024 · 0 comments
Open

SSL self-signed certificate issue / ignore request / bug #73

Prankish8407 opened this issue Jan 5, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Prankish8407
Copy link

Describe the bug
Hi,

First off i like what you are doing so thanks for that.
I currently run a remote plex server a remote host due to my homelab connection being to slow for multiple streams.
my homelab server basically does everything else (expect Plex).

Now when i run the container via HTTP to the remote host everything works and spotify playlists are imported into plex via API.
The issue starts when i change HTTP to HTTPS.

I rent the server via ultra.cc --> a known plex host but no root / admin rights on the server, i dont need it since i only run plex on there.
Since they control everything you are limited to the use of their domain --> in this case as follows:

https://cypher-direct.usbx.me:PORTNUMBER

so my configuration is pretty simple in my homelab:

playlistSync: image: rnagabhyrava/plexplaylistsync:latest container_name: playlistSync environment: - PLEX_URL= http://cypher-direct.usbx.me:PORTNUMBER - PLEX_TOKEN=PlexToken - SECONDS_TO_WAIT=21600 - SPOTIFY_CLIENT_ID=CLIENTID - SPOTIFY_CLIENT_SECRET=SECRET - SPOTIFY_USER_ID=USERID restart: unless-stopped

The above configuration works perfectly but i dont want my homelab to communicate over the internet via http.
If i then change it to https i get the following error:

`2024-01-05T13:18:19.864646939Z INFO:root:Starting playlist sync

2024-01-05T13:18:19.943271702Z WARNING:urllib3.connection:Certificate did not match expected hostname: cypher-direct.usbx.me. Certificate: {'subject': ((('commonName', '.HIDDEN.plex.direct'),),), 'issuer': ((('countryName', 'US'),), (('organizationName', "Let's Encrypt"),), (('commonName', 'R3'),)), 'version': 3, 'serialNumber': 'HIDDEN', 'notBefore': 'Dec 30 19:07:18 2023 GMT', 'notAfter': 'Mar 29 19:07:17 2024 GMT', 'subjectAltName': (('DNS', '.HIDDEN.plex.direct'),), 'OCSP': ('http://r3.o.lencr.org',), 'caIssuers': ('http://r3.i.lencr.org/',)}

2024-01-05T13:18:19.943297344Z ERROR:root:Plex Authorization error`

Could you please add a feature (flag) to ignore self-signed certificate checks

For example:
environment:

  • IGNORE_SSC=1 for yes 0 for null --> default 0

If any further information is required please dont hasitate to ask.

@Prankish8407 Prankish8407 added the bug Something isn't working label Jan 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant