Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/guides/tls-encryption.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,15 +65,15 @@ If you'd like to test out TLS locally using the `example.com` domain, you can ad
127.0.0.1 example.com
```

You can then use cURL to interact with your local Prometheus setup:
Use the port configured for Prometheus's web listener (9090 by default) to interact with your local Prometheus setup:

```bash
curl --cacert /home/prometheus/certs/example.com/example.com.crt \
https://example.com/api/v1/label/job/values
https://example.com:9090/api/v1/label/job/values
```

You can connect to the Prometheus server without specifying certs using the `--insecure` or `-k` flag:

```bash
curl -k https://example.com/api/v1/label/job/values
curl -k https://example.com:9090/api/v1/label/job/values
```