Groups | Search | Server Info | Keyboard shortcuts | Login | Register
Groups > de.comp.lang.php > #4851
| From | Arno Welzel <usenet@arnowelzel.de> |
|---|---|
| Newsgroups | de.comp.lang.php |
| Subject | Re: PHP Soap mit TLS Zertifikat [API abfrage} |
| Date | 2022-09-11 14:01 +0200 |
| Message-ID | <jo610fFdulfU1@mid.individual.net> (permalink) |
| References | <tfgrqa$7fe$1@news.nntp4.net> <jo2q18FribcU1@mid.individual.net> <tfio2n$ac4$1@news.nntp4.net> |
Timo, 2022-09-10 21:20: [...] > ============ > $abfrage = 'curl -X GET -H "Content-Type: application/json" -H > "Accept-Encoding: gzip,deflate" -H "Cache-Control: no-cache" --cert > /var/api-certs/cert.pem --key /var/api-certs/cert.key > https://kiteplatform-api.telefonica.com:8010/serv...'; > > $output = shell_exec($abfrage); > ============ > > Da bastel ich mir jetzt noch eine Classe drum herum und schon habe ich > alles was ich brauche, auch wenn es über shell_exec nicht die Beste > Lösung ist. Wenn die Nutzung fertige Bibliotheken kein Problem ist, wäre Guzzle noch eine Alternative zu curl: <https://docs.guzzlephp.org/en/stable/> Da ist die Übergabe von Zertifikaten prinzipiell auch vorgesehen: <https://docs.guzzlephp.org/en/stable/request-options.html#cert> -- Arno Welzel https://arnowelzel.de
Back to de.comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar
PHP Soap mit TLS Zertifikat [API abfrage} Timo <me@freedyn.invalid> - 2022-09-10 04:12 +0200
Re: PHP Soap mit TLS Zertifikat [API abfrage} Timo <me@freedyn.invalid> - 2022-09-10 05:05 +0200
Re: PHP Soap mit TLS Zertifikat [API abfrage} Arno Welzel <usenet@arnowelzel.de> - 2022-09-10 08:43 +0200
Re: PHP Soap mit TLS Zertifikat [API abfrage} Timo <me@freedyn.invalid> - 2022-09-10 21:20 +0200
Re: PHP Soap mit TLS Zertifikat [API abfrage} Tim Ritberg <tim@server.invalid> - 2022-09-10 22:51 +0200
Re: PHP Soap mit TLS Zertifikat [API abfrage} Timo <me@freedyn.invalid> - 2022-09-14 03:35 +0200
Re: PHP Soap mit TLS Zertifikat [API abfrage} Arno Welzel <usenet@arnowelzel.de> - 2022-09-11 14:01 +0200
Re: PHP Soap mit TLS Zertifikat [API abfrage} Timo <me@freedyn.invalid> - 2022-09-14 03:36 +0200
csiph-web