Source kernel · Security
TLS certificate or hostname verification turned off
rust_doctor::source::disabled_tls_verification
Keep TLS verification enabled and configure the required trust roots or server name instead.
- Category
- Security
- Default level
- warn
- Tier
- P0
- Producer
- Source kernel
- Diff scope
- item
Not a defect when
The client only talks to a local test server with a self-signed certificate, in test code or behind an explicit opt-in flag production builds never set.
Crates it waits for
It runs only where at least one of these crates is resolved, and every one resolved sits in the range it was validated on:
reqwest*
What it reads
Source text, without resolving types or expanding macros.
Tier
Gravest tier: caps the score of its dimension.
The tier bounds how severe a rule may be; its category bounds the tier.Diff scope
The function or item around the changed line.
What--scope contextual looks at to decide whether a change caused the finding.Change it
Turn it off, or make it blocking, without touching the code it flags:
rust-doctor --rule rust_doctor::source::disabled_tls_verification=off .
rust-doctor --rule rust_doctor::source::disabled_tls_verification=error .