Closed ilovelnmp closed 1 year ago
@ilovelnmp I'm assuming you are using Elasticsearch 8 with elasticsearch-php 8. The cURL erro 77 is CURLE_SSL_CACERT_BADFILE
and its related with SSL certificate. I see you are using the .p12
file format for the certificate. Can you try to convert it in .crt
format as suggested in the documentation?
If you have openssl installed you can use the following command:
openssl pkcs12 -in filename.p12 -clcerts -nokeys -out filename.crt
where the input is filename.p12
(in your case http.p12
) and the output is filename.crt
.
Let me know if this fix the issue, thanks!
Summary of problem or feature request
cURL error 77: (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://elastic:34l_yt1s989Uk-UCUi'@192.17.1.71:9200/my_index/_doc
The [http.p12] file in the code is copied from the server to the local
System details