Curl Error (77)

Latest response

Hi guys I've had issues with dnf install createrepo as it shows the below error.

[root@localhost admin]# dnf install createrepo
Updating Subscription Management repositories.
created by dnf config-manager from https://repo.tes 0.0 B/s | 0 B 00:01
Errors during downloading metadata for repository 'repo.test.com':
- Curl error (77): Problem with the SSL CA cert (path? access rights?) for https://repo.test.com/repodata/repomd.xml [error setting certificate verify locations:
CAfile: /etc/pki/tls/certs/ca-bundle.crt
CApath: none]
Error: Failed to download metadata for repo 'repo.test.com': Cannot download repomd.xml: Curl error (77): Problem with the SSL CA cert (path? access rights?) for https://repo.test.com/repodata/repomd.xml [error setting certificate verify locations:
CAfile: /etc/pki/tls/certs/ca-bundle.crt
CApath: none]

I've tried
sudo dnf clean all
sudo rm -r /var/cache/dnf
sudo dnf upgrade

However all still came to the same error output, can someone please assist with this one.

Currently running RHEL 8

Responses