Error using PHP cURL with SSL certificates

前端 未结 5 1791
伪装坚强ぢ
伪装坚强ぢ 2020-12-08 10:03

I\'m trying to write a PHP script using cURL that can authorize a user through a page that uses an SSL certificate, in addition to username and password, and I can\'t seem t

5条回答
  •  伪装坚强ぢ
    2020-12-08 10:44

    Now that this question is vey old, but maybe could be useful for some users looking for an answer currently.

    I have a similar problem about an API with SSL, having problems with CURL (not with the browsers) my problem was that I just put the certificate but not the ceritifcates chain/bundle. Then I put that and things started working. So that's important in order to avoid problems.

    Hope this can be useful for someone.

提交回复
热议问题