[Mono-dev] Centralized MonoStore
jaysonp
jaysonpryde at gmail.com
Wed Jan 18 16:24:52 UTC 2012
Hi Robert,
I modified the script and placed the "/m" switch to add the certs on
the machine's mono cert store. The script successfully ran (i.e. powershell
command prompt displays that certificates were successfully added on the
store):
$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 /m CA "$certfile"*
}
However, when I searched for *".mono"* and the certificates at
*$monoprefix/share* (I assume on my Windows, it's */C:\Program
Files\Mono-2.10.4\share/*), they are not present. I also created manually a
".mono" directory (via commandline) in C:\Program Files\Mono-2.10.4\share
folder and see if the certs added, after running the scripts, were placed
there. However, they are not.
I thought you've mentioned that ".mono" will be activated once mono store is
updated with certs... Do you have an idea where the certs were
installed/placed after the script was executed and if the machine's mono
cert store was activated already?
Thank you
--
View this message in context: http://mono.1490590.n4.nabble.com/Centralized-MonoStore-tp4268377p4307161.html
Sent from the Mono - Dev mailing list archive at Nabble.com.
More information about the Mono-devel-list
mailing list