You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to change the MERCURE_*_JWT_KEY to "/certs/private.pem" directly and event to inline the content in a YAML block (starting with "|") but I have the same error.
My key pair files are valid PKCS8 key, the headers are -----BEGIN PRIVATE KEY----- and -----BEGIN PUBLIC KEY-----
when I docker compose up the container, it keep restarting so i can't check anything inside.
Edit : I kinda made it work by inlining the public key for both publisher and subscriber. I don't know wherte I saw I should use the private key for the publisher but id doesn't work.
Though i can't use file, I have to inline it.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have an issue starting a container using key files pair.
I have the following error
unable to parse RSA public key: invalid key: Key must be a PEM encoded PKCS1 or PKCS8 key
Here is the mercure part of my
docker-compose
I tried to change the
MERCURE_*_JWT_KEY
to "/certs/private.pem" directly and event to inline the content in a YAML block (starting with "|") but I have the same error.My key pair files are valid PKCS8 key, the headers are
-----BEGIN PRIVATE KEY-----
and-----BEGIN PUBLIC KEY-----
when I
docker compose up
the container, it keep restarting so i can't check anything inside.Edit : I kinda made it work by inlining the public key for both publisher and subscriber. I don't know wherte I saw I should use the private key for the publisher but id doesn't work.
Though i can't use file, I have to inline it.
Beta Was this translation helpful? Give feedback.
All reactions