In an effort to move from http to https, trying to create a certificate from letsencrypt on oracle linux 6.2. This is what I did and the problems I encountered.
downloaded certbot-auto and tried to run it. Got an error:
To use Certbot, packages from the EPEL repository need to be installed.
Enable the EPEL repository and try running Certbot again.
downloaded and installed epel from http://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm (this turned out to be version 6.8)
The error was still the same.
Thought mabe epel version 6.8 might be too high for oracle linux 6.2 and downloaded http://archives.fedoraproject.org/pub/archive/epel/epel-release-latest-5.noarch.rpm
when trying to install the 5 version, it refuses to install since there is a later version present.
Tried to remove version 6. And this is what happens:
# yum remove epel-release
Loaded plugins: refresh-packagekit, security
Setting up Remove Process
Resolving Dependencies
--> Running transaction check
---> Package epel-release.noarch 0:6-8 will be erased
--> Finished Dependency Resolution
Error: Cannot retrieve repository metadata (repomd.xml) for repository: InstallMedia. Please verify its path
and try again
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
I tried to follow the guide in
https://oracle-base.com/articles/linux/letsencrypt-free-certificates-on-oracle-linux but can not follow it.
It asks to enable epel like this
[ol7_optional_latest]
name=Oracle Linux $releasever Optional Latest ($basearch)
baseurl=http://yum.oracle.com/repo/OracleLinux/OL7/optional/latest/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=1
No repo in my system has this type of section in it mentioning anything about optional_latest.
Another step wants you to install python and this is what happens:
yum install python-certbot-apache -y
Loaded plugins: refresh-packagekit, security
Setting up Install Process
No package python-certbot-apache available.
Error: Nothing to do
Not sure what to do now.