提供的证书不是有效的自身签名。请在AWS中提供有效的自签名证书或证书链

发布于 2025-01-31 06:43:12 字数 279 浏览 3 评论 0原文

我有一个包含

openssl rsa -in FILENAME.key -out FILENAME.key.rsa

,然后将其复制到CER文件的内容和AWS的密钥,但它显示了此错误

Provided certificate is not a valid self signed. Please provide either a valid self-signed certificate or certificate chain.

I have got a certificate containing those 4 files and I want to import this certificate to aws,First I converted the key using this command

openssl rsa -in FILENAME.key -out FILENAME.key.rsa

And then I copy past the content of the cer file and the key to aws but it shows this error

Provided certificate is not a valid self signed. Please provide either a valid self-signed certificate or certificate chain.

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

自在安然 2025-02-07 06:43:12

通过添加此(p7b文件)来

-----BEGIN CERTIFICATE-----
[certificate chain data]
-----END CERTIFICATE----

解决

openssl pkcs7 -in cert.p7b -print_certs -out out.certs

Solved by adding this (the p7b file)

-----BEGIN CERTIFICATE-----
[certificate chain data]
-----END CERTIFICATE----

and then

openssl pkcs7 -in cert.p7b -print_certs -out out.certs
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文