You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brooklyn.apache.org by "Yavor Yanchev (JIRA)" <ji...@apache.org> on 2016/09/26 12:09:20 UTC
[jira] [Created] (BROOKLYN-350) Upstream yum repos for PostgresSQL
started to enforce HTTPS
Yavor Yanchev created BROOKLYN-350:
--------------------------------------
Summary: Upstream yum repos for PostgresSQL started to enforce HTTPS
Key: BROOKLYN-350
URL: https://issues.apache.org/jira/browse/BROOKLYN-350
Project: Brooklyn
Issue Type: Dependency upgrade
Reporter: Yavor Yanchev
The upstream YUM repos [1] provided by the PostgreSQL project started to enforce HTTPS.
The PostgreSqlSshDriver uses curl to download RPMs from the upstream repo URL, but fails because it is redirected to the HTTPS location using a standard 301 header and curl is not instructed to follow the redirects.
Example curl output
{code}
< HTTP/1.1 301 Moved Permanently
< Location: https://yum.postgresql.org/9.4/redhat/rhel-6-x86_64/pgdg-centos94-9.4-2.noarch.rpm
{code}
If curl is instructed to follow the redirects with -L (--location) option the download will be successful
[1] http://yum.postgresql.org
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)