SSL:来自单个私钥的几个证书?

发布于 2025-01-24 16:48:44 字数 309 浏览 1 评论 0原文

我正在尝试使用OpenSSL创建CA。

为什么我需要首先创建一个私钥:

openssl genrsa -des3 -out ca.key 1024

然后创建证书?

openssl req -new -x509 -days 365 -key ca.key -out ca.crt

据我所知,证书是由私钥签名的公钥?

  1. 公共密钥在哪里?
  2. 然后我可以从一个私钥创建几个证书吗?这是否意味着我能够创建几个公共密钥?

I'm trying to create a CA using openssl.

Why do I need to first create a private key:

openssl genrsa -des3 -out ca.key 1024

And then create the certificate?

openssl req -new -x509 -days 365 -key ca.key -out ca.crt

As far as I know, a certificate is a public key signed by a private key?

  1. Where is public key?
  2. Can I then create several certificates from one private key? Does it mean, I'm able to create several public keys?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文