Question

cURL error 60: SSL certificate problem: certificate has expired even though ssl is disabled

Posted February 13, 2021 56 views
Ubuntu 20.04

Hello everyone,

I am using ubuntu 20. Everything was fine but recently I can perform any curl request. Each time I do showing
cURL error 60: SSL certificate problem: certificate has expired (see https://curl.haxx.se/libcurl/c/libcurl-errors.html)

What I tried:

  1. renew certificate using certbot.
  2. reinstalling certificate using certbot
  3. disable ssl verification. But then another issue arises: cURL error 56: OpenSSL SSL_read: Connection reset by peer, errno 104 (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) 4.I tried disabling the certificate using certbot delete but still giving me the error.
Submit an answer

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!