Skip to content

Agents talking to MCP Server, SSL verification is failing. Has some been through this? #1628

@aniketwattamwar

Description

@aniketwattamwar

Question

Agents talking to deployed MCP Server, SSL verification is failing. Has some been through this?

Additional Context

I have a server up and running and is able to respond with an MCP client the list of tools.
I then created an agent with crew AI following this - https://docs.crewai.com/en/mcp/streamable-http
If the MCP server is running on local it answers the questions asked to agent and works all fine.

But when I deploy it just changing the URL from localhost to deployed one gives SSL verification error as below:
httpx.ConnectError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1016)

I tried many things but always failing here. Any solution?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions