Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
RevokeChinaCerts @ c86f3a0
.gitattributes
.gitignore
.gitmodules
PsRevokeCerts.ps1
README.md

README.md

PsRevokeCerts

吊销、恢复RevokeChinaCerts中Windows数字证书的PowerShell脚本。仅支持全部添加和全部删除。

Usage

初始化:

git clone https://github.com/TheCjw/PsRevokeCerts
cd PsRevokeCerts
git submodule update --init

使用管理员身份运行PowerShell,执行脚本:

powershell -ExecutionPolicy Bypass .\PsRevokeCerts.ps1

删除腾讯的证书:

Get-ChildItem Cert:\LocalMachine\Disallowed | Where-Object { $_.SubjectName.Name.toLower().Contains("tencent") } | Select-Object { Remove-Item (Join-Path Cert:\LocalMachine\Disallowed $_.Thumbprint) }
You can’t perform that action at this time.