Reply To: CURL

23. September 2021 at 15:04 #51675

Danke, habe ich jetzt gemacht. Der Fehler scheint wo anders zu liegen. Im Browser bekomme ich diese Meldung:

Fatal error: Uncaught Error: Call to undefined function curl_init() in /var/www/max2play/public/cam.php:10 Stack trace: #0 {main} thrown in /var/www/max2play/public/cam.php on line 10

In der Konsole:

curl https://192.168.0.200:5001/webapi/entry.cgi?api=SYNO.SurveillanceStation.ExternalEvent&method=„Trigger“&version=1&eventId=1&account=“Michael“&password=“xxxxxxxxxxxxx“
[6] 21555
[7] 21556
[8] 21557
[9] 21558
[10] 21559
[1] Exit 60 curl https://192.168.0.200:5001/webapi/entry.cgi?api=SYNO.SurveillanceStation.ExternalEvent
[3] Fertig version=1
[4] Fertig eventId=1
[5] Fertig account=“Michael“
[7] Fertig method=“Trigger“
[8] Fertig version=1
[10]+ Fertig account=“Michael“
[email protected]:~ $ curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: https://curl.haxx.se/docs/sslcerts.html

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.