newsnowlabs / dockside

Develop, stage and test on-prem or in your private cloud. Dockside is a tool for provisioning lightweight access-controlled IDEs, staging environments and sandboxes - aka 'devtainers' - on local machine, on-premises raw metal or VM, or in the cloud
https://dockside.io/
Apache License 2.0
255 stars 17 forks source link

Built-in SSL cert is expired #5

Closed paisley closed 1 year ago

paisley commented 2 years ago

Steps to reproduce

Run dockside using the build in cert

mkdir -p ~/.dockside && \
docker run -it --name dockside \
  -v ~/.dockside:/data \
  -v /var/run/docker.sock:/var/run/docker.sock \
  -p 443:443 -p 80:80 \
  --security-opt=apparmor=unconfined \
  newsnowlabs/dockside --ssl-builtin

Visit Dockside in web browser

Open Chrome and navigate to https://www.local.dockside.dev/

expired-cert

struanb commented 2 years ago

@paisley Thanks for raising this issue. The process for updating the built-in SSL certificate is supposed to be automated, but obviously something has broken. We'll take a look.

struanb commented 2 years ago

@paisley We've now pushed a new Docker image now with an updated built-in certificate. If you have a chance to confirm this fixes the issue, please let us know.

(By way of explanation, the certificate renewal process was working, but the process for embedding it in the image and pushing the image was not. We will aim to fix this before the current certificate expires on 22 October 2022, and if we can't we'll update the image manually before that date).

struanb commented 1 year ago

This issue has been permanently resolved in the latest release of Dockside, in which the *.local.dockside.dev SSL certificate is downloaded on launch from a public cloud storage bucket.

https://github.com/newsnowlabs/dockside/releases/tag/v2.0.0