tarkett2009
Neuer User
- Mitglied seit
- 9 Feb 2009
- Beiträge
- 56
- Punkte für Reaktionen
- 0
- Punkte
- 0
@wetzstein513: Danke für den Tip. Mit folgender Curl Version funktioniert es unter Windows 7 x64 (curl-7.20.1-win64-ssl-sspi.zip).
Folgender Aufruf funktioniert:
Mit dem Parameter -u erfolgt die Anmeldung an der Box. Der Parameter -k ist notwendig, um die SSL Verbindung ohne certs zu ermöglichen.
Ohne den Parameter -k erscheint folgende Fehlermeldung:
So funktioniert es bestens. Vielen Dank nochmal.
tarkett
Folgender Aufruf funktioniert:
Code:
curl.exe -u user:password -k "https://unbekannt.dyndns.org/cgi-bin/fritzload/add_url.cgi" -F "url=@%1"
Mit dem Parameter -u erfolgt die Anmeldung an der Box. Der Parameter -k ist notwendig, um die SSL Verbindung ohne certs zu ermöglichen.
Ohne den Parameter -k erscheint folgende Fehlermeldung:
Code:
09.05.2010 18:22:04,87 Start: Download der Datei 'F:\Temp\flashgot.assdzkrz.default\flashgot-6.fgt'
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (60) SSL certificate problem, verify that the CA cert is OK. Details:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
More details here: http://curl.haxx.se/docs/sslcerts.html
curl performs SSL certificate verification by default, using a "bundle"
of Certificate Authority (CA) public keys (CA certs). If the default
bundle file isn't adequate, you can specify an alternate file
using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
the bundle, the certificate verification probably failed due to a
problem with the certificate (it might be expired, or the name might
not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
the -k (or --insecure) option.
09.05.2010 18:22:07,46 Ende: Download der Datei 'F:\Temp\flashgot.assdzkrz.default\flashgot-6.fgt'
So funktioniert es bestens. Vielen Dank nochmal.
tarkett