Passing .PEM and .KEY as string in Curl using PHP

前端 未结 4 2015
星月不相逢
星月不相逢 2021-02-12 20:56

I\'ve a CERT and private key files. I\'m using cUrl and PHP to connect to another service. At the moment, I\'ve cert and key in files and it works perfectly fine with following

4条回答
  •  星月不相逢
    2021-02-12 21:19

    You could create temporary files, write the strings into the files and then point to the temp files...

提交回复
热议问题