I got an error message while running the
curl https://localhost:9200 -ku 'admin:admin'. I guess, that the error message received indicates that the server could not be verified and a secure connection could not be established.
In order to solve this, I already tried to skip SSL certificate validation and avoid the “unauthorized” error, using commands:
curl https://localhost:9200 -k -u ‘admin:admin’
And use the
--insecure flag with the
curl command to disable certificate verification.
But none of them helped me, to verify that I have successfully configured OpenSearch with security features.
Any help would be appreciated!
P.S. Before that, I went through these steps on a home computer, which is now under repair due to congestion. Now I’m trying to download through a working laptop, but I get this error.