Make the radius server as part of keycloak SSO
50K+
First, install and run Docker on your Linux server.
Get the trusted build from the Docker Hub registry:
docker pull vassio/keycloak-radius-plugin
This Docker image uses the following variables, that can be declared in an env file (example:
RADIUS_SHARED_SECRET="secret"
RADIUS_UDP=true
RADIUS_UDP_AUTH_PORT=1812
RADIUS_UDP_ACCOUNT_PORT=1813
RADIUS_RADSEC=false
RADIUS_RADSEC_PRIVATEKEY="/config/private.key"
RADIUS_RADSEC_CERTIFICATE="/config/public.crt"
RADIUS_COA=false
RADIUS_COA_PORT="3799"
Create a new Docker container from this image (replace ./.radius.env with your own env file):
docker run -d --name keycloak-radius-plugin --env-file ./.radius.env --restart=always -p 8080:8080 vassio/keycloak-radius-plugin
docker network create docker_default
docker-compose -f docker/docker-compose-keycloak.yaml create
docker-compose -f docker/docker-compose-keycloak.yaml start
RADIUS_RADSEC = 'true'
RADIUS_RADSEC_PRIVATEKEY = /config/private.key
RADIUS_RADSEC_CERTIFICATE = /config/public.crt
| Realm | Radius-Realm-example |
| Radius Client Name | Radius |
| User | testUser |
| Password | testUser |
docker logs keycloak-radius-plugin -f
To start a Bash session in the running container:
docker exec -it keycloak-radius-plugin bash
docker stop keycloak-radius-plugin
docker rm keycloak-radius-plugin
set -e
cp -r ../cli ./cli
docker build -t keycloak-radius-plugin .
docker run --env-file ./example.radius.env -e KEYCLOAK_PASSWORD="admin" -e KEYCLOAK_USER="admin" -e KEYCLOAK_IMPORT="/config/realm-example.json" --name=keycloak-radius-plugin keycloak-radius-plugin
./docker.publish.sh
Content type
Image
Digest
sha256:0971dd442…
Size
286.4 MB
Last updated
over 3 years ago
docker pull vassio/keycloak-radius-plugin