Uploaded image for project: 'Migration Toolkit for Virtualization'
  1. Migration Toolkit for Virtualization
  2. MTV-3202

Migration fails if VMware server has a self-signed certificate

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.9.3
    • 2.8.6
    • Controller
    • Incidents & Support
    • False
    • Hide

      None

      Show
      None
    • True

      Description of problem:

      MTV was recently upgraded to 2.8.6 and now we can't import VM's from our VMware environment.  When we try to import, we get the following error:
      
      virt-v2v: error: exception: libvirt: VIR_ERR_INTERNAL_ERROR: VIR_FROM_ESX: internal error: curl_easy_perform() returned an error: SSL peer certificate or SSH remote key was not OK (60) : SSL certificate problem: self-signed certificate in certificate chain
      
      If we disable certificate verification, then the import works as expected.
      
      Is there any particular reason why we cannot migrate if the source system has a self-signed certificate?  Was this allowed in a previous version?
      

      Version-Release number of selected component (if applicable):

      mtv-operator.v2.8.6
      kubevirt-hyperconverged-operator.v4.18.21

      How reproducible:

      Always (since last MTV update), using VMware server with self-signed cert. 

      Steps to Reproduce:

      1. Attempt to import a VM from a VMware server that has a self signed certificate
      2. enable certificate checking
      3. 

      Actual results:

      Import fails with an error

      Expected results:

      Import should work (should MTV be expected to verify self-signed certificates?)

      Additional info:

      This was working previously, so the behavior seems to have changed during a recent update.

              gcheresh@redhat.com Genadi Chereshnya
              rhn-support-mwest Marcus West
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: