param() $ErrorActionPreference = 'Stop' $certPath = Join-Path $PSScriptRoot '..\certs\rootCA.cert.cer' $resolved = Resolve-Path $certPath Write-Host "Installing root CA into CurrentUser\Root: $resolved" Import-Certificate -FilePath $resolved -CertStoreLocation Cert:\CurrentUser\Root | Out-Null Write-Host 'Installed. Restart browsers/apps that cache trust settings.'