Bug 1322295 - Better to add '-k' to curl in the return page from 'oauth/token/request'
Summary: Better to add '-k' to curl in the return page from 'oauth/token/request'
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: apiserver-auth
Version: unspecified
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: ---
Assignee: Jordan Liggitt
QA Contact: weiwei jiang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-30 08:42 UTC by Xingxing Xia
Modified: 2019-03-29 15:49 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-03-30 19:21:54 UTC
Target Upstream Version:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.