After changing the configuration file restart application pool IdP in IIS Manager. |
Go to C:\inetpub\wwwroot\pam\idp and edit file appsettings.json:
DirectoryMechanism — Mechanism of authentication.
Authentication — Authentication provider.
"IdentitySettings": { ... "DirectoryMechanism": "Radius", "Authentication": "Local", ... } |
AuthenticationScheme — authentication scheme in radius. Possible parameters: PAP
, CHAP
, MSCHAPV2
. The PAP scheme is insecure.
Using CHAP authentication in windows, it is necessary to enable "Store passwords using reversible encryption" in the user account settings and update the user's password. |
Port — radius server port for connection (default port: 1812).
"Radius": { "AuthenticationScheme": "MSCHAPV2", "AuthenticationUserName": "PrincipalName", "Secret":"ENCRYPTED_CfDJ8MPJ7V58kgpLvtoHgdiuk5VKMK_hf3r437uZdHjdZAfve5wtVvgDZPjjDm7bgjCXKM5XM", "Timeout": 10, "RemoteEndpoint": { "Address": "PAM_RADIUS_SERVER", "Port": 1812 } |