best cloud hosting companies

Apr 09, 2025

15 min read

How to Enable HTTPS in Grafana with Let’s Encrypt SSL Certificates

Written by

Abdelhadi Dyouri
Is your Grafana dashboard still running on unencrypted HTTP? Without secure HTTPS, you're exposing sensitive metrics, dashboards, and login credentials to potential attackers every time someone accesses your instance. But don’t worry, with Let's Encrypt, you can enable HTTPS on Grafana to protect your sensitive metrics and user credentials, all for free. In this comprehensive guide, I will walk you through the entire process of securing your Grafana instance with free SSL certificates from Let's Encrypt. Enable HTTPS in Grafana with Let's Encrypt SSL Certificates

Enable HTTPS in Grafana Using Let's Encrypt SSL Certificates - Overview

To enable HTTPS in Grafana with Let's Encrypt, you’ll first install Certbot, use it to generate a certificate, then stop the Grafana server so that you can modify the configuration file to use the HTTPS protocol. Finally you’ll restart the service to apply changes. The entire process takes about 10 minutes and provides immediate protection with automatic certificate renewal.

Why Secure Your Grafana Dashboard with HTTPS?

When accessing Grafana through the web, unencrypted HTTP connections expose sensitive information including:
  • Login credentials
  • API keys
  • Visualization data and metrics
By enabling HTTPS with Let's Encrypt certificates, you ensure that all communication between users and your Grafana instance is encrypted, preventing potential eavesdropping and man-in-the-middle attacks.

Prerequisites for Installing Let's Encrypt on Grafana

Before you proceed with installing Let's Encrypt, you'll need: To get a reliable Linux VPS with Grafana pre-installed, go to our homepage, choose a server of your choice from one of our affordable VPS hosting servers and click Customize Your Server: Grafana 1-Click App Customize Server Select a suitable location from our 14 locations worldwide, then under Select Server Image = > Apps, choose Grafana, then proceed to checkout: Grafana 1-Click App SSD Nodes And congratulations! You'll have Grafana installed on your VPS in less than 5 minutes. To access Grafana, use the URL in the App Details section in your SSD Nodes dashboard: Grafana Default Credentials
Deploy Your Grafana VPS With Us And Save $5000+ Did you know that we are the most affordable VPS provider in the market? You can save up to $5000 with us over three years. Check out the SSD Nodes hosting pricing page, and stop overpaying for your VPS.

When you first access Grafana, your browser will show a security warning because Grafana uses a self-signed SSL certificate by default. We'll fix this warning by installing a trusted Let's Encrypt certificate in the next steps. For now, just click "Advanced" or "More Information" in your browser, then "Proceed" to continue to the login page: Enable HTTPS in Grafana with Let's Encrypt Once you proceed, you'll have access to the Grafana login page: Grafana Login with HTTPS With Grafana now installed on your VPS, you can move on to installing Let's Encrypt on it
Continue reading this article
by subscribing to our newsletter.
Subscribe now

A note about tutorials: We encourage our users to try out tutorials, but they aren't fully supported by our team—we can't always provide support when things go wrong. Be sure to check which OS and version it was tested with before you proceed.

If you want a fully managed experience, with dedicated support for any application you might want to run, contact us for more information.

Leave a Reply