CentOS 7:
The yum repo files under /etc/yum.repos.d have the below http URLs, but we have a requirement wherein we need to use only the https URLs.
http://vault.centos.org
http://debuginfo.centos.org
http://mirror.centos.org
http://mirrorlist.centos.org
Can you please let me know what are the equivalent https URLs for the above ones?
Thank you,
Ramakrishna Battula.
http URLs under /etc/yum.repos.d to be replaced by https.
Re: http URLs under /etc/yum.repos.d to be replaced by https.
Did you try simply replacing the "http" with "https"? Those URLs appear to redirect to https anyway!
Code: Select all
wget http://vault.centos.org
--2023-03-07 09:52:35-- http://vault.centos.org/
Resolving vault.centos.org... 13.227.74.77, 13.227.74.121, 13.227.74.56, ...
Connecting to vault.centos.org|13.227.74.77|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://vault.centos.org/ [following]
--2023-03-07 09:52:35-- https://vault.centos.org/
Connecting to vault.centos.org|13.227.74.77|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘index.html’
index.html [ <=> ] 27.29K --.-KB/s in 0.004s
2023-03-07 09:52:35 (6.69 MB/s) - ‘index.html’ saved [27947]
Re: http URLs under /etc/yum.repos.d to be replaced by https.
Hi,
Thanks for your reply.
Sorry, the first URL is mistakenly given, but the rest don't redirect to https. I need the equivalent https URLs for them(given below).
http://debuginfo.centos.org
http://mirror.centos.org
http://mirrorlist.centos.org
Thanks in advance.
Thanks for your reply.
Sorry, the first URL is mistakenly given, but the rest don't redirect to https. I need the equivalent https URLs for them(given below).
http://debuginfo.centos.org
http://mirror.centos.org
http://mirrorlist.centos.org
Thanks in advance.
Re: http URLs under /etc/yum.repos.d to be replaced by https.
I think you are going to have to find a specific mirror that supports https and use that URL in your repo files. For example:
https://ftp.dimensiondata.com/mirror/centos/7/
Why are you doing this? The packages are signed and the signatures are checked before the packages are used.
https://ftp.dimensiondata.com/mirror/centos/7/
Why are you doing this? The packages are signed and the signatures are checked before the packages are used.
Re: http URLs under /etc/yum.repos.d to be replaced by https.
https://www.centos.org/download/mirrors/ may help.
CentOS 8 died a premature death at the end of 2021 - migrate to Rocky/Alma/OEL/Springdale ASAP.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are dead, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are dead, do not use them.
Use the FAQ Luke
Re: http URLs under /etc/yum.repos.d to be replaced by https.
The reason for replacing http with https is that port 80 is blocked in our organization due to security issues.
Thank you.
Thank you.