DebugFactor.com | Forum

[Errno 14] problem making ssl connection

I am getting this error while trying to get the list of postgresql packages. I have already installed the postgresql yum repository.

yum list postgresql
Loaded plugins: product-id, security, subscription-manager
https://download.postgresql.org/pub/repos/yum/common/redhat/rhel-6Server-x86_64/repodata/repomd.xml: [Errno 14] problem making ssl connection
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: pgdg-common. Please verify its path and try again

I am using RHEL 6.7 and trying to install PostgreSQL 11.3