where is the problem ?
curl --cacert http_ca.crt -u elastic https://localhost:9200

Invoke-WebRequest : Parameter cannot be processed because the parameter name 'u' is ambiguous. Possible matches include: -UseBasicParsing -Uri -UseDefaultCredentials -UserAgent.
At line:1 char:27

  • curl --cacert http_ca.crt -u elastic https://localhost:9200
  •                       ~~
    • CategoryInfo : InvalidArgument: (:slight_smile: [Invoke-WebRequest], ParameterBindingException
    • FullyQualifiedErrorId : AmbiguousParameter,Microsoft.PowerShell.Commands.InvokeWebRequestCommand

@Fatiha Please do not create duplicate topics.

Closing this since you opened a new topic with the same question

Also please use a more descriptive title for your topics, often if it just says one word with nothing meaningful people will just ignore it.