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. . . . .