Getting 403 error when verifying broker configuration using curl.

Solution Verified - Updated -

Issue

  • When verifying broker configuration using curl command, Why it returns the 403 HTTP response code in the HTTP Response :
curl -k https://localhost/broker/rest/api
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>403 Forbidden</title>
</head><body>
<h1>Forbidden</h1>
<p>You don't have permission to access /broker/rest/api
on this server.</p>
<hr>
<address>Apache/2.2.15 (Red Hat) Server at localhost Port 80</address>
</body></html>

Environment

  • OpenShift Enterprise
    • 1.x
    • 2.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.