[Feature Request] add option to ignore ssl certificate error
andree392 opened this issue · 1 comments
Is your feature request related to a problem? Please describe.
Somewhat related to #51
I have plex set to SSL required, which kind of breaks Moviematch.
i do not have an external domain pointed towards plex nor do i use custom certificates.
plex creates real certificates (*.*.plex.direct
) to allow communication securely through https://app.plex.tv
I prefer to use that instead of managing it myself.
Describe the solution you'd like
I would like if MovieMatch added config option for
deno#11324
deno#1371
--unsafely-treat-insecure-origin-as-secure
this way i can use required ssl and https towards the IP like
- PLEX_URL=https://192.168.1.10:32400
to allow further tinkering with flags in the future, could implement something like
- DENO_FLAGS=--unsafely-treat-insecure-origin-as-secure,option2,option3
or just specifically this config option
- PLEX_URL_ALLOW_INSECURE=YES
should note as a workaround you can actually use the plex.direct url that plex creates for you.
it resolves to your internal ip.
structure of dns name is
192-168-1-10.<md5 hash>.plex.direct
which has a valid certificate, enabling you to point Moviematch to
- PLEX_URL=https:/192-168-1-10.md5hash.plex.direct:32400
With SSL required.
I'm not sure if the hash remains the same, if it doesnt it would require reconfigure the moviematch container to update url.