249
250
:::
251
252
+### Obtaining TLS Certificates
253
+
254
+Self-signed certificates are suitable for testing and development environments. For production deployments, you should obtain certificates from a trusted Certificate Authority (CA) to ensure proper security and avoid browser warnings.
255
+
256
+#### Certificate Acquisition Options
257
+
258
+1. **Let's Encrypt (Recommended for public-facing instances)**
259
+ - Free, automated certificate authority
260
+ - For HTTP-01/TLS-ALPN-01, requires public DNS plus inbound ports 80/443, or use DNS-01 if those ports aren’t available
261
+ - Certificates auto-renew with proper configuration
262
+ - Install using [Certbot](https://certbot.eff.org/) or other ACME clients
263
+ - Certificates are issued in PEM format, compatible with Netdata
264
+
265
+2. **Commercial Certificate Authorities**
266
+ - Paid certificates from providers like DigiCert, Comodo, or GlobalSign
267
+ - Various validation levels (DV, OV, EV) available
268
+ - Suitable for organizations requiring extended validation
269
+ - Ensure certificates are provided in PEM format or convert them
270
+
271
+3. **Internal Certificate Authorities**
272
+ - For enterprise environments with private PKI infrastructure
273
+ - Allows complete control over certificate lifecycle
274
+ - See [Using custom CA certificates with Netdata](/docs/netdata-agent/configuration/using-custom-ca-certificates-with-netdata.md) for configuration details
275
+ - Requires clients to trust your internal CA
276
+
277
+#### Netdata Certificate Requirements
278
+
279
+Regardless of the source, ensure your certificates meet these requirements:
280
+
281
+- **Format**: PEM format (most common format, used by Let's Encrypt and compatible with OpenSSL)
282
+- **Full chain**: For CA-issued certificates, `ssl certificate` must include all intermediate certificates to avoid browser warnings. Let's Encrypt issues `fullchain.pem` (certificate + intermediates) and `privkey.pem` (private key) — use these directly.
283
+- **Location**: Place certificates in `/etc/netdata/ssl/` or another secure directory
284
+- **Permissions**: Certificate and key files must be readable by the `netdata` user
285
+- **Paths**: Configure the paths in `netdata.conf`:
286
+
287
+```text
288
+[web]
289
+ ssl key = /etc/netdata/ssl/privkey.pem
290
+ ssl certificate = /etc/netdata/ssl/fullchain.pem
291
+```
292
+
293
</details>
294
295
<details>