← centrs docs

transport/insecure-trust

A warning: insecure mode is on, so this transfer does not verify TLS certificates or SSH host keys when it connects. The warning reports that setting, not an outcome: ok and error say whether the transfer worked.

Emitted by

transfer with --insecure, CENTRS_INSECURE, insecure in centrs.env, or the insecure device property set (code). The message always says --insecure, whatever set it; in the --json output, meta.settings.insecure names the source. A provider that already trusts the peer, such as a quickchr VM, reports transport/provider-trust instead.

Why it matters

Without peer verification, a machine in the path can pose as the router and read the password and the file. --insecure is for labs and self-signed certificates you have checked another way.

Fix

First make verification pass:

Then turn insecure mode off at every source that sets it: