- Issue created by @damienmckenna
- πΊπΈUnited States damienmckenna NH, USA
For what it's worth, I changed StandardConnector.php to this:
protected function getClientOptions(): array { return [ 'base_uri' => $this->configuration['url'], 'verify_ssl' => $this->configuration['ssl_verification'], 'verify' => $this->configuration['ssl_verification'], ]; }
and now it gives this error:
OpenSearch\Exception\UnauthorizedHttpException: in OpenSearch\Exception\HttpExceptionFactory::create() (line 24 of /home/mysite/vendor/opensearch-project/opensearch-php/src/OpenSearch/Exception/HttpExceptionFactory.php).
- πΊπΈUnited States damienmckenna NH, USA
I wonder if this is simpler - is "verify_ssl" the wrong attribute to pass to Guzzle?
- Merge request !96Correct Guzzle argument to control SSL verification. β (Merged) created by damienmckenna
- π¦πΊAustralia kim.pepper πββοΈπ¦πΊSydney, Australia
Should just be
'verify' => false
according to the docs. https://docs.guzzlephp.org/en/stable/request-options.html#verifyAs for the exception in #2, that just looks like an authentication error?
-
kim.pepper β
committed f2c12856 on 2.x authored by
damienmckenna β
Issue #3525647 by damienmckenna: Verify-SSL option sends wrong argument...
-
kim.pepper β
committed f2c12856 on 2.x authored by
damienmckenna β
-
kim.pepper β
committed 72e290d9 on 3.x
Issue #3525647 by damienmckenna: Verify-SSL option sends wrong argument...
-
kim.pepper β
committed 72e290d9 on 3.x
- π¦πΊAustralia kim.pepper πββοΈπ¦πΊSydney, Australia
Committed to 2.x and 3.x. Thanks!
Automatically closed - issue fixed for 2 weeks with no activity.