Quantcast
Channel: VMware Communities : Discussion List - ESXi
Viewing all articles
Browse latest Browse all 8132

Network File Copy with tlsv1.2 ESXI 6.7 U1

$
0
0

Hi

 

I was using the curl to upload the virtual disk and then spawn the VM in the host using the disks.

My ESXi host versoin is <= 6.5 ,below was the command which is working fine for these versions.

 

cat /home/rk/000585f3-7d38-f1d2-0005-85f37d38f1d2/test.disk1.vmdk|curl -T - --fail -v --insecure --request POST --header "Connection: Keep-Alive" --header "Content-Type: application/x-vnd.vmware-streamVmdk"

 

I have recently updated one of my host from ESXi 6.5 to 6.7 U1 , where the protocol support has been restricted to tlsv1.2 . I have updated the curl to 7.65-1 and openssl to 1.0.2r.

 

Updated the command "cat /home/rk/test.disk1.vmdk|curl -T --tlsv1.2 --fail -v --insecure --request POST --header "Connection: Keep-Alive" --header "Content-Type: application/x-vnd.vmware-streamVmdk" https://10.65.218.107/nfc/52492229-f05d-7642-df72-ee39eca0f717/disk-0.vmdk"

 

Response is as below.

 

> POST /nfc/52492229-f05d-7642-df72-ee39eca0f717/disk-0.vmdk HTTP/1.1

> Host: 10.126.129.101

> User-Agent: curl/7.65.1
> Accept: */*
> Transfer-Encoding: chunked
> Connection: Keep-Alive
> Content-Type: application/x-vnd.vmware-streamVmdk
> Expect: 100-continue
>
* Mark bundle as not supporting multiuse
* The requested URL returned error: 404 Not Found
* Closing connection 0
* TLSv1.2 (OUT), TLS alert, close notify (256):
curl: (22) The requested URL returned error: 404 Not Found

 

Any idea , what might be missing here ?. or any specific debugging logs which can be usefull in trouble shooting.

 

 

thanks

Rama Kanth


Viewing all articles
Browse latest Browse all 8132

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>