开发者

libcURL CURLOPT_SSLKEYTYPE

开发者 https://www.devze.com 2023-03-02 04:10 出处:网络
Is there a way to get libcURL to accept a key that is not a \"PEM\", \"DER\", or \"ENG\" file? I would like to be able to verify the client with the server but I am unable to aquire the PEM key. I hav

Is there a way to get libcURL to accept a key that is not a "PEM", "DER", or "ENG" file? I would like to be able to verify the client with the server but I am unable to aquire the PEM key. I have a cert file in .txt format that I can place in the key database. 开发者_运维问答Does anyone know of a way this can be done?

Thanks, Greg


No, you need to provide the key in a format that libcurl knows and speaks (which in turn is mandated by the SSL library your libcurl version is using).

0

精彩评论

暂无评论...
验证码 换一张
取 消