Pcornel
Browse topics
Options
Recent
Favorites
Storage · Technical reference

CHAP

Direct answer

CHAP validates possession of a shared secret through challenge-response during iSCSI login. It is an authentication mechanism, not payload encryption; protecting storage traffic confidentiality requires separate network/security controls such as IPsec where supported and designed.

When to use this

Use it when the storage question has been narrowed to iSCSI → CHAP. Preserve stable endpoint/LUN identity, separate connectivity from login/presentation, and prove each path plus the upper consumer before making disruptive SAN or iSCSI changes.

First 30 seconds

1. CHAP authenticates initiators (and targets with mutual CHAP).

2. 12–16 char secrets.

3. Protects against rogue initiators, not eavesdropping.

4. Store secrets securely.

5. Combine with ACLs and isolated network.

Operational verification

login → CHAP challenge/response → access

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Failure and recovery traps

Successful CHAP shows authentication for the configured direction(s); it does not encrypt data or show LUN authorization and application integrity.

Suspicious evidence: repeated authentication rejects, mismatched one-way/mutual policy, stale secret, credentials exposed in troubleshooting output or CHAP treated as encryption.

Platform / version applicability
SAN and storage networking
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformSAN and storage networking
Scope / prerequisiteUse it when the storage question has been narrowed to iSCSI → CHAP. Preserve stable endpoint/LUN identity, separate con…
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Verification path Verify boundary

TCP connection → iSCSI login → CHAP challenge/response → authenticated session → target authorization/mapping → LUN

Healthy evidence: intended authentication mode succeeds for correct initiator/target identities, secrets remain protected and only authorized sessions progress to mapped LUNs.

Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • CHAP ≠ encryption.
  • One-way CHAP ≠ mutual authentication.
  • TCP reachability ≠ CHAP success.
  • Successful CHAP ≠ LUN authorization if mapping policy still denies access.
Key checks
  • grep -E 'node.session.auth' /etc/iscsi/iscsid.conf — CHAP settings
  • iscsiadm -m node -T <iqn> -o update -n node.session.auth.authmethod -v CHAP — enable
  • Set-IscsiChapSecret — Windows initiator secret
ReferenceImportant terms & boundaries2 sections · depth on demand

Identity and presentation

Successful CHAP shows authentication for the configured direction(s); it does not encrypt data or show LUN authorization and application integrity.

In depth

CHAP authenticates with a shared secret that is never sent in clear: the target sends a challenge, the initiator returns an MD5 hash of ID + secret + challenge. One-way CHAP lets the target verify the initiator; mutual CHAP also lets the initiator verify the target. Secrets are typically 12–16 characters and must differ between directions.

# /etc/iscsi/iscsid.conf (or per node record)
node.session.auth.authmethod = CHAP
node.session.auth.username = esx01
node.session.auth.password = <secret>

CHAP does not encrypt data. Protect iSCSI traffic with a dedicated, non-routed VLAN; use IPsec or MACsec where encryption in transit is required.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docSAN and storage networking current

Authoritative/upstream documentation reviewed for bounded claims in iSCSI → CHAP. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://www.rfc-editor.org/rfc/rfc7143 · confidence 94%
Terminology layer

Terms & aliases

Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.

Aliases that resolve here
iscsi chapchap authentication iscsimutual chap
Embedded reference data

Quick lookup tables

iSCSI → CHAP SAN/iSCSI map

Fast identity, path, presentation and proof boundaries for iSCSI → CHAP.

SAN/iSCSI boundaryWhat to verifyProof limit
Identity / presentationInitiator + target identity, portal/fabric path, LUN stable ID and mappingDiscovery or login alone does not prove correct storage ownership
Path / transportLink/VLAN/IP/TCP or fabric state, path independence, session/path errors and multipath groupingOne reachable path does not prove resilience or backend health
Failure boundarySuccessful CHAP proves authentication for the configured direction(s); it does not encrypt data or prove LUN authorization and application integrity.Correlate host, network/fabric and target/array evidence for the same time window
AcceptanceHealthy evidence: intended authentication mode succeeds for correct initiator/target identities, secrets remain protected and only authorized sessions progress to mapped LUNs.Close only after the original block workload and upper-layer consistency check succeeds
Confirmation

Confirm action

Continue?