class VcenterThumbPrint

Public Instance Methods

to_cert() click to toggle source
# File lib/VMwareWebService/vcenter_thumb_print.rb, line 9
def to_cert
  @http.start
  $log.info "VcenterThumbPrint.ssl_connection: Host is #{@host}, URL is #{@url}" if $log
  cert = @http.peer_cert
  @http.finish
  cert
end
uri() click to toggle source
# File lib/VMwareWebService/vcenter_thumb_print.rb, line 4
def uri
  url = "https://#{@host}"
  @uri = URI(url)
end