Skip to content
Commitwise
Menu

Network Security Config

An Android XML file that declares which certificates the app trusts, whether cleartext is allowed, and which keys are pinned.

Definition

Referenced from the manifest, it controls trust per domain without code: system or user certificate authorities, cleartext traffic, certificate pins with an expiration date, and debug-only overrides for development proxies.

In practice

Release builds trust only system CAs and pin api.example.com; debug builds also trust a developer's proxy certificate.

Learn it in context

Lessons that use this term.

Related terms

Esc

Type to search the whole site.