Bug 915231

Summary: RHEVM-CLI: Add flag --dont-validate-cert-chain
Product: Red Hat Enterprise Virtualization Manager Reporter: Barak <bazulay>
Component: ovirt-engine-cliAssignee: Michael Pasternak <mpastern>
Status: CLOSED ERRATA QA Contact: Ilia Meerovich <iliam>
Severity: medium Docs Contact:
Priority: high    
Version: 3.1.0CC: aburden, acathrow, alonbl, alourie, bazulay, dyasny, iheim, kroberts, mgoldboi, mpastern, oramraz, pspacek, Rhev-m-bugs, sgrinber, yeylon, ykaul
Target Milestone: ---   
Target Release: 3.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: infra
Fixed In Version: sf10 Doc Type: Bug Fix
Doc Text:
Previously, the SDK ignored the '--insecure' option and would still require a CA certificate when connecting to the CLI using rhevm-shell. A new parameter 'dont-validate-cert-chain' has now been added that does not validate server CA certificate.
Story Points: ---
Clone Of: 915225 Environment:
Last Closed: 2013-06-10 20:30:33 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 915225    
Bug Blocks: 886525, 922807    

Comment 2 Ilia Meerovich 2013-05-13 09:32:44 UTC
What is exact behaviour that user should expect and how can I find it in CLI help?

Comment 3 Michael Pasternak 2013-05-13 10:42:38 UTC
(In reply to comment #2)
> What is exact behaviour that user should expect and how can I find it in CLI
> help?

you can see it in comment from Barak on 2013-02-11 04:22:55 EST

Comment 4 Ilia Meerovich 2013-05-13 10:50:21 UTC
[imeerovi@imeerovi ART]$ /usr/bin/rhevm-shell -c --url=https://leonid_rhevm.qa.lab.tlv.redhat.com:443/api/ -u admin@internal  -A /tmp/foo

error: [Errno 0] _ssl.c:328: error:00000000:lib(0):func(0):reason(0)



        
 ++++++++++++++++++++++++++++++++++++++++++
 
           Welcome to RHEVM shell
 
 ++++++++++++++++++++++++++++++++++++++++++
        
    
[RHEVM shell (disconnected)]# 

-------------------------------------------------------------------------------
[imeerovi@imeerovi ART]$ /usr/bin/rhevm-shell -c --url=https://leonid_rhevm.qa.lab.tlv.redhat.com:443/api/ -u admin@internal  -D -A /tmp/foo

 ==========================================
 >>> connected to RHEVM manager 3.2.0.0 <<<
 ==========================================


        
 ++++++++++++++++++++++++++++++++++++++++++
 
           Welcome to RHEVM shell
 
 ++++++++++++++++++++++++++++++++++++++++++
        
    
[RHEVM shell (connected)]#

Comment 5 errata-xmlrpc 2013-06-10 20:30:33 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2013-0890.html