Windows PowerShell 创建证书
参考:
https://www.cnblogs.com/1285026182YUAN/p/17140415.html
https://www.cnblogs.com/qindy/p/17358227.html
https://blog.csdn.net/weixin_43394129/article/details/132487335
1查看证书:Get-ChildItem -Path cert:\CurrentUser\My
2.创建证书:New-SelfSignedCertificate -Subject "CN=IDS4_Certificate" -CertStoreLocation cert:\CurrentUser\My -Provider "Microsoft Strong Cryptographic Provider"
3.加载证书:$cert = Get-ChildItem -Path cert:\CurrentUser\My\(your certificate thumbprint)
4.导出公钥:Export-Certificate -Type CERT -Cert $cert -FilePath "./publickey.cer"
5.配置密钥:$cred = Get-Credential 配置秘钥
6.导出私钥:Export-PfxCertificate -Cert $cert -Password $cred.Password -FilePath "./private.pfx"
7.删除证书:Remove-Item -Path ("cert:\CurrentUser\My\" + $cert.Thumbprint)
使用open SSL生成局域网IP地址证书
https://baijiahao.baidu.com/s?id=1724181687090988003&wfr=spider&for=pc
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】凌霞软件回馈社区,博客园 & 1Panel & Halo 联合会员上线
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】博客园社区专享云产品让利特惠,阿里云新客6.5折上折
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 一个费力不讨好的项目,让我损失了近一半的绩效!
· 清华大学推出第四讲使用 DeepSeek + DeepResearch 让科研像聊天一样简单!
· 实操Deepseek接入个人知识库
· CSnakes vs Python.NET:高效嵌入与灵活互通的跨语言方案对比
· Plotly.NET 一个为 .NET 打造的强大开源交互式图表库