# How to enable https for all components of scylladb monitoring?

**URL:** <https://forum.scylladb.com/t/how-to-enable-https-for-all-components-of-scylladb-monitoring/5034>\
**Category:** ScyllaDB\
**Tags:** scylladb-monitoring, configuration\
**Created:** [August 4, 2025, 7:27am UTC](https://forum.scylladb.com/t/how-to-enable-https-for-all-components-of-scylladb-monitoring/5034 "2025-08-04T07:27:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gwenael](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.scylladb.com/gwenael/32/1643_2.png) [@Gwenael](https://forum.scylladb.com/u/Gwenael)\
**Post date:** [August 4, 2025, 7:27am UTC](https://forum.scylladb.com/t/how-to-enable-https-for-all-components-of-scylladb-monitoring/5034/1 "2025-08-04T07:27:29Z")

</div>

_Installation details_  
#ScyllaDB version: ScyllaDB Monitoring 4.9.4  
#Cluster size:8  
#os (RHEL/CentOS/Ubuntu/AWS AMI): RHEL

Hello, I would like to enable https for components in ScyllaDB monitoring. I can see there are parameters to the start-all.sh script, but there is also a lot of “http” directly in the code.

Just wanted to know if there was a cheatcode to enable https to all components of scylladb monitoring or if I need to change directly file content like this one grafana/datasource.yml:

```auto
# cat grafana/datasource.yml
# config file version
apiVersion: 1
datasources:
- name: prometheus
  type: prometheus
  url: http://DB_ADDRESS
  access: proxy
  basicAuth: false
  isDefault: true
  jsonData:
    timeInterval: '20s'
- name: alertmanager
  type: alertmanager
  orgId: 1
  typeLogoUrl: public/img/icn-datasource.svg
  access: proxy
  url: http://AM_ADDRESS
  password:
  user:
  database:
  basicAuth:
  isDefault:
  jsonData:
    implementation: 'prometheus'

```

Best regards.

---

<div class="post-metadata">

**Author:** ![Gabriel](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.scylladb.com/gabriel/32/60_2.png) [@Gabriel](https://forum.scylladb.com/u/Gabriel)\
**Post date:** [August 10, 2025, 12:53pm UTC](https://forum.scylladb.com/t/how-to-enable-https-for-all-components-of-scylladb-monitoring/5034/2 "2025-08-10T12:53:47Z")

</div>

Hi @Gwenael ,

Asking @Amnon_Heiman to see if he can assist with an answer.

Thanks,

Gabriel

---

<div class="post-metadata">

**Author:** ![Gabriel](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.scylladb.com/gabriel/32/60_2.png) [@Gabriel](https://forum.scylladb.com/u/Gabriel)\
**Post date:** [October 15, 2025, 4:03pm UTC](https://forum.scylladb.com/t/how-to-enable-https-for-all-components-of-scylladb-monitoring/5034/3 "2025-10-15T16:03:18Z")

</div>

To enable HTTPS for all components of ScyllaDB Monitoring (Grafana, Prometheus, Alertmanager, etc.), there is no universal “cheatcode” that automatically switches all URLs in configs from HTTP to HTTPS. You typically need to configure HTTPS explicitly for each component and update relevant configuration files accordingly.

## Grafana HTTPS Configuration

- Grafana supports HTTPS natively via its **`grafana.ini`** config file.

- You need to provide Grafana with an SSL certificate and key (either self-signed or CA-signed).

- Set the following in **`grafana.ini`** :

- Then restart Grafana for changes to take effect.

- This encrypts the web UI connections.​

## Prometheus and Alertmanager HTTPS

- Prometheus and Alertmanager do not have built-in HTTPS for their web UIs by default.

- A common approach is to put them behind a reverse proxy (e.g., Nginx, HAProxy, Traefik) configured with SSL termination.

- Update Alertmanager’s URL in Grafana’s datasource to use HTTPS via the proxy.

- Similarly, use HTTPS URLs for Prometheus targets accessed by Grafana and alertmanager clients.​

## Configuration Files

- For instance, in **`grafana/datasource.yml`** , replace:

- Similarly update Alertmanager URLs to use HTTPS.

- Note that some URLs can be hardcoded in configs or scripts, so you may need to manually edit those files.
