We are developing VC++ application using Crypto APIs for windows 7 OS. We are using CryptAcquireCertificatePrivateKey API to extract private key from PFX file .
On executind this API, we are getting below error:
0X8009200B(private key error)
PFX file used with this API has multi layer certificate(root and intermediate). When we use such PFX file, error comes. And if we use PFX having single layer certificate that time it works.
So please suggest the reason for its failing.
Note: PFX file is provided by third party vendor(like symantec).
Thanks in advance.
User contributions licensed under CC BY-SA 3.0