Pamac Cannot Update. Error Setting Certificate

# curl -O https://pkgbuild.com/~morganamilo/pacman-static/x86_64/bin/pacman-static
chmod +x pacman-static
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:02:10 --:--:--     0
curl: (28) Failed to connect to pkgbuild.com port 443 after 130155 ms: Couldn't connect to server
chmod: cannot access 'pacman-static': No such file or directory
# sudo ./pacman-static -Syu
bash: ./pacman-static: No such file or directory

Moderator edit: In the future, please use proper formatting: [HowTo] Post command output and file content as formatted text