@Esther_Moturi - thanks so much for reporting this issue! It looks like this is the main issue:
the input device is not a TTY. If you are using mintty, try prefixing the command with ‘winpty’
Looking it up, it looks like when we try and inject the cert by calling 3 docker exec
commands, they fail.
I’ve done some research (and filed a ticket!) but can you try this and confirm it’s a viable work around?
- finding the name of the
nginx
container with:docker ps|grep nginx
- entering the container with this (being sure to replace
CONTAINER_NAME
with the value form above):winpty docker exec -it CONTAINER_NAME bash
- and then running these 3 commands:
curl -s -o /etc/nginx/private/cert.pem https://local-ip.medicmobile.org/fullchain curl -s -o /etc/nginx/private/key.pem https://local-ip.medicmobile.org/key nginx -s reload