HTTP Error 618: Failed to load CACERT

  • jjdavis699
    12th Oct 2020 Member 1 Permalink

    Title has it all, running Powder on Fedora Linux 32, tried to go to gallery and I get Error 618.

    Here's the pastebin.

     

    Any ideas folks?

  • jacob1
    13th Oct 2020 Developer 1 Permalink
    This means it can't find the system certificate bundle. It would be weird for a system to not have that by default, but it's possible you're missing it.

    Install it with "sudo yum install ca-certificates"

    If it's already installed, then curl is looking in the wrong place for it. The file should be at /etc/ssl/certs/ca-certificates.crt according to that error message. This is where it is on my system (debian testing). If it's not there, google is saying another common location is /etc/pki/tls/certs/ca-bundle.crt , and maybe you'll need an environment variable or a symlink to point it to the right place.
    Edited once by jacob1. Last: 13th Oct 2020
  • jjdavis699
    13th Oct 2020 Member 0 Permalink

    @jacob1 (View Post)

     OK. i'll keep that in mind. Had to go back to Windows for reasons. If I ever run Powder on Fedora again i'll give it a look.

  • Max_Rodriguez
    12th Mar 2021 Member 0 Permalink

    I am also running Fedora 33 Workstation and I can't seem to fix this issue, I have SSL installed and there are some certificates in the directory it looks for, but not with the name "ca-certificates.crt".

    Edit: I do have the ca-bundle.crt that you mentioned, but how do I point it correctly?

    Edited once by Max_Rodriguez. Last: 12th Mar 2021
  • Aranym1
    12th Jul 2021 Member 0 Permalink

    For anyone who encounters this issue in the future, you just have to run this command:

     

    sudo ln -s /etc/pki/tls/certs/ca-bundle.crt /etc/ssl/certs/ca-certificates.crt

     

    This will create a symlink from the certificate bundle to the location where TPT is looking for it.

     

    Edited 2 times by Aranym1. Last: 12th Jul 2021
  • jacob1
    12th Jul 2021 Developer 0 Permalink
    I wonder if libcurl is built to only look at /etc/ssl/certs/ca-certificates.crt , rather than some system default directory. That is silly, if so ..
  • janawil
    31st Mar 2023 Member 0 Permalink

    @Aranym1 (View Post)

     Thanks bro! Its very helpful. I used this command on fedora 33 and it works good. 

  • LBPHacker
    1st Apr 2023 Developer 0 Permalink
    For future reference, TPT has a cafile command line argument now, which you can use to override the default certificate bundle location.
    Edited once by LBPHacker. Last: 1st Apr 2023