Greetings,
* Martín Marqués (martin@2ndquadrant.com) wrote:
> Hi, not sure if this is the correct place to send this but as it's
> related with the servers and access to downloads, this seems the most
> appropriate list.
>
> I just tried downloading a pgdg yum repo and got a certificate error:
>
> # wget https://download.postgresql.org/pub/repos/yum/10/redhat/rhel-6-x86_64/pgdg-centos10-10-2.noarch.rpm
> --2018-06-21 10:45:04--
> https://download.postgresql.org/pub/repos/yum/10/redhat/rhel-6-x86_64/pgdg-centos10-10-2.noarch.rpm
> Resolviendo download.postgresql.org... 204.145.124.244,
> 174.143.35.246, 87.238.57.227, ...
> Connecting to download.postgresql.org|204.145.124.244|:443... conectado.
> ERROR: certificate common name `ftp.postgresql.org' doesn't match
> requested host name `download.postgresql.org'.
> To connect to download.postgresql.org insecurely, use `--no-check-certificate'.
>
> Seems clear from the error what the problem is, so I'm just reporting here.
While ftp.postgresql.org is the common name on the certificate,
download.postgresql.org is listed as a Subject Alternative Name and
therefore should be accepted. I certainly don't have any issue here
using a recent Ubuntu version.
What version of wget is that..?
Thanks!
Stephen