Project

General

Profile

Bug #823

Fix Curl SSL Certificate Error Preventing Yaourt Installation

Added by Daniel Curtis about 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Workstation
Target version:
Start date:
07/03/2016
Due date:
% Done:

100%

Estimated time:
0.50 h
Spent time:

Description

I recently encountered a problem while trying to install yaourt on Arch Linux. The problem caused a failure while downloading yaourt, with an error message stating:

curl: (77) error setting certificate verify locations:
  CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: none
==> ERROR: Failure while downloading https://github.com/archlinuxfr/yaourt/releases/download/1.8.1/yaourt-1.8.1.tar.xz
    Aborting...


After searching around online, I found the fix on the Arch Linux forum.

  • Remove the incorrect ca-certificate.crt file:
    sudo rm /etc/ssl/certs/ca-certificate.crt
    
  • Manually link the ca-bundle.trust.crt to the expected location:
    sudo ln -s /etc/ca-certificates/extracted/ca-bundle.trust.crt /etc/ssl/certs/ca-certificates.crt
    

Resources

History

#1 Updated by Daniel Curtis about 4 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

#2 Updated by Daniel Curtis about 4 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF