[BUG] Expired SSL Certificate embedded in base docker image
Describe the bug
When using the Deepchecks Docker container, the application fails to make HTTPS requests due to an expired SSL certificate in the container environment. Expired 6/24/2025. When I visit https://localhost it shows words 'Internal Server Error'. Looking at the docker logs, the error is:
httpx.ConnectError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired
Attempts to manually generate and apply a self-signed certificate resolved the expiration issue but led to a new error:
SSL certificate problem: self-signed certificate in certificate chain
To Reproduce
-
Pull and run the latest Deepchecks Docker image.
-
Attempt to run a check or API request that makes an HTTPS call (e.g., accessing https://localhost).
Expected behavior The container should be able to make HTTPS requests without failing SSL validation, using an up-to-date set of root CA certificates. Visiting https://localhost should show the deepchecks login or dashboard
Screenshots
Environment (please complete the following information):
- OS: Ubuntu 22.04 (host)
- Python Version: 3.10
- Deepchecks Version: deepchecks/deepchecks:latest (Docker image pulled on or around [insert date])
Additional context Add any other context about the problem here.
Have you tried setting ENABLE_HTTP=true during the deploy process?