Skip to content

Commit

Permalink
Fix curl Unauthorized on windows (#3381) (#3404)
Browse files Browse the repository at this point in the history
(cherry picked from commit ad34a05)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
1 parent 34a02b7 commit 4b01049
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions _install-and-configure/install-opensearch/windows.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ An OpenSearch node in its default configuration (with demo certificates and user
1. Open a new command prompt and send requests to the server to verify that OpenSearch is running. Note the use of the `--insecure` flag, which is required because the TLS certificates are self-signed.
- Send a request to port 9200:
```bat
curl.exe -X GET https://localhost:9200 -u 'admin:admin' --insecure
curl.exe -X GET https://localhost:9200 -u "admin:admin" --insecure
```
You should get a response that looks like this:
```bat
Expand All @@ -95,7 +95,7 @@ An OpenSearch node in its default configuration (with demo certificates and user
```
- Query the plugins endpoint:
```bat
curl.exe -X GET https://localhost:9200/_cat/plugins?v -u 'admin:admin' --insecure
curl.exe -X GET https://localhost:9200/_cat/plugins?v -u "admin:admin" --insecure
```
The response should look like this:
Expand Down Expand Up @@ -246,4 +246,4 @@ The Performance Analyzer plugin is not available on Windows. All other OpenSearc

- [OpenSearch configuration]({{site.url}}{{site.baseurl}}/install-and-configure/configuration/)
- [OpenSearch plugin installation]({{site.url}}{{site.baseurl}}/opensearch/install/plugins/)
- [About the security plugin]({{site.url}}{{site.baseurl}}/security/index/)
- [About the security plugin]({{site.url}}{{site.baseurl}}/security/index/)

0 comments on commit 4b01049

Please sign in to comment.