Questions tagged [certenroll]

Certificate enrollment policy provides the locations of certification authorities (CAs) and the types of certificates that can be requested.

Organizations that are using Active Directory Domain Services (AD DS) can use Group Policy to provide certificate enrollment policy to domain members by using the Group Policy Management Console to configure the certificate enrollment policy settings. The Certificates snap-in can be used to configure certificate enrollment policy settings for individual client computers unless the Group Policy setting is configured to disable user-configured enrollment policy. Use the following procedures to configure certificate enrollment policy settings: Manage Certificate Enrollment Policy by Using Group Policy

Manage Certificate Enrollment Policy by Using the Certificates Snap-in

Reference.

58 questions
1
vote
1 answer

C# Non self signed client certs with CERTENROLL.dll are unable to be verified

This is a followup to C# Generate a non self signed client CX509Certificate Request without a CA using the certenroll.dll I am trying to create a client cert signed by my self signed CA, as in the above question. I can create the desired certs…
jake_friz
  • 11
  • 1
1
vote
1 answer

ASP.Net Fw 4.0 CertEnroll API The system cannot find the file specified

Implementing Certificates with CertEnroll dll on an Asp.net fw 4 website: CX509CertificateRequestPkcs10 objPkcs10 = new CX509CertificateRequestPkcs10Class(); CX509PrivateKey objPrivateKey = new CX509PrivateKeyClass(); CCspInformation…
Osvier
  • 810
  • 1
  • 8
  • 24
1
vote
2 answers

iOS MDM enrollment fails in iOS 9 devices

This has been previously working for iOS 7 and 8 devices but now the enrollment fails for new iOS 9 devices. This is what I see in the device logs. Oct 26 18:00:34 iPhone profiled[412] : (Note ) MC: Enrolling in OTA Profile service... Oct 26…
Dilshan
  • 3,231
  • 4
  • 39
  • 50
1
vote
1 answer

Trying to create certificate request from existing public key (programmatically)

I am trying to create certificate request programmatically from existing public key. But I get an "The requested property value is empty. (Exception from HRESULT: 0x80094004)" exception. Here is my code: private static string…
anara
  • 13
  • 1
  • 3
1
vote
1 answer

When requesting a certificate, how do I get a pfx blob?

The following code is used to request a certificate from an ADCS instance. How do I extract the request, and the finalized pfx blob (and password protect it) for external storage? using System; using System.Collections.Generic; using…
makerofthings7
  • 60,103
  • 53
  • 215
  • 448
1
vote
0 answers

PKIOperation via SCEP: Message too short

I'm running an OpenSCEP Server and try to enrol a certificate on an JSCEP-Client. When it comes to the PKIOperation I end up with a request like…
pma
  • 860
  • 1
  • 9
  • 26
1
vote
0 answers

Windows phone 8 enrollment process not succeed

I’ve been trying to enroll a Windows Phone 8 developer device but with no success. I get to the point where I receive a CSR from the device and I should create a valid response, but no further requests are made from the device. For the certificate…
shontauro
  • 1,812
  • 1
  • 25
  • 26
0
votes
0 answers

Facing issue of WS_E_INVALID_FORMAT Creating CEP service response for xml

Create xml soap service using the MS-XCEP protocol return the xml response but when i configure it facing the issue of the WS_E_INVALID_FORMAT here is the xml response. Please help me...if anyone having the solution.. I try the using to validate…
0
votes
0 answers

Is it possible to use Certificate Enrollment API within C# UWP project

My C# UWP project is x64 and it is part of packaging project. I add to my project links CertEnroll.dll and certcli.dll from Windows\SysWow64. Then I add code to create objects from CERTENROLLLib namespace. using System; using…
Stanislav
  • 33
  • 1
  • 5
0
votes
1 answer

CertEnrol import pfx The password you entered is incorrect

I'm created pfx certificate using by certEntroll when I imported on windows 10 it's imported successfuly but when i tried on windwos 7 i got an error "The password you entered is incorrect" How do fix it? This is part of code how i create PFX from…
Abdumalik Nabiev
  • 311
  • 1
  • 3
  • 14
0
votes
1 answer

C# Generate client Certificate from Root Certificate using CertEnroll

I would like to write a function that generates client certificates signed by my root certificate using CertEnroll.dll, I do have Root PFX file at specific location and by reading that creating CSignerCertificate object. Here is my code for the…
0
votes
0 answers

Renewal certificate with new key pairs

I want to create CX509CertificateRequestPkcs with  initializefromcertificate  And i want to use  X509RequestInheritOptions.InheritNewSimilarkey  to generate new keypair where original certificate'key pair exsit   But i get error …
0
votes
1 answer

Upgrading from makecert.exe to CertEnroll - issues with certificate trust

I have an app that up until now used makecert.exe to generate self certificates. However as makecert does't have the ability to add a SubjectAltName field, I am needing to migrate the code to certenroll.dll This is the original makecert code: public…
James
  • 656
  • 2
  • 10
  • 24
0
votes
0 answers

How can I enroll certificate while no user logged in?

I use this link to Enrol new Certificate. When the Windows is lock or logged in everything works fine and create request and install it properly. Running the code as Windows Service, so when I restart the machine, and service is starting cannot…
Peyman
  • 3,068
  • 1
  • 18
  • 32
0
votes
1 answer

Error trying to install Certificate on browser using JS

In my code I have a button that calls a JS file, which in turn calls a PHP file that has the API endpoints that I need to generate certificate, and sends the response back that I use in certificate variable below. I'm generating the CSR myself using…
manishk
  • 526
  • 8
  • 26