From aa8990e1c71dffa67be9f0034d44623cd5a50149 Mon Sep 17 00:00:00 2001 From: Adrien Date: Sun, 21 May 2023 18:01:31 +0200 Subject: [PATCH] Add keycloak node --- 20230520122106-keycloak.org | 99 +++++++++++++++++++++++++++++++++++++ 1 file changed, 99 insertions(+) create mode 100644 20230520122106-keycloak.org diff --git a/20230520122106-keycloak.org b/20230520122106-keycloak.org new file mode 100644 index 0000000..1f4bd3f --- /dev/null +++ b/20230520122106-keycloak.org @@ -0,0 +1,99 @@ +:PROPERTIES: +:ID: e0695c59-6fd5-4074-81ca-8e14ec965bbd +:mtime: 20230521180042 +:ctime: 20230520122106 +:END: +#+title: keycloak + +* Introduction +Service open-source de gestion d'authentification et d'accès. + +* Installation +** Application +#+BEGIN_SRC shell +apt install openjdk-19-jre +cd /opt/ +wget https://github.com/keycloak/keycloak/releases/download/21.1.1/keycloak-21.1.1.zip +unzip keycloak-21.1.1.zip +cd keycloak-21.1.1 +# bin/kc.sh start-dev + +cat >/opt/keycloak/conf/keycloak.conf < +proxy=edge +hostname=login.adrien.run +http-host=127.0.0.1 +http-port=9090 +hostname-strict-https=false +EOF + +bin/kc.sh build + +cat >/lib/systemd/system/keycloak.service <