【问题标题】:How to combine certificate with key and output pem file?如何将证书与密钥结合起来并输出 pem 文件?
【发布时间】:2020-08-12 12:36:11
【问题描述】:

我已经配置了 kurento 媒体服务器,但是对于 SSL 部分,它需要 pem 格式的 cert+key 和密码。问题是我有

 1. ca_bundle.crt
 2. certificate.crt
 3. private_key.key

现在如何将这些转换为有效的 cert+key.pem 以便 kurento 媒体服务器可以访问它?

我使用 openssl 工具 openssl x509 -in cert.crt -out cert.pem 仅将 certificate.crt 转换为 certificate.pem

但还是不行。我已经按照 kurento 指南生成了一个可以工作的自签名证书,但是是的,那里没有绿色印章,所以我在网上购买了一个证书,但似乎无法让它工作。这是 kurento 的自签名证书指南。 Guide for certificate

我们将不胜感激。

【问题讨论】:

    标签: ssl ssl-certificate webrtc x509certificate kurento


    【解决方案1】:

    试试这个

    openssl x509 -inform DER -in cert.crt -out cert.pem -text
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2014-09-27
      • 1970-01-01
      • 2018-12-19
      • 2022-06-27
      • 2011-10-19
      • 2020-02-03
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多