← Rule catalog

Source kernel · Security

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

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.

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 .

Set it once in rust-doctor.toml

Other Security rules