What is the correct way to use htpasswd in OCP3.10 and OCP3.11

Solution Unverified - Updated -

Issue

  • After modifying the master-config to use htpasswd as the auth provider the master-api pod cannot be restarted.
  • The HTPasswd password file is located in /etc/origin/httpuser or /root/httpuser
  • The restart command is: $master-restart api and the related doc is here.

Environment

  • Red Hat OpenShift Container Platform 3.10
  • Red Hat OpenShift Container Platform 3.11

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