有没有一种方法可以从OpenSSL证书指纹中获得有效性(Notafter),而没有证书?

发布于 2025-01-28 09:47:51 字数 215 浏览 5 评论 0原文

有没有办法确定在没有证书本身的情况下特定证书指纹的何时?

类似 openssl :: x509 :: cetiral.new(“ ------开始证书----- \ n”+cert+“ \ n ----------终端证书------ \ n”),但是从证书指纹中?

背景:我使用此证书完成了身份验证,并允许最终用户输入证书或其指纹,以从我的身边启用身份验证

Is there a way I can determine when a particular certificate fingerprint without having the certificate itself?

something like
OpenSSL::X509::Certificate.new("-----BEGIN CERTIFICATE-----\n"+cert+"\n-----END CERTIFICATE-----\n") but from a certificate fingerprint?

background: i've authentication being done using this certificate and end users are allowed to input either certificate or its fingerprint to enable authentication from my side

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

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

发布评论

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

评论(1

莫多说 2025-02-04 09:47:51

我认为这不可能进行反向,因为指纹是作为哈希(Hash)生成的事实,这是单向操作。

I don't believe this will be possible to do the reverse, due to the fact that the fingerprint is generated as a hash, which is a one-way operation.

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