WeChat payment refund curl error, error code: 58

First, in CURL, the description of error code 58 is:

58

Local client certificate

There is a problem with the local certificate.

 

So, this is a local bug. And it should be a misconfiguration.

Baidu's solution to this problem is all in one sentence. If it is a win environment, an absolute path must be used. Then there is nothing else.

Of course, I tried changing the absolute path, but it still didn't work. . . . Finally found out, the key is cert.

 

The certificate must be placed in a folder called cert! ! ! ! !

The certificate must be placed in a folder called cert! ! ! ! !

The certificate must be placed in a folder called cert! ! ! ! !

 

58 will appear without calling cert. That's it. . . . .

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326519746&siteId=291194637