On 26.08.2011 02:07, jaysonp wrote:
> Hi Robert,
>
>      Using the powershell script, as expected, I was able to export the
> certs. Thanks for this :)
>
>      However, 3 follow-up questions:
>
>      1. I thought I need PKCS#7 instead of the .cer files to be added on Mono
> trust store. Will I have to export
>          them as .p7b?

MS.NET cannot export as .p7b, but since the root certs are already
coherent, .cer will do as well.

>      2. Given that I've exported them as .cer or .p7b files, will I have to
> add them 1 by 1 in the Mono store?
>          Is there a way to do it collectively(i.e just pass the directory
> where the certs are located)

When "exported-certs" is the directory with the certs,
the following command will import them:

find exported-certs -name "*.cer" -exec certmgr -add -c Trust {} \;

Robert

_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list

Reply via email to