I didn't include the cookie because I believe that the server should return an error message, not suddenly breaking current connection by not receiving any data from ssl_write().
I used the command you provide and happily, it works :) I decided to investigate more about this problems.
First...
Your HTTP port 80 is currently used by nginx. Please check your nginx configurations or stop it by
service nginx stop
After successful issue certification, you can bring nginx back
service nginx start
I've tried it, this process just takes about several seconds.
I think there is a problem with SSL
curl -k --verbose --upload-file ./CODE/cloudinit/cloudinit.iso https://192.168.0.40:8006/api2/json/nodes/pve/storage/local/upload
* Trying 192.168.0.40...
* TCP_NODELAY set
* Connected to 192.168.0.40 (192.168.0.40) port 8006 (#0)
* ALPN, offering http/1.1...
Hi everyone,
I'm testing Proxmox API to automate VM creation process by cloning existing template on Proxmox VE 5.0-23/af4267bf. The problem is when a new VM is cloned, I want to mount a new CD/DVD device to the VM but I can't upload new ISO file to the server by Proxmox API. The API return...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.