[Mono-dev] [mono][chktrust]: signature can't be traced back to a trusted root!

Robert Jordan robertj at gmx.net
Fri Aug 26 06:24:24 EDT 2011

On 26.08.2011 11:23, jaysonp wrote:
> Yes Robert :)

Adjust the first line of this PowerShell script to match your
system's Mono installation path, then run it.

$target = "$home\exported-certs"
$certs = dir "cert:\LocalMachine\Root", "cert:\LocalMachine\CA"
$certs = $certs | Where-Object { $_.Verify() }
$certs |
     ForEach-Object {
         $certfile = "$target\$($_.thumbprint).cer"
         [System.IO.File]::WriteAllBytes($certfile, $_.Export("Cert"))
         & "$certmgr"  /add /c Trust "$certfile"

More information about the Mono-devel-list mailing list