Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.1k views
in Technique[技术] by (71.8m points)

laravel - failed loading cafile stream: `C:xamppapacheincurl-ca-bundle.crt'

enter image description here

How to solve this error ?

failed loading cafile stream: `C:xamppapacheincurl-ca-bundle.crt'

enter image description here

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

You are not providing a valid ca bundle file.

Try downloading this file and save it as C:xamppapacheincurl-ca-bundle.crt You can read the explanation on the Certificate Verification section of the curl documentation.

libcurl performs peer SSL certificate verification by default. This is done by using a CA certificate store that the SSL library can use to make sure the peer's server certificate is valid.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...