Closed wrharding closed 3 years ago
[vagrant@centos6 ~]$ wget https://sqlite.org/2016/sqlite-autoconf-3100100.tar.gz --2021-10-09 21:45:05-- https://sqlite.org/2016/sqlite-autoconf-3100100.tar.gz Resolving sqlite.org... 45.33.6.223, 2600:3c00::f03c:91ff:fe96:b959 Connecting to sqlite.org|45.33.6.223|:443... connected. ERROR: cannot verify sqlite.org’s certificate, issued by “/C=US/O=Let's Encrypt/CN=R3”: Issued certificate has expired. To connect to sqlite.org insecurely, use ‘--no-check-certificate’. [vagrant@centos6 ~]$ wget http://sqlite.org/2016/sqlite-autoconf-3100100.tar.gz --2021-10-09 21:45:11-- http://sqlite.org/2016/sqlite-autoconf-3100100.tar.gz Resolving sqlite.org... 45.33.6.223, 2600:3c00::f03c:91ff:fe96:b959 Connecting to sqlite.org|45.33.6.223|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 2331931 (2.2M) [application/x-gzip] Saving to: “sqlite-autoconf-3100100.tar.gz”
100%[=====================================================================================================================>] 2,331,931 6.35M/s in 0.4s
2021-10-09 21:45:11 (6.35 MB/s) - “sqlite-autoconf-3100100.tar.gz” saved [2331931/2331931]
[vagrant@centos6 ~]$
Looks like I accidentally included the fix in #816
https://github.com/pwnlandia/mhn/blob/b49de3d71e9abda74d86bf1a80e10791495a8eee/scripts/install_sqlite.sh#L21
See this action which shows a certificate error when grabbing the specified version of SQLite. Utilizing
http
instead fixed the issue in my local testing. Such a small change is not worth a PR in my opinion, but I will make one if it's easier for the maintainer.