开发者

libcURL CURLOPT_SSLKEYTYPE

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜