Certifcates problem

Hi, I’m not exactly sure what I did but I am now getting an error when I do a pacman database update. The error message I’m getting is

error setting certificate verify locations: CAfile: /etc/ssl/certs/ca-certificates.crt CApath: none

when I go to that file it is empty. One of the consequences of this is that when you go to a browser it refuses to load a page…

Any assistance the community can provide is gratefully received.

HI @jnmr,

That file belongs to the ca-certificates-utils package, which is in the core repository:

$ pkgfile --search ca-certificates-utils
ca-certificates-utils                                                                                                                                                                                                          [Installed] 20220905-1  core
Common CA certificates (utilities)

So it should be as simple as reinstalling that package, while forcing all files to be overwritten:

$ pamac install ca-certificates-utils --overwrite='*'

Hope this helps!

1 Like

Hi, thanks for reply but unfortunately it didn’t. The system said it already had the latest, but maybe for that reason it did not redownload and overwrite…

I’m now thinking might have to invoke timeshift…

Then try:

$ pamac reinstall ca-certificates-utils