Naereen / uLogMe

:bar_chart: :chart_with_upwards_trend: Automatically collect and visualize usage statistics on Ubuntu, with :musical_keyboard: key frequencies and :computer: window titles →
https://Naereen.GitHub.io/uLogMe/
MIT License
67 stars 14 forks source link

Use HTTPS to serve the pages #10

Closed Naereen closed 7 years ago

Naereen commented 7 years ago

Even if uLogMe runs only locally, it could be nice to have an optional support to HTTPS, with an (untrusted) SSL certificate.

Naereen commented 7 years ago

Demo of the HTTPS server

https://ulogme:8443/

Additional details?

In this screenshot, we see that firefox tells us a few things:

  1. The page is not truly secure: normal, as the server certificate is generating locally, and so is not automatically trusted by your browser,
  2. But the SSLeuth extension rate 8/10 the quality of the SSL connection: in fact, the SSL is perfect, except for the first issue.

One more trick?

The demo shows the https://ulogme:8443/ page, but it's just a trick:

$ sudo nano /etc/hosts
127.0.0.1 localhost  # should already be there
127.0.0.1 ulogme    # added for https://github.com/Naereen/uLogMe/