As of java 1.8 you can no longer do basic auth against HTTPs endpoint.
How can you use creds with bin/elasticsearch-plugin https endpoint?
Looks like you need an Authorization header added but how can you do that with the current binary? Is there some other way to configure this?
I opened issue here:
opened 09:57PM - 27 Jul 21 UTC
As of Java 1.8 HTTPS Basic auth can't be part of the request https://user:pass@s… erver
So need a way to provide base64 encoded user:pass to the elasticsearch::plugin url parameter as part of url connection:
```
urlConnection.setRequestProperty("Authorization", "Basic " + authStringEnc);
```
system
(system)
Closed
August 27, 2021, 4:05pm
2
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.