Web lists-archives.com

wget does not recognize PKI?




Greetings, All!

$ wget https://ca.rootdir.org/ca.crl
--2018-08-05 20:05:28--  https://ca.rootdir.org/ca.crl
Resolving ca.rootdir.org (ca.rootdir.org)... 192.168.1.6
Connecting to ca.rootdir.org (ca.rootdir.org)|192.168.1.6|:443... connected.
ERROR: The certificate of ‘ca.rootdir.org’ is not trusted.
ERROR: The certificate of ‘ca.rootdir.org’ hasn't got a known issuer.

$ "$( which wget )" --version
GNU Wget 1.19.1 built on cygwin.

-cares +digest -gpgme +https +ipv6 +iri +large-file -metalink +nls +ntlm +opie +psl +ssl/gnutls

The root CA certificate is correctly installed and hashed.

$ ls -l /etc/ssl/certs/
total 3
lrwxrwxrwx  1 anrdaemon None  13 мар 31 01:30 a94d09e5.0 -> ca-bundle.crt
lrwxrwxrwx  1 anrdaemon None  49 мар 12 02:29 ca-bundle.crt -> /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem
lrwxrwxrwx  1 anrdaemon None  55 мар 12 02:29 ca-bundle.trust.crt -> /etc/pki/ca-trust/extracted/openssl/ca-bundle.trust.crt
lrwxrwxrwx  1 anrdaemon None  18 мар 31 01:30 dd07c56a.0 -> Rootdir.org_CA.crt
drwxr-xr-x+ 1 anrdaemon None   0 апр 22 16:50 demo
drwxr-xr-x+ 1 anrdaemon None   0 апр 22 16:50 expired
-rw-r--r--  1 anrdaemon None 165 апр  3 14:04 README.RootCerts
lrwxrwxrwx  1 anrdaemon None  29 фев 14 04:41 Rootdir.org_CA.crt -> /etc/ssl/ca-20120530-0121.crt

What's going on?


-- 
With best regards,
Andrey Repin
Sunday, August 5, 2018 20:07:02

Sorry for my terrible english...