Open charlesmims opened 6 years ago
I found this issue: https://github.com/mesosphere/marathon-lb/issues/422 where brndnmtthws suggested using $ sed ':a;N;$!ba;s/\n/\\n/g' key.pem
to properly format a .pem key, but when I do that, it still has newlines in it (prints in a visually normal block) which isn't correct json afaik.
How can one assign .pem key and cert to environment variables in marathon? I tried setting it to the base64 encoded string of my key and cert, that didn't work.
Error initializing listener of type tcp: error loading TLS cert: decoded PEM is blank
Can someone provide an example for this?