curl: (77) error setting certificate verify locations: - Linuxbrew/brew GitHub Wiki

curl: (77) error setting certificate verify locations: CAfile: /home/linuxbrew/.linuxbrew/etc/openssl/cert.pem CApath: /home/linuxbrew/.linuxbrew/etc/openssl/certs Error: Failed to download resource "ncurses" Download failed: https://linuxbrew.bintray.com/bottles/ncurses-6.1.x86_64_linux.bottle.tar.gz Warning: Bottle installation failed: building from source. ==> Installing dependencies for ncurses: pkg-config and gpatch ==> Installing ncurses dependency: pkg-config ==> Downloading https://linuxbrew.bintray.com/bottles/pkg-config-0.29.2_1.x86_64_linux.bottle.tar.gz -=O=- # # # # curl: (77) error setting certificate verify locations: CAfile: /home/linuxbrew/.linuxbrew/etc/openssl/cert.pem CApath: /home/linuxbrew/.linuxbrew/etc/openssl/certs Error: Failed to download resource "pkg-config"