I created a self-signed certificate (created using OpenSSL) and installed it into the Certificate Store using the Certificates MMC snap-in (CertMgr.msc) on Windows Vista Ultimate.
I have managed to open the certificate store by using CertOpenSystemStore. And I can then find the certificate using CertFindCertificateInStore
However I am not sure what this error really means, as I have been unable to spot the answer in the MSDN documentation.
- Is this a certificate problem?
- Or an OS problem (in the sense it should be a Windows Server OS for this to work)?
I am using Win32 API in Delphi 2010, but C examples are fine.