Chap Authentication Configuration
There are two options to configure and use iSCSI CHAP authentication Uni-directional and bi-directional also referred as mutual authentication
Appliance (Target) configuration
Uni-directional authentication
Configure the Host for CHAP authentication on the appliance GUI/CLI
Host 🡪 Chap Secret
Bi-directional (mutual) authentication
Bi-directional CHAP adds another level of authentication. To use Bi-directional authentication first Uni-directional authentication is required.
To enable bi-directional (mutual) authentication, add CHAP secret also to the appliance on the GUI / CLI
-
- Nodes 🡪 CHAP
-
- Chap name, Chap Secret
Windows initiator configuration
Uni-directional authentication
Configure on the Windows iSCSI initiator
- Connect iSCSI Target
- Use advanced dialogue
- Enable CHAP log on
- Enter the Host Chap-name (initiator iqn) and Chap-secret
The Target Secret should be the same as configured in the GUI/CLI Host dialogue
-
- Perform this operation for both HA nodes
Bi-directional (mutual) authentication
Configure on the Windows initiator
-
- Open iSCSI initiator properties, choose CHAP
-
- Configure the initiator CHAP secret using the same secret as configured on the appliance GUI/CLI Node 🡪 CHAP dialogue
-
- Connect iSCSI Target
-
- Use advanced dialogue
-
- Enable CHAP log on
- Enter the Host Chap-name (initiator iqn) and Chap-secret
- Choose the CHAP option - “Perform mutual authentication”
-
- Perform this operation for both HA appliance nodes
ESXi initiator configuration using VCenter
Uni-directional authentication
- Configure on the ESXi iSCSI initiator
Choose ESX-Host 🡪Configure 🡪 Storage Adapters 🡪 iSCSI Software Adapter
Use Dynamic Discovery 🡪 ADD
On the Add Send Target Server pop-up windows, un-check the inherit authentication
- Enter the following in the detailed authentication pop-up windows
Choose the Authentication Method – Use unidirectional CHAP
Tick the use initiator name to fill the ESXi-host iqn and enter the secret as defined on the appliance GUI/CLI Host 🡪 Chap secret dialogue
- Perform this operation for both HA appliance nodes
Bi-directional (mutual) authentication
- Configure on the ESXi iSCSI initiator
Choose ESX-Host 🡪Configure 🡪 Storage Adapters 🡪 iSCSI Software Adapter
Use Dynamic Discovery 🡪 ADD
On the Add Send Target Server pop-up windows, un-check the inherit authentication
- Enter the following in the detailed authentication pop-up windows
Choose the Authentication Method – Use bidirectional CHAP
Tick the use initiator name to fill the ESXi-host iqn and enter the secret as defined on the appliance GUI/CLI Host 🡪 Chap secret dialogue
- On the Incoming CHAP Credentials section,
Name and Secret - use the name configured on the appliance Node 🡪 CHAP dialogue
- Perform this operation for both HA appliance nodes