The api (PHP) open the connection to the host and I see they get back time infos and something. The the api send a create statement and then I get every back the certificate error. I see in the host, that the remote host could not verify the certificate:
HTTP/1.1 200 OK
Cache-Control: max-age=0
Connection: Keep-Alive
Date: Tue, 14 Mar 2017 12:27:31 GMT
Pragma: no-cache
Server: pve-api-daemon/3.0
Content-Length: 211
Content-Type: application/json;charset=UTF-8
Expires: Tue, 14 Mar 2017 12:27:31 GMT
{"data":[{"disk":41317282656,"maxcpu":8,"uptime":13945338,"mem":324241365376,"type":"node","maxdisk":3007362629120,"cpu":0.2032402253382954,"node":"HOSTNAME","id":"node/HOST-host","level":"c","maxmem":6745371222912}]}
Array
(
[ostemplate] => local:vztmpl/debian-8.0-standard_8.6-1_amd64.tar.gz
[vmid] => 4940
[hostname] => CT4940.HOST
[storage] => sata
[onboot] => 1
[description] => backup:0
[cpulimit] => 1
[rootfs] => 54
[memory] => 3328
[swap] => 1280
[password] => b***sOh****y1H
[net0] => name=eth0,bridge=vmbr2,firewall=1,gw=257.32.257.222,ip=213.257.112.257/27,rate=13
)
1
HTTP/1.1 596 ssl3_get_server_certificate: certificate verify failed
Cache-Control: max-age=0
Connection: close
Date: Tue, 14 Mar 2017 12:27:31 GMT
Pragma: no-cache
Server: pve-api-daemon/3.0
Expires: Tue, 14 Mar 2017 12:27:31 GMT
In the Host the line:
Mar 14 13:22:21 PM10-host pveproxy[5534]: Could not verify remote node certificate '61:82:**:**:**:3A:29:65:**:**:**:B6:B9:64
Mar 14 13:27:31 PM10-host pveproxy[5536]: Could not verify remote node certificate '61:82:**:**:**:3A:29:65:**:**:**:B6:B9:64
HTTP/1.1 200 OK
Cache-Control: max-age=0
Connection: Keep-Alive
Date: Tue, 14 Mar 2017 12:27:31 GMT
Pragma: no-cache
Server: pve-api-daemon/3.0
Content-Length: 211
Content-Type: application/json;charset=UTF-8
Expires: Tue, 14 Mar 2017 12:27:31 GMT
{"data":[{"disk":41317282656,"maxcpu":8,"uptime":13945338,"mem":324241365376,"type":"node","maxdisk":3007362629120,"cpu":0.2032402253382954,"node":"HOSTNAME","id":"node/HOST-host","level":"c","maxmem":6745371222912}]}
Array
(
[ostemplate] => local:vztmpl/debian-8.0-standard_8.6-1_amd64.tar.gz
[vmid] => 4940
[hostname] => CT4940.HOST
[storage] => sata
[onboot] => 1
[description] => backup:0
[cpulimit] => 1
[rootfs] => 54
[memory] => 3328
[swap] => 1280
[password] => b***sOh****y1H
[net0] => name=eth0,bridge=vmbr2,firewall=1,gw=257.32.257.222,ip=213.257.112.257/27,rate=13
)
1
HTTP/1.1 596 ssl3_get_server_certificate: certificate verify failed
Cache-Control: max-age=0
Connection: close
Date: Tue, 14 Mar 2017 12:27:31 GMT
Pragma: no-cache
Server: pve-api-daemon/3.0
Expires: Tue, 14 Mar 2017 12:27:31 GMT
In the Host the line:
Mar 14 13:22:21 PM10-host pveproxy[5534]: Could not verify remote node certificate '61:82:**:**:**:3A:29:65:**:**:**:B6:B9:64
Mar 14 13:27:31 PM10-host pveproxy[5536]: Could not verify remote node certificate '61:82:**:**:**:3A:29:65:**:**:**:B6:B9:64