我们正常查看指纹需要双击打开证书,然后找到指纹相关的信息,如果通过Powershell的话,可通过以下方法查看。获取指纹信息$CertificatePath = "C:\Users\Administrator\mycert.pfx"$sSecStrPassword = ConvertTo-SecureString -String "123456" -AsPlainText -Force$certi
我们导入Windows服务证书一般使用双击方式按照向导导入和MMC导入,今天我们介绍通过Powershell导入PFX证书,具体见下:将PFX证书导入本地计算机的的个人证书中$Pwd = ConvertTo-SecureString -String "123456" -Force -AsPlainTextImport-PfxCertificate -FilePath "d:\mycert.pfx"
Powershell导入Cert证书我们导入Windows服务证书一般使用双击方式按照向导导入和MMC导入,今天我们介绍通过Powershell导入Cert证书,具体见下:将证书导入本当前用户的受信任颁发机构中Import-Certificate -FilePath "d:\mycert.cer" -CertStoreLocation cert:\CurrentUser\Root将证书导入本当前用
说到自签名证书,相信大家应该会经常使用openssl进行申请,但是用powershell的还是比较少的,今天主要介绍使用Powershell来申请一个自签名证书,具体见下:1.提交申请$mycert = New-SelfSignedCertificate -DnsName "DomainName" -CertStoreLocation "cert:\CurrentUser\My" -NotAfte
Copyright © 2005-2023 51CTO.COM 版权所有 京ICP证060544号