wodhttp, ssl, certificates and javascript - how to (wodHttpDLX)
in continue to http://www.weonlydo.com/index.asp?forum=1&action=view&topic=1258465568
good day again...
in the my previous post i've said that my problem was solved.
but in real life it seems to be more interesting... :)
my problem is that i need to get an index of the certificate for the current user.
and if i know this index i can do something like this:
wodHttp.Certificate=CertLocation.Item(0).Item(0).Item(index)
about the current user - i know his, for example, common name (CN).
so I hoped to find the required certificate by looking over all of the available certificates and comparing their CNs.
well...
as i understand, when i do:
cert=CertLocation.Item(0).Item(0).Item(i)
, i get the Certificate object with ALL properties set. and PrivateKey property too...
and this is a problem here:
there can be certificates whose private key is stored in some external places - usb drives, diskettes and etc.
and when i get the Certificate object for it i see dialogs with questions to insert a drive with the private key.
i (and all others) don't wish to see these dialogs for certificates that are not for the current user. but now i cannot ensure this.
so, questions:
may be you modify wodCertificate.dll so that the properties would be calculated only when they are addressed ?
at least for those that can be stored on external media ?
really, i'm not sure that it is about PrivateKey property. :)
excuse my English if any... :)
thanx
Complete thread:
- wodhttp, ssl, certificates and javascript - how to - sumatra, 2009-11-23, 10:38
- Re: wodhttp, ssl, certificates and javascript - ho - wodDamir, 2009-11-23, 11:53