Bug 689554 - client consumer create causes invalid cert error without a cert
Summary: client consumer create causes invalid cert error without a cert
Keywords:
Status: CLOSED DUPLICATE of bug 679443
Alias: None
Product: Pulp
Classification: Retired
Component: user-experience
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Pradeep Kilambi
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-21 18:58 UTC by Pradeep Kilambi
Modified: 2013-09-09 16:30 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-03-21 20:17:41 UTC
Embargoed:


Attachments (Terms of Use)

Description Pradeep Kilambi 2011-03-21 18:58:16 UTC
If there are no existing consumers on the client and try to create a consumer without user/pass it sends a request to the server with empty cert/key instead of username/password

$ sudo pulp-client consumer create --id=testcon
warning: this client is not registered; please register to continue
error: operation failed: Invalid SSL Certificate

$ sudo pulp-client consumer create --id=testcon
warning: this client is not registered; please register to continue
error: operation failed: Invalid SSL Certificate

$ sudo pulp-client -u prad -p redhat consumer create --id=testcon
warning: this client is not registered; please register to continue
Successfully created consumer [ testcon ]

If a cert/key is not found, the consumer create should exit if username/password is not present saying

"Error: no consumer certificate and key found; please specify username and password to create a consumer" 

or something on similar lines..

Comment 1 Preethi Thomas 2011-03-21 20:17:41 UTC

*** This bug has been marked as a duplicate of bug 679443 ***


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