Files
opencloud/services
José M. Requena Plens 3dfae3b984 fix(search): honor the gRPC client TLS mode in the index command
The index command read OC_GRPC_CLIENT_TLS_MODE with a meaning of its
own: "insecure" dialed without TLS, and every other value, including
the default and "off", dialed with verified TLS and ignored
OC_GRPC_CLIENT_TLS_CACERT. Against the default setup, where the gRPC
services run without TLS, it failed unless --insecure was passed, and
against services with TLS enabled it only connected when their
certificate was trusted by the system roots, never with the generated
certificate or a private CA.

Map the mode with pool.StringToTLSMode and dial with pool.NewConn, the
mapping and dialer the other services' reva clients use: "off" dials
without TLS, "insecure" uses TLS without verifying the certificate and
"on" verifies it against the configured CA. --insecure still forces a
connection without TLS, and then the mode is not read at all.
2026-10-04 23:34:06 +02:00
..
2026-06-03 16:28:44 +02:00
2026-08-03 13:20:03 +02:00
2026-09-07 23:17:03 +00:00
2026-07-14 18:12:24 +02:00
2026-09-23 17:05:01 +02:00
2026-06-18 15:05:49 +02:00
2026-09-07 23:17:03 +00:00
2026-09-16 14:57:41 +02:00
2026-09-07 12:52:33 +02:00