Is there any API's available in mono to Read the trust root certificates from a Trusted root store created using certmgr?
Sunil. >>> Sebastien Pouliot <[EMAIL PROTECTED]> 4/8/2004 3:42:07 PM >>> Sunil, > Is it possible that we can speicfy the location where we want to > create the trust store. Maybe ;-) It's all depend on *why* the location needs to be specified, like: - changing the directory name isn't hard (e.g. ~/.mono/certificates/... or something more fd.org-friendly); - having a different directory structure per user requires to add configuration files (and tools/documentation/...) but makes it harder to change the implementation later. For example a later Mono release could use an implementation not based on a file system (a database, a directory, a smartcard ...). Problem is that if/when application depends on a specific directory then we have conflict problems. That's why I said it's better to use certmgr to do the job. Note that the same pattern holds true for key pairs and the GAC - you shouldn't depend on their location but use the supplied tools to manipulate them. In this case (trusted certificates being used for SSL/TLS) it's also possible to add application specific code (in the validation callback) to check for untrusted certificates and then search another (application specific) location for roots (but that would be in addition to the existing roots). Sebastien Pouliot http://pages.infinit.net/ctech/poupou.html -----Original Message----- From: Sunil Kumar [mailto:[EMAIL PROTECTED] Sent: 8 avril 2004 16:57 To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: [Mono-list] Mono trust stire location Hi Sebastie, Is it possible that we can speicfy the location where we want to create the trust store. SUnil. >>> Sebastien Pouliot <[EMAIL PROTECTED]> 4/8/2004 2:50:22 PM >>> Hello Sunil, All user certificate stores are located under ~/.mono/certs/ The trusted store is ~/.mono/certs/Trust/ But this could change between release, so it's better to use certmgr to add/remove certificates. Sebastien Pouliot http://pages.infinit.net/ctech/poupou.html -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Sunil Kumar Sent: 8 avril 2004 16:42 To: [EMAIL PROTECTED] Subject: [Mono-list] Mono trust stire location Hi , Does anyone Knows the location of the mono trust store? i.e when I add a certificate using " certmgr add -c Trust <TrustRootCertificate>" where does my TrustRootCertificate gets added. Regards, Sunil. _______________________________________________ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list _______________________________________________ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list _______________________________________________ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list