# OpenSSLKey Xampp

**URL:** <https://forum.shopware.com/t/opensslkey-xampp/60608>\
**Category:** Installation / Einstieg\
**Created:** [23. Juli 2019 um 11:06 UTC](https://forum.shopware.com/t/opensslkey-xampp/60608 "2019-07-23T11:06:39Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![americandy](https://avatars.discourse-cdn.com/v4/letter/a/35a633/32.png) [@americandy](https://forum.shopware.com/u/americandy)\
**Post date:** [23. Juli 2019 um 11:06 UTC](https://forum.shopware.com/t/opensslkey-xampp/60608/1 "2019-07-23T11:06:39Z")

</div>

Hallo Leute,

ich versuche gerade Shopware 6 auf Xampp in Windows zu installieren. Leider erhalte ich folgende Fehlermeldung&nbsp;

```
Slim Application Error
The application could not run because of the following error:

Details
Type: TypeError
Message: openssl_pkey_get_details() expects parameter 1 to be resource, bool given
File: C:\xampp\htdocs\sw6\public\recovery\install\src\Service\JwtCertificateService.php
Line: 30
Trace
#0 C:\xampp\htdocs\sw6\public\recovery\install\src\Service\JwtCertificateService.php(30): openssl_pkey_get_details(false)
#1 C:\xampp\htdocs\sw6\public\recovery\install\src\app.php(322): Shopware\Recovery\Install\Service\JwtCertificateService->generate()
#2 [internal function]: Closure->{closure}(Object(Slim\Http\Request), Object(Slim\Http\Response), Array)
#3 C:\xampp\htdocs\sw6\public\recovery\common\vendor\slim\slim\Slim\Handlers\Strategies\RequestResponse.php(41): call_user_func(Object(Closure), Object(Slim\Http\Request), Object(Slim\Http\Response), Array)
#4 C:\xampp\htdocs\sw6\public\recovery\common\vendor\slim\slim\Slim\Route.php(356): Slim\Handlers\Strategies\RequestResponse->__invoke(Object(Closure), Object(Slim\Http\Request), Object(Slim\Http\Response), Array)
#5 C:\xampp\htdocs\sw6\public\recovery\common\vendor\slim\slim\Slim\MiddlewareAwareTrait.php(117): Slim\Route->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response))
#6 C:\xampp\htdocs\sw6\public\recovery\common\vendor\slim\slim\Slim\Route.php(334): Slim\Route->callMiddlewareStack(Object(Slim\Http\Request), Object(Slim\Http\Response))
#7 C:\xampp\htdocs\sw6\public\recovery\common\vendor\slim\slim\Slim\App.php(515): Slim\Route->run(Object(Slim\Http\Request), Object(Slim\Http\Response))
#8 C:\xampp\htdocs\sw6\public\recovery\install\src\app.php(153): Slim\App->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response))
#9 [internal function]: Closure->{closure}(Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Slim\App))
#10 C:\xampp\htdocs\sw6\public\recovery\common\vendor\slim\slim\Slim\DeferredCallable.php(43): call_user_func_array(Object(Closure), Array)
#11 [internal function]: Slim\DeferredCallable->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Slim\App))
#12 C:\xampp\htdocs\sw6\public\recovery\common\vendor\slim\slim\Slim\MiddlewareAwareTrait.php(70): call_user_func(Object(Slim\DeferredCallable), Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Slim\App))
#13 C:\xampp\htdocs\sw6\public\recovery\common\vendor\slim\slim\Slim\MiddlewareAwareTrait.php(117): Slim\App->Slim\{closure}(Object(Slim\Http\Request), Object(Slim\Http\Response))
#14 C:\xampp\htdocs\sw6\public\recovery\common\vendor\slim\slim\Slim\App.php(405): Slim\App->callMiddlewareStack(Object(Slim\Http\Request), Object(Slim\Http\Response))
#15 C:\xampp\htdocs\sw6\public\recovery\common\vendor\slim\slim\Slim\App.php(313): Slim\App->process(Object(Slim\Http\Request), Object(Slim\Http\Response))
#16 C:\xampp\htdocs\sw6\public\recovery\install\index.php(51): Slim\App->run()
#17 {main}

Warning: openssl_pkey_export_to_file(): cannot get key from parameter 1 in C:\xampp\htdocs\sw6\public\recovery\install\src\Service\JwtCertificateService.php on line 27

```

Kennt jemand dieses Problem? Wie kann man es umgehen?

Danke

Liebe Grüße  
&nbsp;

---

<div class="post-metadata">

**Author:** ![jaye](https://avatars.discourse-cdn.com/v4/letter/j/76d3ee/32.png) [@jaye](https://forum.shopware.com/u/jaye)\
**Post date:** [23. Juli 2019 um 14:54 UTC](https://forum.shopware.com/t/opensslkey-xampp/60608/2 "2019-07-23T14:54:36Z")

</div>

Servus.

Habe es gerade auch. Werde es auch heute nicht mehr lauffähig bekommen, aber um dich an meiner Suche teilhaben zu lassen. Scheint ein reines win Problem von PHP zu sein.

> <https://github.com/bunq/sdk_php/issues/102>
>
> Steps to reproduce:
> Run vendor/bin/bunq-install
> (Windows 10, PHP 7.2)
> What should happen:
> I guess it should be working.
> What happens:
> It throws an error.
> Traceback
> PHP Warning: openssl\_pkey\_get\_details() expects...

Also sofern in der php config das openssl module einkommentiert ist, liegt es vermutlich an den nicht eingetragenen bzw falschen (und/oder doppelt vergebenen) Umgebungsvariablen unter win.

[https://stackoverflow.com/a/3607026](https://stackoverflow.com/a/36070260)

Kannst ja mal Rückmeldung geben falls du noch zu was kommst.

lg

---

<div class="post-metadata">

**Author:** ![Phihucam](https://avatars.discourse-cdn.com/v4/letter/p/e274bd/32.png) [@Phihucam](https://forum.shopware.com/u/Phihucam)\
**Post date:** [24. Juli 2019 um 05:50 UTC](https://forum.shopware.com/t/opensslkey-xampp/60608/3 "2019-07-24T05:50:48Z")

</div>

Habe das selbe Problem. Dabei ist es bei mir komplett unabhängig welche php Version ich nehme also. Habe es getestet mit Version 7.2 sowie 7.3. Installiert wurde lokal mit xampp.&nbsp;

Beides mal die selbe Meldung.&nbsp;

Wäre schön wenn hier wenigstens mal der Support antwort und Lösung geben würde.&nbsp;

---

<div class="post-metadata">

**Author:** ![Moritz\_Naczenski](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/moritz_naczenski/32/7792_2.png) [@Moritz\_Naczenski](https://forum.shopware.com/u/Moritz_Naczenski)\
**Post date:** [24. Juli 2019 um 05:55 UTC](https://forum.shopware.com/t/opensslkey-xampp/60608/4 "2019-07-24T05:55:28Z")

</div>

Unabhängig von dem Problem solltet ihr auf jeden Fall Linux/MacOS nutzen, da ihr immer wieder in Probleme laufen werdet.

Eine Unix-Basis ist hier Pflicht.&nbsp;

---

<div class="post-metadata">

**Author:** ![americandy](https://avatars.discourse-cdn.com/v4/letter/a/35a633/32.png) [@americandy](https://forum.shopware.com/u/americandy)\
**Post date:** [24. Juli 2019 um 07:38 UTC](https://forum.shopware.com/t/opensslkey-xampp/60608/5 "2019-07-24T07:38:56Z")

</div>

> [@jaye schrieb:](https://forum.shopware.com/profile/32110/jaye "jaye")
> 
> Servus.
> 
> Habe es gerade auch. Werde es auch heute nicht mehr lauffähig bekommen, aber um dich an meiner Suche teilhaben zu lassen. Scheint ein reines win Problem von PHP zu sein.
> 
> [https://github.com/bunq/sdk\_php/issues/102](https://github.com/bunq/sdk_php/issues/102)
> 
> Also sofern in der php config das openssl module einkommentiert ist, liegt es vermutlich an den nicht eingetragenen bzw falschen (und/oder doppelt vergebenen) Umgebungsvariablen unter win.
> 
> [https://stackoverflow.com/a/3607026](https://stackoverflow.com/a/36070260)
> 
> Kannst ja mal Rückmeldung geben falls du noch zu was kommst.
> 
> lg

Hallo,

&nbsp;

vielen Dank!  
Die Anleitung bei Stackoverflow hat funktioniert für mich 🙂

@Moritz  
Leider steht mir in diesem Fall keine Unix Basis zur Verfügung…&nbsp;
