我们正常查看指纹需要双击打开证书,然后找到指纹相关的信息,如果通过Powershell的话,可通过以下方法查看。
- 获取指纹信息
$CertificatePath = "C:\Users\Administrator\mycert.pfx"
$sSecStrPassword = ConvertTo-SecureString -String "123456" -AsPlainText -Force
$certificateObject = New-Object System.Security.Cryptography.X509Certificates.X509Certificate2($CertificatePath, $sSecStrPassword)
$certificateObject
我们查看我自己的证书信息: