【问题标题】:Revoke certificates by API通过 API 吊销证书
【发布时间】:2014-03-27 17:54:26
【问题描述】:

我需要撤销 Ruby 中的 x509 客户端证书。我可以通过 openssl 命令这样做:

openssl ca -revoke certificate.pem

但似乎没有 API 可以执行此操作,至少在 Ruby's OpenSSL module 中没有。

OpenSSL 中是否有 API 或其他工具(在 Linux 上运行)可以做到这一点?

【问题讨论】:

    标签: ruby ssl openssl


    【解决方案1】:

    this question

    %x( openssl ca -revoke certificate.pem )
    

    【讨论】:

    • 谢谢,我希望有一个 API。通过命令行执行是最坏的情况,因为 openssl 会提示输入密码等。
    猜你喜欢
    • 2012-02-22
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-07-07
    • 1970-01-01
    • 1970-01-01
    • 2016-08-09
    • 1970-01-01
    相关资源
    最近更新 更多