Reputation: 61
I'am trying to generate certificate from Let's Encrypt It over certbot (package ver. 0.21.1.-1), but i'am getting error. I'am using webroot module.
OSError: Could not find a suitable TLS CA certificate bundle, invalid path: /etc/ssl/certs/ca-certificates.crt
I don't have there file with this filename. Should i generate it, download?
Upvotes: 5
Views: 22721
Reputation: 1
It happens because the original ca-certificates.crt
file is missing.
In my case, I removed it when adding a new certificate file containing my website.com as a CN (Common Name). Fortunately, I had a backup copy of that file.
If you have that file, just put it again in the directory:
/etc/ssl/certs/ca-certificates.crt
Or try to add a new one with the same name.
Upvotes: 0
Reputation: 131
Maybe /etc/ssl/certs/ca-certificates.crt is not exist.
Try running sudo update-ca-certificates
to create it.
Upvotes: 13
Reputation: 417
I ended up doing cd /etc/ssl/certs
followed by cat *.pem >> ca-certificates.crt
Not the most elegant solution and you'll have to delete the file and redo it every time the ca-certificates package (or its dependents) update...
Upvotes: 3
Reputation: 12130
Try running sudo pacman -S ca-certificates
to install the core certificates
Upvotes: 1