Hello all,

Related to the development of the CAS system using the Freeradius 
authenticator. I've added some configurations based on directions from the 
documentation on the Apereo CAS website.

However after I did some of this configuration. My freeradius server is 
still not responding to an authentication request from my CAS server.

Are there any other configurations required for these two servers to 
communicate with each other? Or is there something wrong I did in this 
configuration?

Regards,
Irvan

------------------------------------------------------------------------------------------------------------------

The following is my server configuration :

# Versions

- CAS `6.3.x`
- JDK `11`

*#The CAS Server :*

#cas.properties file :

cas.serviceRegistry.json.location: file:/etc/cas/services

cas.authn.accept.enabled=false
server.port = 8443

cas.authn.policy.required-handler-authentication-policy-enabled=true

cas.authn.policy.req.try-all=false
cas.authn.policy.req.handler-name=Radius
cas.authn.policy.req.enabled=true

cas.authn.radius.name=Radius
cas.authn.radius.server.protocol=EAP_MSCHAPv2
cas.authn.radius.server.retries=1
cas.authn.radius.client.authenticationPort=1812
cas.authn.radius.client.sharedSecret=casserver
cas.authn.radius.client.inetAddress=192.168.1.2 (my freeradius IP Address)
cas.authn.radius.client.accountingPort=1813

#My Service Registry File (file name : application-10000001.json) :
---Location /etc/cas/services---

{
  "@class" : "org.apereo.cas.services.RegexRegisteredService",
  "serviceId" : "^(https|imaps)://.*",
  "name" : "HTTPS and IMAPS",
  "id" : 10000001,
  "evaluationOrder": 99999,
  "authenticationPolicy" : {
    "@class" : 
"org.apereo.cas.services.DefaultRegisteredServiceAuthenticationPolicy",  
    "requiredAuthenticationHandlers" : ["java.util.TreeSet", [ "Radius" ]]
  }
}

#My Build.gradle files (Dependencies Registered) :

dependencies {
if (project.hasProperty("casmodules")) {
def dependencies = project.getProperty("casmodules").split(",")
dependencies.each { 
implementation "org.apereo.cas:cas-server-${it}:${casServerVersion}"
implementation 
"org.apereo.cas:cas-server-support-radius:${project.'cas.version'}"
implementation 
"org.apereo.cas:cas-server-support-simple-mfa:${project.'cas.version'}"
}
}

// https://mvnrepository.com/artifact/gnu.getopt/java-getopt
compile group: 'gnu.getopt', name: 'java-getopt', version: '1.0.13'

compile 
"org.apereo.cas:cas-server-webapp${project.appServer}:${casServerVersion}"

// Other CAS dependencies/modules may be listed here...
compile 
"org.apereo.cas:cas-server-support-json-service-registry:${casServerVersion}"
}

--------------------------------------------------------------------
*#My Freeradius Config for the cas server*

Nas IP = 192.168.1.3 (my CAS Server IP Address)
Secret = casserver
(pictures attached)


-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/01610a61-ddda-4e6c-947e-b6a45c06c247n%40apereo.org.

Reply via email to