Bug 1322295

Summary: Better to add '-k' to curl in the return page from 'oauth/token/request'
Product: OpenShift Container Platform Reporter: Xingxing Xia <xxia>
Component: apiserver-authAssignee: Jordan Liggitt <jliggitt>
Status: CLOSED WONTFIX QA Contact: weiwei jiang <wjiang>
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: aos-bugs, wsun
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-03-30 19:21:54 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Xingxing Xia 2016-03-30 08:42:50 UTC
Description of problem:
After request https://<master>:8443/oauth/token/request, the return page contains:
curl -H "Authorization: Bearer dHvhUnD5m14WqfcQnpKloEk9wbjUSCzvzDsO8Ib5HAM" "https://<master>:8443/oapi/v1/users/~" . But copy it and run, it prints error.
Better to add '-k' to it to improve experience.

Version-Release number of selected component (if applicable):
openshift v1.1.5-20-ga343783
kubernetes v1.2.0-36-g4a3f9c5
etcd 2.2.5

How reproducible:
Always

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:
Better to add '-k' to it to improve experience.

Additional info:

Comment 1 Jordan Liggitt 2016-03-30 19:21:54 UTC
We don't want to include options that allow man in the middle attacks by default.

Comment 2 Xingxing Xia 2016-03-31 02:32:35 UTC
Got it. Thank you.