How To Enable HTTPS For Grafana Using Existing LetsEncrypt Certificates
erics, Posted July 15th, 2020 at 4:32:25pm
1 2 3 4 |
sudo chgrp grafana /etc/letsencrypt/archive/www.yourdomain.com/privkey1.pem sudo chmod g+r /etc/letsencrypt/archive/www.yourdomain.com/privkey1.pem sudo vi /etc/grafana/grafana.ini sudo service grafana-server restart |
1 2 3 4 5 6 7 8 9 10 |
[server] # Protocol (http, https, socket) ;protocol = http protocol = https # https certs & key file ;cert_file = ;cert_key = cert_file = /etc/letsencrypt/archive/www.yourdomain.com/fullchain1.pem cert_key = /etc/letsencrypt/archive/www.yourdomain.com/privkey1.pem |
Leave Your Comment
All fields marked with "*" are required.