# Rest-API mit selbst erstelltem Zertifikat

**URL:** https://forum.shopware.com/t/rest-api-mit-selbst-erstelltem-zertifikat/60629
**Category:** Programmierung
**Created:** [24. Juli 2019 um 08:13 UTC](https://forum.shopware.com/t/rest-api-mit-selbst-erstelltem-zertifikat/60629 "2019-07-24T08:13:35Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![sunflower](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/sunflower/32/8100_2.png) [@sunflower](https://forum.shopware.com/u/sunflower)
#### Post date: [24. Juli 2019 um 08:13 UTC](https://forum.shopware.com/t/rest-api-mit-selbst-erstelltem-zertifikat/60629/1 "2019-07-24T08:13:35Z")

</div>

Hallo zusammen,

derzeit teste ich auf einem loalen Debian-System mit einem selbst erstellten Zertifikat.

Ich erhalte per PHP-Script(Klasse ApiClient aus der DevDoku im Einsatz) keinen Zugriff auf die API, bzw. keine Rückmeldung.

Im&nbsp;Log sehe ich: _SSL library Error 1 in handshake, SSL routines:ssl3\_read\_bytes:tlsv1 alert unknown ca_

Der API-Zugriff per Postman funktioniert problemlos. Slo muss das doch an dem PHP-Zugriff auf die API liegen oder?

Grüße  
sunflower
