Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[ssl + curl + vmware] problema di autenticazione [risolto]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Forum di discussione italiano
View previous topic :: View next topic  
Author Message
cloc3
Advocate
Advocate


Joined: 13 Jan 2004
Posts: 4807
Location: http://www.gentoo-users.org/user/cloc3/

PostPosted: Mon Aug 30, 2010 11:46 am    Post subject: [ssl + curl + vmware] problema di autenticazione [risolto] Reply with quote

ho bisogno di utilizzare l alinea di comando per lanciare una macchina virtuale sotto vmware.
in particoalre, mi serve il comando:
Code:

rhserver ~ #  /opt/vmware/vix/bin/vmrun -T standard -h https://localhost:8333/ -u vmware -p password start "[vm] vm/vm.vmx"

purtroppo fallisce con il seguente errore di strace:
Code:

[pid  9204] open("/dev/urandom", O_RDONLY) = 144
[pid  9204] open("/usr/share/curl/curl-ca-bundle.crt", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid  9204] open("/etc/resolv.conf", O_RDONLY) = 143
[pid  9204] open("/etc/nsswitch.conf", O_RDONLY) = 143
[pid  9204] open("/dev/urandom", O_RDONLY) = 143
[pid  9204] open("/usr/share/curl/curl-ca-bundle.crt", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid  9204] open("/etc/resolv.conf", O_RDONLY) = 143
[pid  9204] open("/etc/nsswitch.conf", O_RDONLY) = 143
[pid  9204] open("/dev/urandom", O_RDONLY) = 143
[pid  9204] open("/usr/share/curl/curl-ca-bundle.crt", O_RDONLY) = -1 ENOENT (No such file or directory)
Error: Unknown error

purtroppo, sto utilizzando la 1.6.2-203138.x86_64 di vmware-vix, che ho installato manualmente, perché non esiste ancora l'ebuild per app-emulation/vmware-server-2.0.2.203138-r1

tuttavia, sono sicuro che il problema si potrebbe facilmente risolvere, solo ad essere meno imbranato con ssl.
chi mi dà una dritta?

edit
aggiornamento.
sulla falsariga di questo howto, ho creato un file /usr/share/curl/curl-ca-bundle.crt, con il seguente comando:
Code:

openssl s_client  -host localhost -port 8333 </dev/null 2>/dev/null | sed -n '/BEGIN CERTIFICATE/,/END CERTIFICATE/p'>>
/usr/share/curl/curl-ca-bundle.crt

purtroppo non è servito a nulla.
_________________
vu vu vu
gentù
mi piaci tu


Last edited by cloc3 on Wed Sep 08, 2010 11:35 am; edited 1 time in total
Back to top
View user's profile Send private message
cloc3
Advocate
Advocate


Joined: 13 Jan 2004
Posts: 4807
Location: http://www.gentoo-users.org/user/cloc3/

PostPosted: Wed Sep 08, 2010 11:35 am    Post subject: Re: [ssl + curl + vmware] problema di autenticazione. Reply with quote

cloc3 wrote:

Code:

rhserver ~ #  /opt/vmware/vix/bin/vmrun -T standard -h https://localhost:8333/ -u vmware -p password start "[vm] vm/vm.vmx"

l'errore era stupido:
Quote:

rhserver ~ # /opt/vmware/vix/bin/vmrun -T standard -h https://localhost:8333/sdk -u vmware -p password start "[vm] vm/vm.vmx"


_________________
vu vu vu
gentù
mi piaci tu
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Forum di discussione italiano All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum