如何将 .csr 转换为 .cer(或 Windows 上可用的任何文件)
我正在尝试弄清楚如何在 Windows 下安装 .csr
证书,但可能唯一的方法是将其转换为其他格式(也许使用 openssl
),但我有不知道怎么办。
您有什么建议吗?
I'm trying to figure out how to install .csr
certificate under Windows but probably the only way is to convert it to some other format (maybe with openssl
) but I have no idea how.
Do you have any suggestion?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
CSR 文件是证书签名请求。它包含根据您的私钥和有关网站的信息生成证书所需的信息。
CER 是证书本身(您将其安装到 Web 浏览器中)。基本上没有办法直接从一个证书转换为另一个证书,因为您需要密钥来签署证书,但可以做的是生成自签名证书(例如,由用于生成它的相同密钥签名的证书):
CSR file is the Certificate Signing Request. It contains the information which is needed to generate a certificate based on your private key and information about the WebSite.
CER is the certificate itself (which you install into your Web browser). There is basically no way to convert directly from one to another as you need a key to sign the certificate, but what can do is to generate a self-signed certificate (e.g. certificate signed by the same key which was used to generate it):