[Engine-devel] about ca-file

leaboy@126 wlbleaboy at 126.com
Mon Apr 8 10:09:03 UTC 2013


Question 1:

Hi,all:

         I'm in troubling with ca-file, who can tell me which the direction
assigned to  CA_FILE      

On the webpage
http://www.ovirt.org/How_to_Connect_to_SPICE_Console_Without_Portal 

saided  from the web: wget -O ${CA_FILE}  <http://%24%7Bovirt%7D/ca.crt>
http://${OVIRT}/ca.crt

When I use overt-shell, I get ca.pem like this :

 

         [leaboy at Leaboy ovirt_ca]$ pwd

/home/leaboy/ovirt_ca

[leaboy at Leaboy ovirt_ca]$ wget -o ca-cert.pem http://192.168.1.181/ca.pem

[leaboy at Leaboy ovirt_ca]$ ls

ca-cert.pem

[leaboy at Leaboy ovirt_ca]$

 

And then, I launched overt-shell and connect to overt-engine like this:

 

         ++++++++++++++++++++++++++++++++++++++++++

 

           Welcome to oVirt shell

 

 ++++++++++++++++++++++++++++++++++++++++++

        

    

[oVirt shell (disconnected)]# connect --url https://192.168.1.181 --user
admin at internal --password 111111 --ca-file /home/leaboy/ovirt_ca/ca_cear.pem

 

 

error: [ERROR]::oVirt API connection failure, [Errno 185090050] _ssl.c:340:
error:0B084002:x509 certificate routines:X509_load_cert_crl_file:system lib

 

 

[oVirt shell (disconnected)]#

 

Questioin 2:

When I connect the vm use spicec , get a error message like this:

leaboy at leaboy:~/.spicec$ spicec -h 192.168.1.219 -p 5900 -s 5901

Error: SSL_CTX_load_verify_locations failed
CA_file=/home/leaboy/.spicec/spice_truststore.pem

Warning: SSL Error:

leaboy at leaboy:~/.spicec$

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/engine-devel/attachments/20130408/60e6e060/attachment.html>


More information about the Engine-devel mailing list