# Failed to generate key by Installation

**URL:** <https://forum.shopware.com/t/failed-to-generate-key-by-installation/94767>\
**Category:** Shopware 6 (German)\
**Created:** [9. Juni 2022 um 15:37 UTC](https://forum.shopware.com/t/failed-to-generate-key-by-installation/94767 "2022-06-09T15:37:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![zed2007](https://avatars.discourse-cdn.com/v4/letter/z/ba9def/32.png) [@zed2007](https://forum.shopware.com/u/zed2007)\
**Post date:** [9. Juni 2022 um 15:37 UTC](https://forum.shopware.com/t/failed-to-generate-key-by-installation/94767/1 "2022-06-09T15:37:25Z")

</div>

Guten Tag. Bei Installation Shopware 6 (Local mit MAMP Pro) bekomme ich Fehler „Failed to generate key“. Obwhol neue Datenbank hergestellt war. Weisst jemand wo liegt das Problem? Danke im voraus.

 ![Frage](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/3X/f/6/f6222b457239dd41b67b2087b5207fe7b3755731.png)

---

<div class="post-metadata">

**Author:** ![Max\_Shop](https://avatars.discourse-cdn.com/v4/letter/m/58f4c7/32.png) [@Max\_Shop](https://forum.shopware.com/u/Max_Shop)\
**Post date:** [15. Juni 2022 um 15:27 UTC](https://forum.shopware.com/t/failed-to-generate-key-by-installation/94767/2 "2022-06-15T15:27:18Z")

</div>

> <https://github.com/shopware/platform/blob/e6456e8f5bdf91dd4f0fdc14310c42129c0a87f9/src/Core/Maintenance/System/Service/JwtCertificateGenerator.php>

openssl key nicht erstellt.

---

<div class="post-metadata">

**Author:** ![y.albarzawi](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/y.albarzawi/32/23763_2.png) [@y.albarzawi](https://forum.shopware.com/u/y.albarzawi)\
**Post date:** [16. Mai 2024 um 16:42 UTC](https://forum.shopware.com/t/failed-to-generate-key-by-installation/94767/3 "2024-05-16T16:42:27Z")

</div>

aktiviere der OpenSSL-Erweiterung in der php.ini  
extension=openssl
