hassio-addons/addon-plex

Add SSL support for web UI

nathang21 opened this issue · 1 comments

Problem/Motivation

Many addons allow the use of an ssl certificate stored on the home assistant, for use by the webUI. Currently this Plex addon does not.

Expected behavior

Able to access PLEX Web UI via my home assistant domain with SSL.

Actual behavior

Browser warning NET::ERR_CERT_COMMON_NAME_INVALID

Steps to reproduce

  1. Start addon
  2. Navigate to "Web UI" option
  3. Change http --> https

Proposed changes

Add an ssl option to addon configuration, which allows specifying a cert and key file path, to enable SSL.

Navigate to "Web UI" option
Change http --> https

That is not possible, as Home Assistant cannot detect if SSL is enabled or running inside the add-on (as it is managed by Plex in this case). Unfortunately, it means I have to pick on or the other for the "Web UI" button.