error: curl issue validating SSL


  • | 241 points

    Hi guys,
    I got Laragon Full 4.0.15 and developing using Wordpress
    unfortunately, when I go to check site health I receive the following error
    Error: [] cURL error 60: SSL certificate problem: unable to get local issuer certificate

    Happens when curl is trying to read something from wordpress and can trust the local issuer?

    Any idea of how to fix it?


  • administrators
    | 122410 points


  • | 241 points

    @leokhoa Thanks Leo, I did it all and the problem remains the same. it about curl not finding the cert that belongs to the local issuer. I have no idea how to fix that.


  • | 241 points


  • | 281 points

    bumping because I don't think there's been a proper solution.
    I'm getting the same error every time I curl into any of my laragon domains. Adding the certificate to the trust store does nothing.

    λ curl -lv https://domain.test
    *   Trying 127.0.0.1...
    * TCP_NODELAY set
    * Connected to domain.test (127.0.0.1) port 443 (#0)
    * ALPN, offering h2
    * ALPN, offering http/1.1
    * successfully set certificate verify locations:
    *   CAfile: C:\laragon\bin\laragon\utils\curl-ca-bundle.crt
      CApath: none
    * TLSv1.3 (OUT), TLS handshake, Client hello (1):
    * TLSv1.3 (IN), TLS handshake, Server hello (2):
    * TLSv1.2 (IN), TLS handshake, Certificate (11):
    * TLSv1.2 (OUT), TLS alert, unknown CA (560):
    * SSL certificate problem: unable to get local issuer certificate
    * Closing connection 0
    curl: (60) SSL certificate problem: unable to get local issuer certificate
    More details here: https://curl.haxx.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.
    

  • | 34 points

    Also facing the same issue. Is there any fix or workaround?
    cURL error 60: SSL certificate problem: unable to get local issuer certificate


Log in to reply
 

Looks like your connection to Laragon was lost, please wait while we try to reconnect.