Windows error 0x80094011, -2146877423

Detailed Error Information

CERTSRV_E_ENROLL_DENIED[1]

MessageThe permissions on this certification authority do not allow the current user to enroll for certificates.
Declared inwinerror.h

HRESULT analysis[2]

FlagsSeverityFailure
Reserved (R)false
OriginMicrosoft
NTSTATUSfalse
Reserved (X)false
FacilityCode9 (0x009)
NameFACILITY_SSPI[2][1]
DescriptionThe source of the error code is the Security API layer.[2][1]
Error Code16401 (0x4011)

Questions

0votes
1answer

As can get available templates from CA by name on .NET?

I have the desired result through utility the certutil: PS C:\>> certutil -config "dev.root.ad\Dev Issuing CA" –Catemplates –v | select-string displayname displayName = DEMO AnyConnect 4 years displayName = ECS User But on C# I have problems. This my code: using CERTADMINLib; using CERTCLILib; namespace Services { public class CATemplates [...] read more
c#
.net

Comments

Leave a comment

(plain text only)

Sources

  1. winerror.h from Windows SDK 10.0.14393.0
  2. https://msdn.microsoft.com/en-us/library/cc231198.aspx

User contributions licensed under CC BY-SA 3.0