curl SSL certificate problem: self signed certifica after Setting up 1password as my ssh agent

andresroot
andresroot
Community Member

Hi

I recently configured 1password as my ssh agent to secure my github and server keys, however I just noticed that CURL is now giving me issues. Every time I try to use CURL I get this error:

curl: (60) SSL certificate problem: self signed certificate in certificate chain
More details here: https://curl.se/docs/sslcerts.html

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
(base)

This wasn't happening before I did this configuration. is 1password ssh-agent the cause of this problem?

Thanks


1Password Version: 1Password for Mac 8.8.0
Extension Version: Not Provided
OS Version: macOS Monerey Version 12.5
Browser:_ Not Provided

Comments

  • Hi @andresroot,

    We are not aware of the SSH agent causing any problems with curl. Does this error occur when curl-ing a specific page or for any page you curl?

  • andresroot
    andresroot
    Community Member

    It happens with every Page I CURL. If I CURL google.com this error happens.

  • XIII
    XIII
    Community Member

    I get this (which seems fine) when using the 1Password SSH agent:

    ➜ curl google.com
    <HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8">
    <TITLE>301 Moved</TITLE></HEAD><BODY>
    <H1>301 Moved</H1>
    The document has moved
    <A HREF="http://www.google.com/">here</A>.
    </BODY></HTML>
    

    What does it look like for you @andresroot?

  • I don't really see how enabling the SSH agent can interfere with your SSL setup. Does it start working again if you disable the agent?

This discussion has been closed.