IIS
Все URL указываются в нижнем регистре. |
Перейдите в каталог C:\inetpub\wwwroot\api и отредактируйте файл appsettings.json:
Секция ConnectionStrings:
Параметры строки подключения:
"ConnectionStrings": { "PamCore": "Server=sql.domain.local;Database=IPAMCore;Integrated Security=False;User ID=IPAMSQL;Password=password", "JobsQueue": "Server=sql.domain.local;Database=IPAMJobs;Integrated Security=False;User ID=IPAMSQL;Password=password" }, |
В случае использования именованного экземпляра Microsoft SQL Server значение параметра Server необходимо указывать в формате имя сервера\\имя экземпляра.
|
Секция Database:
Секция Auth:
"Auth": { "IdpUrl": "https://pam.domain.local/idp", "MediaDataUrlsSecret": "42C329CF-B932-46DE-83F5-0C302AE9E486", "MediaDataUrlsTTLMin": 15, "PamGatewayIpAddresses": "192.168.48.155, 192.168.48.202", "GatewayCertificateValidation": { "Enabled": false, "Filter": "" } }, |
Секция Encryption:
Ключ шифрования генерируется утилитой IndeedPAM.KeyGen.exe, которая входит в состав дистрибутива Indeed PAM и располагается в каталоге /Misc. |
"Encryption": { "Algorithm": "AES", "Key": "4258egk74n834rr93bf458813l7618wq7f1jei9a58915pk511z63n5j0svt1m1o8", "MediaFiles": { "Algorithm": "AES" } }, |
Секция LogServer:
"LogServer": { "AppId": "pam", "Component": "server", "EventCacheDirectory": "C:\\ILS\\Core", "EventCacheSendingIntervalSec": 10, "Server": { "Url": "https://pam.domain.local/ls/api", "Certificate": { "Thumbprint": "", "FilePath": "", "FilePassword": "" } } }, |
Секция UserCatalog:
"UserCatalog": { "RootProvider": "ad", "Providers": { "ActiveDirectory": [ { "Id": "ad", "ServerName": "domain.local", "ContainerPath": "DC=domain,DC=local", "UserName": "IPAMManager", "Password": "password", "UserMapRules": { "Settings": [ { "Category": "person", "Class": "user" } ] } } ] } } |