Skip to content

Test for SSL connection/certificate and handle otherwise #173

@fnoop

Description

@fnoop

There are various connections made to a maverick computer:

  • http/s for the website, on standard ports 80 and 443
  • maverick-discovery, currently non-ssl websockets on port 1234 but should be ssl
  • maverick-api, standard system instance on http and websockets on ssl port 6700
  • webrtc (janus) websocket transport on port 6796

If the main website is loaded over http, without loading the self-cert CA into the os/browser, then the various encrypted ports are not available. ssl is required for webrtc but not currently any of the other services.

If the main website is loaded over https and the CA cert is loaded correctly, then the unencrypted ports will not work.

The solutions are:

  1. Run everything unencrypted by default, and take the user through the CA cert loading process for webrtc, or show a warning.
  2. Run everything through ssl, and take the user through the CA cert loading process.
  3. Run everything through ssl, and fix the certs so they can be accepted with a warning (currently the certs don't allow that).

All of these should be tested.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions