FreeRADIUS 3.x server image with integrated Mobile ID and LDAP/Active Directory support.
10K+
This solution has been deprecated and this repository is no longer maintained.
Please use our new dockerized image of the MobileID Radius Interface Gateway.
Find out more on https://mid-radius-rig.mobileid.ch
Lightweight and fast FreeRADIUS 3.x server Docker image with integrated Mobile ID and LDAP/Active Directory support.
To start:
$ docker run --name freeradius-mobileid -d \
-e AP_ID=mid://dev.swisscom.ch \
-e AP_PREFIX="Test" \
-e AP_KEY=<base64 encoded key file> \
-e AP_CRT=<base64 encoded crt file> \
-e CLIENT_PWD=ThisMustStaySecret \
-e LDAP_SERVER=ldap://yourserver.com \
-e LDAP_USERID=CN=SystemLDAP,CN=Users,DC=org,DC=acme,DC=com \
-e LDAP_PWD=ThisMustStaySecret \
-e LDAP_BASEDN=CN=Users,DC=org,DC=acme,DC=ch \
-p 1812:1812/udp \
-p 1813:1813/udp \
swisscomtds/freeradius-mobileid
optional environment settings:
-e LDAP_UPDATE=enabled \
-e LDAP_USER_FILTER=(&(objectclass=inetOrgPerson)(uid=%{User-Name})) \
-e LDAP_ATTR_MOBILE=mobile \
-e LDAP_ATTR_LANGUAGE=preferredLanguage \
-e LDAP_ATTR_SNOFDN=msNPCallingStationID \
-e DEFAULT_LANGUAGE=de \
-e UNIQUEID_CHECK=ifset \
-e ALLOWED_MCC="228,295" \
Infos about the -e settings:
Use key and certificate file mount instead of environment settings:
-v "/home/user/apcert.crt":/opt/freeradius/certs/mycert.crt \
-v "/home/user/apcert.key":/opt/freeradius/certs/mycert.key \
$ echo "User-Name=samaccountname,User-Password='ADUserPwd'" | radclient -x -t 120 172.17.0.2 auth ThisMustStaySecret
$ docker logs freeradius-mobileid
Content type
Image
Digest
Size
14 MB
Last updated
almost 5 years ago
docker pull mobileidch/freeradius-mobileid