Cannot access REST API of kie server in OpenShift
Issue
When using curl to access rest api of kie server, there is always 403 error:
curl -kv -u "client:redhat" -H "accept: application/json" "https://rhdm-kieserver-rhdm.apps311.example.com/kie-server/services/rest/server/containers"
...
<html><head><title>Error</title></head><body>Forbidden</body></html>* Connection #0 to host rhdm-kieserver-rhdm.apps311.example.com left intact
Environment
- Red Hat Decision Manager (RHDM)
- 7.x
- Red Hat Process Automation Manager (RHPAM)
- 7.x
- Red Hat Openshift Container Platform (RH OCP)
- 3.11
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.