[Mono-dev] Centralized MonoStore

jaysonp jaysonpryde at gmail.com
Tue Jan 17 15:54:17 UTC 2012


Thanks for the reply Robert. Clarification though on item #3:


*/"The cert store does not exist until you create it, e.g. by adding
a cert."/*

Recently, you've given me this powershell script before to export and add
certs from Windows cert store to Mono cert store using mono's certmgr tool:

*/
$certmgr="C:\Program Files (x86)\Mono-2.10.4\bin\certmgr.bat"                               
$target = "$home\exported-certs"                                       
[System.IO.Directory]::CreateDirectory($target)                        
$certs = dir "cert:\LocalMachine\Root", "cert:\LocalMachine\CA",
"cert:\LocalMachine\My"        
#$certs = $certs | Where-Object { $_.Verify() }                         
$certs |                                                               
     ForEach-Object {                                                  
         $certfile = "$target\$($_.thumbprint).cer"                    
         [System.IO.File]::WriteAllBytes($certfile, $_.Export("Cert")) 
         & "$certmgr"  /add /c CA "$certfile"                       
     }   
/*

Now after running this shellscript, should I expect that
"$monoprefix/share/.mono/" will exist? Because I already did run this
shellscript but .mono is still not existing? Does this mean that mono cert
store is still not existing?

Thank you!                                                     




--
View this message in context: http://mono.1490590.n4.nabble.com/Centralized-MonoStore-tp4268377p4303706.html
Sent from the Mono - Dev mailing list archive at Nabble.com.


More information about the Mono-devel-list mailing list