grafana / grafana-docker

Grafana docker container
Other
645 stars 378 forks source link

Install/Use SSL #161

Closed RedSpid3r closed 6 years ago

RedSpid3r commented 6 years ago

hello, wondering how i can install/setup ssl on this docker image?

I know i need to change the config file to use https but i need to generate a self-signed ssl certificate first but not sure how to do that on this image.

any help (or links to documentation on how to do it) would be appreciated

xlson commented 6 years ago

Hi! Please send questions like this to the community site in the future: https://community.grafana.com

If you want to self sign I would suggest that you find a guide for how to do that and to it outside of Grafana and then either volume map the resources into your container or extend the container and add your certificate and key to the new image.

This guide might help: https://www.digitalocean.com/community/tutorials/openssl-essentials-working-with-ssl-certificates-private-keys-and-csrs