Skip to content

Task: Setup nginx with LetsEncrypt on Hetzner to Proxy Autobase #105

Closed

Description

@nelsonic

As noted in #104 (comment) the Autobase console is served on http; (not https) 🔓
so requests to the console can be intercepted by a MITM. 😬

Todo

This should be quick. Just need uninterrupted time. 🧑‍💻 ⏳

Prereq:

  • Add MBP SSH (public) key to the server so I can access it from laptop. 🔑 💻

Activity

  1. self-assigned this
    on Mar 21, 2025
  2. added theissue type on Mar 21, 2025
  3. moved this to More ToDo ThanCanEver Be Done in Nelson's Liston Mar 21, 2025
  4. nelsonic commented on Mar 21, 2025

    @nelsonic
    MemberAuthor

    Have access to the autobase console server from MBP:

    Image

    So I can work from the car while kids are at school. 🧑‍💻 ✅

  5. nelsonic commented on Mar 21, 2025

    @nelsonic
    MemberAuthor

    Kill the autobase Docker instance for now as it occupies TCP port 80 on the server.

    docker ps
    
    CONTAINER ID   IMAGE                     COMMAND                  CREATED        STATUS             PORTS                                                                                        NAMES
    6ea268d81fd7   autobase/console:latest   "/usr/bin/supervisor…"   3 months ago   Up About an hour   0.0.0.0:80->80/tcp, [::]:80->80/tcp, 0.0.0.0:8080->8080/tcp, [::]:8080->8080/tcp, 5432/tcp   autobase-console
    docker stop $(docker ps -a -q)
  6. nelsonic commented on Mar 21, 2025

    @nelsonic
    MemberAuthor

    Image

  7. nelsonic commented on Mar 21, 2025

    @nelsonic
    MemberAuthor
    Error response from daemon: Conflict. The container name "/pg-console" is already in use by container "05c7156394d14dd31f66f2e13e78434788928aa5801a4a8c48b4e4a79f906c2f". You have to remove (or rename) that container to be able to reuse that name.
  8. nelsonic commented on Mar 23, 2025

    @nelsonic
    MemberAuthor

    Spoke to: a support person via Live Chat: https://www.namecheap.com/help-center/live-chat
    They were helpful and together we determined that I had misconfigured the TXT record ... 🤦

    Full transcript: Chat_Transcript_23_Mar_2025.pdf

    https://ap.www.namecheap.com/domains/domaincontrolpanel/dwy.is/advancedns
    Image

    Confirmed working:
    https://toolbox.googleapps.com/apps/dig/#TXT/_acme-challenge.dwy.is
    Image

    https://autobase.dwy.is secure! 🎉
    Image

    Image
  9. added 2 commits that reference this issue on Mar 23, 2025
  10. nelsonic commented on Mar 23, 2025

    @nelsonic
    MemberAuthor

    http://autobase.dwy.is now automatically redirects to: https://autobase.dwy.is/login 🔒 ✅
    I'm a lot more happy about this not having an MITM attack now. ☺

  11. nelsonic commented on Mar 23, 2025

    @nelsonic
    MemberAuthor

    Just have to proof-read the documentation before I can close this. 👀 ⏳

  12. moved this from More ToDo ThanCanEver Be Done to Done in Nelson's Liston Mar 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions