certificate - Getting error while using CryptAcquireCertificatePrivateKey API to extract private key from PFX file -


we developing vc++ application using crypto apis windows 7 os. using cryptacquirecertificateprivatekey api extract private key pfx file .

on executind api, getting below error:

0x8009200b(private key error)

pfx file used api has multi layer certificate(root , intermediate). when use such pfx file, error comes. , if use pfx having single layer certificate time works.

so please suggest reason failing.

note: pfx file provided third party vendor(like symantec).

thanks in advance.


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -