|
Posted by GNUlihd on April 6, 2007, 6:40 am
If you were Registered and logged in, you could reply and use other advanced thread options > > As we know non-exportable certificate can be exported along with
> > privatekey programmatically or not even using any program,
> > (http://matrixalaya.blogspot.com/2007/03/exporting-non-exportable-
> > certificates.html) how to make privatekey of a certificate entirely
> > non exportable from personal store?
>
> > In my case the security of the certificate is very important and the
> > machine owner should not be bothered about any password after the
> > certificate is once installed in the machine. It is also important
> > that the privatekey need to be entirely non exportable.
>
> > Is it possible or any work around?
>
> > Thanks in advance,
> > GNUlihd
>
> You can use third-party CSP, which allows storing of private key on USB
> token or some other media, instead of registry...
>
> --
> With best regards
> Nickolay Domukhovsky, MCSA
Nick,
Thanks for the suggestion
But the case is the owners should not be bothered about the safety of
certificate but our system need to handle that.
Currently I have come up with the idea of using CertSaveStore() with
flag CERT_STORE_SAVE_TO_FILENAME and encrypting that file and deleting
certificate from the store. Will it be safer?
P.S. Certificate is only required for our system.
|