Env variables changing format in UI

V4.9.1

In the environment variables I’m using a certificate, which needs to be exact with spacing etc, when using the UI I guess it gets formatted somehow and it doesn’t work.

When going into the config.json file and paste it exactly as it needs to be, it works.
But then when adding/changing something in the environment variables UI it doesn’t work anymore.

Could you add a screenshot where you exactly use it?

Is this what you mean?

And then I just use it in an api call.

When I edit it in config.json it works, and doesn’t change the format

So what is the difference in the result in the config.json?

It seems to be formatted differently. It usually doesn’t matter with api keys etc, but with the certificate there are blank spaces which seem to change. When I copy paste to config.json I see a change in spaces or something.

So I guess for 99% of use cases it will be fine, just now everytime I have to publish to production, I have to make sure I do the config.json paste with the certificate so that my JWT verify api works well