Starting in the 8.1 Enterprise Search release, we have a new Elastic SharePoint Server connector package available for beta. This connector package extends the existing Workplace Search content source catalog, with a fully customizable connector package.
Hi. We've started experimenting with this connector for our on-premises implementation of SharePoint 2019.
I don't see anywhere in the documentation for the configuration file for the connector a way to reference a CA pem file so that certificates can be validated.
My make test_connectivity is failing with an ssl verification error:
raise SSLError(e, request=request) requests.exceptions.SSLError: HTTPSConnectionPool(host='sharepoint-host.bogus', port=443): Max retries exceeded with url: ///sites/ABC/_api/web/webs?&$skip=0&$top=5000 (Caused by SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:897)'),))
Is there a way to either specify the location of the CA file or tell the connector to NOT validate certs?
@TonyWRobinson Hey there, the workaround that you can do is to modify the connector by adding these parameters to the requests.get() method: verfiy = False or verify = '/path / to / certfile' in sharepoint_client.py file.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.