OpenShift API reports authentication issues (403) when providing correct certificates.

Solution In Progress - Updated -

Issue

  • When trying to use curl to interact with the OpenShift API, one can't get data from authenticated endpoints, because curl shows access is "forbidden".

Example:

$ curl -E /etc/origin/master/admin.crt --key /etc/origin/master/admin.key https://<MASTER_API>/api/v1<API>
  • Note: The --cacert option, from /etc/origin/master/ca-bundle.crt may also be needed/supplied if a custom/corporate certificate was issued for the cluster.

Environment

  • Red Hat OpenShift Container Platform
    • 3
  • Red Hat Enterprise Linux (curl)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content