# Kein Login ins Backend Whitescreen

**URL:** <https://forum.shopware.com/t/kein-login-ins-backend-whitescreen/109780>\
**Category:** Administration\
**Created:** [27. Oktober 2026 um 10:26 UTC](https://forum.shopware.com/t/kein-login-ins-backend-whitescreen/109780 "2026-10-27T10:26:16Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![armin.herzog](https://avatars.discourse-cdn.com/v4/letter/a/73ab20/32.png) [@armin.herzog](https://forum.shopware.com/u/armin.herzog)\
**Post date:** [27. Oktober 2026 um 10:26 UTC](https://forum.shopware.com/t/kein-login-ins-backend-whitescreen/109780/1 "2026-10-27T10:26:16Z")

</div>

Kann mich nicht mher in Backend einloggen bekomme einen Whitescreen.

Error:

[request.CRITICAL: Uncaught PHP Exception Lcobucci\JWT\Signer\InvalidKeyProvided: „It was not possible to parse your key, reason: \* error:0909006C:PEM routines:get\_name:no start line“ at InvalidKeyProvided.php line 13 {„exception“:„[object] (Lcobucci\JWT\Signer\InvalidKeyProvided(code: 0): It was not possible to parse your key, reason:\n\* error:0909006C:PEM routines:get\_name:no start line at /home/www/shopware6/vendor/lcobucci/jwt/src/Signer/InvalidKeyProvided.php:13)“}

---

<div class="post-metadata">

**Author:** ![DannyBO](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/dannybo/32/27919_2.png) [@DannyBO](https://forum.shopware.com/u/DannyBO)\
**Post date:** [27. Oktober 2026 um 11:03 UTC](https://forum.shopware.com/t/kein-login-ins-backend-whitescreen/109780/2 "2026-10-27T11:03:21Z")

</div>

> [@armin.herzog](#):
>
> [request.CRITICAL: Uncaught PHP Exception Lcobucci\JWT\Signer\InvalidKeyProvided: „It was not possible to parse your key, reason: \* error:0909006C:PEM routines:get\_name:no start line“ at InvalidKeyProvided.php line 13 {„exception“:„[object] (Lcobucci\JWT\Signer\InvalidKeyProvided(code: 0): It was not possible to parse your key, reason:\n\* error:0909006C:PEM routines:get\_name:no start line at /home/www/shopware6/vendor/lcobucci/jwt/src/Signer/InvalidKeyProvided.php:13)“}

Der Fehler kommt vom JWT-Schlüssel, den Shopware für die OAuth-Tokens der Admin-API nutzt. Die PEM-Datei ist leer, beschädigt oder fehlt an der erwarteten Stelle. „no start line“ heißt, dass die Datei nicht mit `-----BEGIN ...-----` beginnt.

---

<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:** [27. Oktober 2026 um 11:07 UTC](https://forum.shopware.com/t/kein-login-ins-backend-whitescreen/109780/3 "2026-10-27T11:07:09Z")

</div>

Die JWT Keys scheinen nicht mehr korrekt zu sein. Ist das nach einem Update passiert oder was ist der Grund?

Mit `bin/console system:generate-jwt-secret --use-env` solltest du neue JWT Keys erstellen können. Zuvor jedoch unbedingt eine Sicherung machen. Die JWT liegen in `config/jwt/`

Danach musst du dich ggf. in diverse (externe) WebServices neu einloggen.

---

<div class="post-metadata">

**Author:** ![armin.herzog](https://avatars.discourse-cdn.com/v4/letter/a/73ab20/32.png) [@armin.herzog](https://forum.shopware.com/u/armin.herzog)\
**Post date:** [27. Oktober 2026 um 12:46 UTC](https://forum.shopware.com/t/kein-login-ins-backend-whitescreen/109780/4 "2026-10-27T12:46:05Z")

</div>

hallo, das hat leider nicht geklappt. Habe die Keys neu erstellt und in die env datei kopiert.

Allerdings kam auch der Hinweis:

[INFO] Make sure that you have configured in config/packages/shopware.yaml the following to load the JWT keys over  
environment variables:

shopware:  
api:  
jwt\_key:  
private\_key\_path: ‚%env(base64:JWT\_PRIVATE\_KEY)%‘  
public\_key\_path: ‚%env(base64:JWT\_PUBLIC\_KEY)%‘

Diese Datei ist bei mir nicht vorhanden

---

<div class="post-metadata">

**Author:** ![DannyBO](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/dannybo/32/27919_2.png) [@DannyBO](https://forum.shopware.com/u/DannyBO)\
**Post date:** [27. Oktober 2026 um 13:10 UTC](https://forum.shopware.com/t/kein-login-ins-backend-whitescreen/109780/5 "2026-10-27T13:10:00Z")

</div>

> **[JWT-Secrets as Environment Variables - Benny's Shopware Notebook](https://notebook.vanwittlaer.de/hosting/jwt-secrets-as-environment-variables/)**
>
> A practical notebook supplementing the official Shopware 6 documentation with real-world insights on setup, hosting, deployment, development and migration.

> **[Client-Side App Backend Communication | Shopware Documentation](https://developer.shopware.com/docs/guides/plugins/apps/lifecycle/clientside-to-app-backend.html)**
>
> Documentation for Shopware developers

damt kannste die keys ```  
shopware-cli project generate-jwt --env

```neu

```

---

<div class="post-metadata">

**Author:** ![armin.herzog](https://avatars.discourse-cdn.com/v4/letter/a/73ab20/32.png) [@armin.herzog](https://forum.shopware.com/u/armin.herzog)\
**Post date:** [27. Oktober 2026 um 15:27 UTC](https://forum.shopware.com/t/kein-login-ins-backend-whitescreen/109780/6 "2026-10-27T15:27:15Z")

</div>

shopware cli funktioniert bei mir nicht über ssh

---

<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:** [27. Oktober 2026 um 16:16 UTC](https://forum.shopware.com/t/kein-login-ins-backend-whitescreen/109780/7 "2026-10-27T16:16:24Z")

</div>

Im ersten Link ist beschrieben, wie du eine yaml Datei anlegen kannst, damit du dort die Vars hinterlegen kannst.

---

<div class="post-metadata">

**Author:** ![armin.herzog](https://avatars.discourse-cdn.com/v4/letter/a/73ab20/32.png) [@armin.herzog](https://forum.shopware.com/u/armin.herzog)\
**Post date:** [27. Oktober 2026 um 17:36 UTC](https://forum.shopware.com/t/kein-login-ins-backend-whitescreen/109780/8 "2026-10-27T17:36:19Z")

</div>

Hat funktioniert. Vielen Dank für Eure Hilfe
