File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,10 @@ cd C:\Users\[your_username]\Desktop
1818## Importing data into local cluster
1919
2020```
21- curl --insecure -u elastic:[elasticsearch_password] -H "Content-Type:application/x-ndjson" -XPOST https://localhost:9200/products/_bulk --data-binary "@products-bulk.json"
21+ curl --cacert [path_to_CA_certificate] -u elastic -H "Content-Type:application/x-ndjson" -XPOST https://localhost:9200/products/_bulk --data-binary "@products-bulk.json"
22+
23+ # Skipping the verification of the certificate (only for local development)
24+ curl --insecure -u elastic -H "Content-Type:application/x-ndjson" -XPOST https://localhost:9200/products/_bulk --data-binary "@products-bulk.json"
2225```
2326
2427## Importing data into Elastic Cloud
You can’t perform that action at this time.
0 commit comments