Hi,
i am trying to re-establish the proxy trust with an ADFS farm (consisting of two servers) while running into the "[Install-WebApplicationProxy], ProxyTrustException" error.
There is no log on the ADFS server, only two messages in the WAP debug log:
- Error Id = 12
Exception: Fehler beim Erstellen des Proxyvertrauenszertifikats.
StackTrace: bei Microsoft.IdentityServer.Management.Proxy.Providers.ProxyTrustProvider.CreateTrustCertificate(StoreLocation location, Boolean setAclsForNetworkService)
bei Microsoft.IdentityServer.Management.Proxy.Tasks.ConfigureProxyTrustCertificateTask.DoExecution(IDeploymentContext context, IProgressReporter progressReporter)
bei Microsoft.IdentityServer.Deployment.Core.Tasks.ConfigurationTaskBase.Execute(IDeploymentContext context, IProgressReporter progressReporter)
Exception: Dem Prozess fehlt die für diesen Vorgang erforderliche "SeSecurityPrivilege"-Berechtigung.
StackTrace: bei System.Security.AccessControl.Privilege.ToggleState(Boolean enable)
bei System.Security.Cryptography.Utils.GetKeySetSecurityInfo(SafeProvHandle hProv, AccessControlSections accessControlSections)
bei System.Security.Cryptography.CspKeyContainerInfo.get_CryptoKeySecurity()
bei Microsoft.IdentityServer.Management.Proxy.Providers.ProxyTrustProvider.GrantServiceAccessToPrivateKey(X509Certificate2 trustCertificate)
bei Microsoft.IdentityServer.Management.Proxy.Providers.ProxyTrustProvider.CreateTrustCertificate(StoreLocation location, Boolean setAclsForNetworkService) - Error Id = 12
Error: Exception: Fehler beim Erstellen des Proxyvertrauenszertifikats.
StackTrace: bei Microsoft.IdentityServer.Management.Proxy.Providers.ProxyTrustProvider.CreateTrustCertificate(StoreLocation location, Boolean setAclsForNetworkService)
bei Microsoft.IdentityServer.Management.Proxy.Tasks.ConfigureProxyTrustCertificateTask.DoExecution(IDeploymentContext context, IProgressReporter progressReporter)
bei Microsoft.IdentityServer.Deployment.Core.Tasks.ConfigurationTaskBase.Execute(IDeploymentContext context, IProgressReporter progressReporter)
Exception: Dem Prozess fehlt die für diesen Vorgang erforderliche "SeSecurityPrivilege"-Berechtigung.
StackTrace: bei System.Security.AccessControl.Privilege.ToggleState(Boolean enable)
bei System.Security.Cryptography.Utils.GetKeySetSecurityInfo(SafeProvHandle hProv, AccessControlSections accessControlSections)
bei System.Security.Cryptography.CspKeyContainerInfo.get_CryptoKeySecurity()
bei Microsoft.IdentityServer.Management.Proxy.Providers.ProxyTrustProvider.GrantServiceAccessToPrivateKey(X509Certificate2 trustCertificate)
bei Microsoft.IdentityServer.Management.Proxy.Providers.ProxyTrustProvider.CreateTrustCertificate(StoreLocation location, Boolean setAclsForNetworkService)
This does not seem to be the typical network layout or certificate trust problem, as the message does not change even if i setup bogus IP for the ADFS server.
Final Note: This all worked perfectly before, couple of weeks ago the proxy trust certificates were not properly renewed.
Best regards,
Christian