RE: Using certificate and private key from Windows cert store with OpenSSL

2011-11-02 Thread Andrejs Štrumfs
Hi! I searched a bit around and came up with this. I used v1.0.0.5 OpenSSL Dlls, but if you compile 0.9 with engine enabled, it should work. function UsePKeyFromCapi(const ASSLCtx: PSSL_CTX; const ACert: PCCERT_CONTEXT): Boolean; var CapiEngine: PENGINE; EngStatus: Integer; ProvLen,

RE: Using certificate and private key from Windows cert store with OpenSSL

2011-10-31 Thread Andrejs Štrumfs
, not the public key blob. Alternatively, I have heard rumors of a CryptoAPI engine plug in for OpenSSL which will let OpenSSL directly use the keys and certificates stored by Windows. On 10/28/2011 9:48 AM, Andrejs Štrumfs wrote: Hi! I am trying to make a program, that uses some Web Services

Using certificate and private key from Windows cert store with OpenSSL

2011-10-28 Thread Andrejs Štrumfs
Hi! I am trying to make a program, that uses some Web Services in Delphi XE. To connect to the Web Services, i have to use self signed (hope this is correct term) certificate, which is stored in Windows cert store. So, i open the cert store with CertOpenSystemStore, get cert with