# Elasticsearch

**URL:** <https://discuss.elastic.co/t/elasticsearch/329632>\
**Category:** Elasticsearch\
**Tags:** docker\
**Created:** [April 10, 2023, 2:13am UTC](https://discuss.elastic.co/t/elasticsearch/329632 "2023-04-10T02:13:07Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)\
**Post date:** [April 10, 2023, 2:26am UTC](https://discuss.elastic.co/t/elasticsearch/329632/2 "2023-04-10T02:26:08Z")

</div>

> [@Fatiha](#):
>
> curl --cacert http\_ca.crt -u elastic [https://localhost:9200](https://localhost:9200)

Where are trying this command?

> [@Fatiha](#):
>
> Invoke-WebRequest : Parameter cannot be processed because the parameter name 'u' is ambiguous. Possible matches include: -UseBasicParsing -Uri -UseDefaultCredentials

Can you provide more context about this? Are you on Windows? This looks like an error from PowerShell.

If I'm not wrong this is not really _curl_, it is an alias in PowerShell to `Invoke-WebRequest`, so your curl command will not work as expected for a Linux system.

Your error does not seem to be related to Elasticsearch, try to open `https://localhost:9200` on a web browser to test the connection.

---

_[View the full topic](https://discuss.elastic.co/t/elasticsearch/329632)._
