glance
glance copied to clipboard
Add self-signed SSL certificate globally
Description
Hello! While the individual allow-insecure configuration options for various widgets do the job (#269 #288 #361 #347 #484), it would be amazing to be able to add certificates container-wide so that everything works out of the box on networks (corporate, school, etc) that have self-signed certificates. This could be implemented into the docker-compose directly, or through some configuration option.
Hey, I believe you should be able to do this currently by mounting your certificate in the docker-compose.yml:
volumes:
- ./certs/mycert.crt:/usr/local/share/ca-certificates/mycert.crt:ro
volumes:
- ./certs/mycert.crt:/usr/local/share/ca-certificates/mycert.crt:ro
Hey, I believe you should be able to do this currently by mounting your certificate in the
docker-compose.yml:volumes: - ./certs/mycert.crt:/usr/local/share/ca-certificates/mycert.crt:ro
This, and also adding SSL_CERT_FILE=/usr/local/share/ca-certificates/mycert.crt to container's environment variables.
Hello! Sorry it's been so long. I've finally been able to test this and can confirm the combination of the volume mount and the environment variable do work. Thank you so much for the help!