Hi team, I am following below link to setup mcp server for Elasticsearch
I use Databases for Elasticsearch from IBm cloud.
i have given below code :
client = AsyncElasticsearch(
[MCP_ELASTIC_URL],
ca_certs=f"./certificates/elastic_production.pem", # Use the renamed file
basic_auth=("elastic", MCP_ELASTIC_PASSWORD)
)
But getting below error when i check this on mcp dev portal
[SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: Basic Constraints of CA cert not marked critical
In ibm cloud elastic databases we have endpoint lik this :
https://$USERNAME:$PASSWORD@xxxxxxx.databases.appdomain.cloud``:PORT
I am able to connect with same code in python code but not using mcp dev portal