Wget Returns Certificate Error Message — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register
Note!! Please register for a free account to access the full content and also to participate in Q&A in the community

Wget Returns Certificate Error Message

edited Sep 13, 2024 4:17PM in Linux

Applies to: 

Linux OS - Version Oracle Linux 7.0 and later 

Linux x86-64 

Symptoms

After importing a Certificate Authority ( CA )  certificate with "update-ca-trust", wget still reports that the issuer is unknown but only for non-root users 

ERROR: The certificate of ‘<server name>’ is not trusted. 
ERROR: The certificate of ‘<server name>’ hasn't got a known issuer. 

Cause

Permissions are missing:

-rw-r-----. 1 root root 1639 Dec 6 2017 ca-cert-custom.pem 

should be 

-rw-r-xr-x. 1 root root 1639 Dec 6 2017 ca-cert-custom.pem 


Solution

In order to fix this, please run the following commands and try the wget command again:
 

# cd /etc/pki/ca-trust/source/anchors 
# chmod a+rx ca-cert-custom.pem 

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!