Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Use HTTPS to serve the pages #10

Closed
Naereen opened this issue Nov 5, 2016 · 1 comment
Closed

Use HTTPS to serve the pages #10

Naereen opened this issue Nov 5, 2016 · 1 comment
Assignees

Comments

@Naereen
Copy link
Owner

Naereen commented Nov 5, 2016

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

@Naereen Naereen self-assigned this Nov 5, 2016
@Naereen Naereen closed this as completed in bc9cd03 Nov 5, 2016
@Naereen
Copy link
Owner Author

Naereen commented Nov 5, 2016

Demo of the HTTPS server

  • New: the ulogme_serve.sh script is now opening a HTTPS server by default, to port 8443 (looks like 443, the default https:// port),
  • But everything else works the same.

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:

  • First, edit your /etc/hosts file to add ulogme as an alias for localhost:
$ 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/

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant