-> Downloading slimerjs-1.0.0.tar.bz2…
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:–:-- --:–:-- --:–:-- 0 > curl: (60) SSL certificate problem: unable to get local issuer certificate > More details here: curl - SSL CA Certificates
curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
==> ERROR: Failure while downloading https://download.slimerjs.org/releases/1.0.0/slimerjs-1.0.0.tar.bz2
Aborting…
* Trying 87.98.141.92:443...
* Connected to download.slimerjs.org (87.98.141.92) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
* CApath: none
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.2 (IN), TLS handshake, Certificate (11):
* TLSv1.2 (OUT), TLS alert, unknown CA (560):
* SSL certificate problem: unable to get local issuer certificate
* Closing connection 0
curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: https://curl.se/docs/sslcerts.html
curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
Although the browser says it’s ok
Aha. root cert is missing. Most likely because in webserver config it does not use the fullchain cert.
git clone https://aur.archlinux.org/slimerjs.git
cd slimerjs
edit PKGBUILD, replace "source..." line with this: source=("${pkgname}-${pkgver}.tar.bz2")
Manually download https://download.slimerjs.org/releases/1.0.0/slimerjs-1.0.0.tar.bz2 and place it in the slimerjs folder
makepkg
sudo pacman -U slimerjs-1.0.0-1-any.pkg.tar.xz