docs(search): explain which address mode on verifies [docs-only]

With OC_GRPC_CLIENT_TLS_MODE=on the certificate is checked against the
dialed address, which is now SEARCH_GRPC_ADDR by default. A bind address
such as 0.0.0.0:9220 then fails verification unless --endpoint names a
host the certificate is valid for.
This commit is contained in:
José M. Requena Plens committed 2026-10-04 23:34:06 +02:00
1 parent 6211e31b5d
commit 6a83068be2
1 file changed
+2
+2
View File
@@ -134,6 +134,8 @@ Please note that a reindex only picks up new or changed files. Files that have a
opencloud search index --all-spaces --force-rescan
```
The command connects to the service's gRPC address (`SEARCH_GRPC_ADDR`) unless `--endpoint` is given, with the TLS mode set in `OC_GRPC_CLIENT_TLS_MODE`. With `on`, the server certificate is verified against that address, so if `SEARCH_GRPC_ADDR` is a bind address such as `0.0.0.0:9220`, pass `--endpoint` with a host name the certificate is valid for.
## Metrics
The search service exposes the following prometheus metrics at `<debug_endpoint>/metrics` (as configured using the `SEARCH_DEBUG_ADDR` env var):