X

Oracle Linux, virtualization , Enterprise and Cloud Management Cloud technology musings

  • February 11, 2018

public-yum.oracle.com / yum.oracle.com now support https

Might have taken us a while but you can now use https in your .repo files to connect to our yum repositories.

We will transition the repo files we ship over time but we don't want to break people that have customizations.

So in the meantime, if you have repo files in /etc/yum.repos.d that point to http://yum.oracle.com or http://public-yum.oracle.com you can just do a search/replace.

Something like:

sed 's/http:\/\/public-yum.oracle.com/https:\/\/public-yum.oracle.com/g; s/http:\/\/yum.oracle.com/https:\/\/yum.oracle.com/g' public-yum-ol7.repo > public-yum-ol7.repo.new

and then replace the repo file.

UPDATE:

we really want to get away from people using public-yum and use yum.oracle.com instead... so the sed command should be

sed 's/http:\/\/public-yum.oracle.com/https:\/\/yum.oracle.com/g; s/http:\/\/yum.oracle.com/https:\/\/yum.oracle.com/g' public-yum-ol7.repo > public-yum-ol7.repo.new

Join the discussion

Comments ( 1 )
  • Jonathan Monday, February 12, 2018
    Glad to finally see this.
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.Captcha