From 7b71b647177d0792834502038b9f66975b98ca72 Mon Sep 17 00:00:00 2001 From: Vincent Pochet Date: Thu, 16 Jan 2025 09:46:27 +0100 Subject: [PATCH] fix(self-hosted): Fix intialization of RSA private key --- guide/self-hosted/docker.mdx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/guide/self-hosted/docker.mdx b/guide/self-hosted/docker.mdx index 5fa9a632..75c28e9a 100644 --- a/guide/self-hosted/docker.mdx +++ b/guide/self-hosted/docker.mdx @@ -27,7 +27,8 @@ git clone https://github.com/getlago/lago.git cd lago # Set up environment configuration -echo "LAGO_RSA_PRIVATE_KEY=\"`openssl genrsa 2048 | base64`\"" >> .env +echo "LAGO_RSA_PRIVATE_KEY=\"`openssl genrsa 2048 | base64 | tr -d '\n'`\"" >> .env + source .env # Start the api