OpenSSL reasonable default for trusted CA certificates?

后端 未结 3 759
执笔经年
执笔经年 2020-12-28 21:03

Is there a way to set up an OpenSSL context (SSL_CTX) with a reasonable set of trusted CA certificates without distributing them myself? I don\'t want

3条回答
  •  -上瘾入骨i
    2020-12-28 21:56

    You could use curl's script that converts the list from Mozilla (from Curl's maintainer's answer). According to its code, it seems to check whether the certificate is trusted or not before including it.

提交回复
热议问题