vmware-archive/rvc

SSL connection issue with custom port

ravenz opened this issue · 1 comments

Our vCenter Server runs on a custom port (13443). Can connect via browser and via VI client without problems.

However, when doing: rvc 10.100.1.3:13443

I get this error:

/usr/lib/ruby/1.8/net/http.rb:586:in `connect': SSL_connect returned=1 errno=0 state=SSLv2/v3 read server hello A: unknown protocol (OpenSSL::SSL::SSLError)
 from /usr/lib/ruby/1.8/net/http.rb:586:in `connect'
 from /usr/lib/ruby/1.8/net/http.rb:553:in `do_start'
 from /usr/lib/ruby/1.8/net/http.rb:548:in `start'
 from /usr/lib/ruby/gems/1.8/gems/rbvmomi-1.2.3/lib/rbvmomi/trivial_soap.rb:43:in `restart_http'
 from /usr/lib/ruby/gems/1.8/gems/rbvmomi-1.2.3/lib/rbvmomi/trivial_soap.rb:20:in `initialize'
 from /usr/lib/ruby/gems/1.8/gems/rbvmomi-1.2.3/lib/rbvmomi/connection.rb:22:in `initialize'
 from /usr/lib/ruby/gems/1.8/gems/rvc-1.4.1/lib/rvc/modules/vim.rb:58:in `new'
 from /usr/lib/ruby/gems/1.8/gems/rvc-1.4.1/lib/rvc/modules/vim.rb:58:in `connect'
 from /usr/lib/ruby/gems/1.8/gems/rvc-1.4.1/lib/rvc/modules/vim.rb:56:in `loop'
 from /usr/lib/ruby/gems/1.8/gems/rvc-1.4.1/lib/rvc/modules/vim.rb:56:in `connect'
 from /usr/lib/ruby/gems/1.8/gems/rvc-1.4.1/bin/rvc:88
 from /usr/lib/ruby/gems/1.8/gems/rvc-1.4.1/bin/rvc:85:in `each'
 from /usr/lib/ruby/gems/1.8/gems/rvc-1.4.1/bin/rvc:85
 from /usr/bin/rvc:19:in `load'

Anybody? This is a very simple issue but cannot find answer anywhere.