fast-data-dev icon indicating copy to clipboard operation
fast-data-dev copied to clipboard

SSL example does not work.

Open cmdctl opened this issue 3 years ago • 2 comments

The SSL example given in the docs does not work... When ENABLE_SSL env variable is set then the container exits with code 127

Steps to reproduce:

  • Run the container with the example given in the SSL section of the README.md
docker run  --net=host \
           -e ENABLE_SSL=1 \
           lensesio/fast-data-dev

Actual: The container exits immediately with code 127

Output docker ps -a

CONTAINER ID   IMAGE                    COMMAND                  CREATED          STATUS                        PORTS     NAMES
ed34dd08f518   lensesio/fast-data-dev   "/usr/bin/dumb-init …"   49 seconds ago   Exited (127) 49 seconds ago             unruffled_leavitt

Output docker logs ed34dd08f518

TLS enabled.
Creating CA and key-cert pairs.

cmdctl avatar Nov 06 '21 08:11 cmdctl

This is the problem:

/usr/local/bin/setup-and-run.sh: line 397: /usr/local/bin/quickcert: No such file or directory

Installing this one solves the issue: https://github.com/andmarios/quickcert/releases/download/1.1/quickcert-1.1-linux-amd64

The QUICKCERT_URL should be changed in the dockerfile

andsarr avatar Dec 10 '21 14:12 andsarr

@andmarios Can we merge this? Facing the same issue.

viveks7 avatar Sep 16 '23 14:09 viveks7