aunefyren / wrapperr

Website based application that summarizes Plex statistics from a given period and displays it in a nice format. Similar to the Spotify Wrapped concept.
314 stars 22 forks source link

Recommendations on how to get around "x509: certificate signed by unknown authority" #65

Closed WingZeroh closed 1 year ago

WingZeroh commented 1 year ago

Hello,

I have my Tautulli using a self-signed certificate pointing to my domain so that some scripts can execute without error. Now I am encountering an error with Wrapperr. I am unable to get past the setup for Tautulli because it is returning:

"Failed to reach Tautulli server. Error: Get "https://192.168.x.x:8888/api/v2/?apikey=REDACTED&cmd=status": x509: certificate signed by unknown authority"

Does anyone have any suggestions? Wrapperr seems pretty cool so I'd like to have it around. I did get it to work if I don't utilize Taultulli's self-signed certificate feature.

aunefyren commented 1 year ago

Does Tautulli and/or Wrapperr use docker containers? The container/machine running Wrapperr needs to trust the certificate authority which created the Tautulli-self-signed certificate, which is the server/container Tautulli is running in.

WingZeroh commented 1 year ago

Hi @aunefyren,

It's running on a Synology Docker platform. Do you happen to know how I would get the container to trust the Tautulli generated cert on the wrapperr container? I've never encountered that yet with other similiar applications having issues with certs.

Thanks

WingZeroh commented 1 year ago

Applied fix: