Questions tagged [winhttpcertcfg]

A utility for installing, listing and granting permissions for certificates on Windows.

A utility for installing, listing and granting permissions for certificates on Windows, runnable via the command line.

Example of listing permissions for a certificate

WinHttpCertCfg -l -c LOCAL_MACHINE\MY -s "Issued To Here"
10 questions
2
votes
1 answer

unable to find or obtain a context for requested certificate

Whole day I am trying to install a firstdata payment certificate, I inserted the certificate in the Personal folder under Certificates with mmc. Now running the winhttpcertcfg.exe console app, I am getting an error saying: unable to find or obtain a…
Laziale
  • 7,965
  • 46
  • 146
  • 262
2
votes
3 answers

WinHttpCertCfg installs certificates to unknown location

I am using winhttpcertcfg to install a certificate into "Certificates (Local Computer) / Personal / Certificates" (MMC) winhttpcertcfg -i "C:\test.pfx" -c LOCAL_MACHINE\My -p removedForQuestion Running this command shows the following output (no…
Fenton
  • 241,084
  • 71
  • 387
  • 401
1
vote
0 answers

winhttpcertcfg.exe unable to open pfx file

I have a PFX file that can be double clicked and imported with Certificate Import Wizard UI (Crypto Shell Extensions). However, when I use winhttpcertcfg.exe from command line as following: winhttpcertcfg.exe -i myfile.pfx -c LOCAL_MACHINE\MY -a…
axings
  • 133
  • 7
1
vote
0 answers

How to know who installed a certificate?

I need to give an account a permission for a certificate within a group application, in order to solve the fllowing problem: Could not establish secure channel for SSL/TLS with authority XXX. I'm using the winhttpcertcfg tool, but when I execute…
MirlvsMaximvs
  • 1,453
  • 1
  • 24
  • 34
0
votes
0 answers

Why WinHttp return me the error "A certificate is required to complete client authentication"?

I need to access https://api-sandbox.direct.yandex.com/json/v5/campaigns via WinHttp. Problem is that from a webbrowser it's work fine, but from WinHttp it's failed with "A certificate is required to complete client authentication". I m under delphi…
zeus
  • 12,173
  • 9
  • 63
  • 184
0
votes
1 answer

How do I use a certificate called from a Windows Service program with the Network Service account?

I'm using the Trans Union New Access system to run credit reports. I'm doing this on my Windows 7 64 bit development machine. I have a Web Application (web forms) project that uses the system. In one button, I have the following code: …
0
votes
1 answer

Not getting expected response from winhttpcertcfg.exe

I'm running winhttpcertcfg.exe from the CMD window on Windows 7 64 bit. I am running as administrator and I am an administrator on the machine. I used various options and I got the response that I would see if I just typed the name of the program or…
Awerber
  • 57
  • 7
0
votes
1 answer

Winhttp and p12 certificate

I am writing a client program in VB6 which will interface to a server over HTTP. The company who runs the server provided me with a certificate file called SomeCertificate.p12. My program is running on Windows XP. This is the operating system the…
yaronkl
  • 510
  • 2
  • 5
  • 18
-1
votes
1 answer

Process hangs on WinHttpReceiveResponse()

My process hangs with the below callstack at WinHttpRecieveResponse(). This behaviour is inconsistent sometime it works for the same data and same use case. But most of the time it hangs likes below. I have checked using the WireShark that response…
-1
votes
1 answer

Grant Multiple IIS App Pools Permission to Same Certificate Using winhttpcertcfg

I have a certificate I need to install and grant access to for my IIS C# .NET applications to securely connect to FirstData. I don't know much about certificates, so I'm running commands that look like this: "C:\path\winhttpcertcfg" -i…
Tyler Forsythe
  • 1,471
  • 17
  • 22