By: Andrew Cassera user 18 Jan 2021 at 3:10 p.m. CST

6 Responses
Andrew Cassera gravatar
Hello I am trying to understand the documentation related to the radiator integration into radius plugin. I have followed procedures up to the secton "Plugin Installation and Configuration". The documentation references the plugin file AuthGLUU.pm, where is this located? Also when I run the java script to create the cryptographic material I get the below output. I am concerned with the service failure and I cannot seem to get the key file to generate. Radiator and gluu are running on different VMs. Any help would be appreciated. [root@gluu radius]# java -Dlog4j.configurationFile=file:"/etc/gluu/conf/radius/g luu-radius-logging.xml" -jar super-gluu-radius-server.jar -config_file /etc/gluu /conf/radius/gluu-radius.properties -cryptogen -private_key_out /root/radiator-k ey.pem -radiator_config_out radiator-config.cfg [INFO ] 2021-01-18 15:50:32.864 [main] ServerEntry - [INFO ] 2021-01-18 15:50:32.874 [main] ServerEntry - [INFO ] 2021-01-18 15:50:32.874 [main] ServerEntry - +-------------------------- -------------------------------+ [INFO ] 2021-01-18 15:50:32.875 [main] ServerEntry - + Gluu Radius Server + [INFO ] 2021-01-18 15:50:32.875 [main] ServerEntry - + Copyright (c) Gluu Inc. + [INFO ] 2021-01-18 15:50:32.875 [main] ServerEntry - +-------------------------- -------------------------------+ [INFO ] 2021-01-18 15:50:32.876 [main] ServerEntry - Starting application in cry ptographic generation mode. Configuration file: /etc/gluu/conf/radius/gluu-radiu s.properties [INFO ] 2021-01-18 15:50:32.876 [main] ServerEntry - Initializing security compo nents [INFO ] 2021-01-18 15:50:33.098 [main] ServerEntry - Security components initial ization successful [INFO ] 2021-01-18 15:50:33.098 [main] ServerEntry - Registering bootstrap confi guration service [INFO ] 2021-01-18 15:50:33.147 [main] ServerEntry - Bootstrap configuration ser vice registered [INFO ] 2021-01-18 15:50:33.147 [main] ServerEntry - Initializing persistence la yer SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/opt/gluu/radius/libs/log4j-slf4j-impl-2.13.3. jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/opt/gluu/radius/libs/slf4j-simple-1.7.30.jar! /org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/opt/gluu/radius/libs/slf4j-log4j12-1.7.26.jar !/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. SLF4J: Actual binding is of type [org.apache.logging.slf4j.Log4jLoggerFactory] [INFO ] 2021-01-18 15:50:33.328 [main] LdapConnectionProvider - Attempting to cr eate connection pool: 1 [INFO ] 2021-01-18 15:50:33.724 [main] LdapConnectionProvider - Attempting to cr eate connection pool: 1 [INFO ] 2021-01-18 15:50:34.151 [main] LdapEntryManagerFactory - Created LdapEnt ryManager: org.gluu.persist.ldap.operation.impl.LdapOperationServiceImpl@13cda7c 9 [INFO ] 2021-01-18 15:50:34.151 [main] ServerEntry - Persistence layer initializ ation successful [INFO ] 2021-01-18 15:50:34.151 [main] ServerEntry - Registering clients service [INFO ] 2021-01-18 15:50:34.152 [main] ServerEntry - Clients service registratio n successful [INFO ] 2021-01-18 15:50:34.152 [main] ServerEntry - Registering server configur ation service [INFO ] 2021-01-18 15:50:34.152 [main] ServerEntry - Server configuration servic e registration failed [INFO ] 2021-01-18 15:50:34.153 [main] ServerEntry - Registering OpenID configur ation service [INFO ] 2021-01-18 15:50:34.612 [main] ServerEntry - OpenID configuration servic e registration successful [INFO ] 2021-01-18 15:50:34.612 [main] ServerEntry - Registering cryptographic s ervice [INFO ] 2021-01-18 15:50:34.697 [main] CryptoService - Auth signing keyId: XXXXXXXXXXXXXXXXXXXXXXX_sig_rs512 [INFO ] 2021-01-18 15:50:34.826 [main] ServerEntry - Cryptographic service regis tration successful [INFO ] 2021-01-18 15:50:34.827 [main] ServerEntry - Generating cryptographic ma terial [WARN ] 2021-01-18 15:50:36.850 [main] CryptoService - The private key file /roo t/radiator-key.pem is not writable. [INFO ] 2021-01-18 15:50:36.853 [main] ServerEntry - Cryptographic material gene ration complete

By Dzouato Djeumen Rolain Bonaventure staff 19 Jan 2021 at 4:52 a.m. CST

Dzouato Djeumen Rolain Bonaventure gravatar
Hello Andrew, I will be handling your ticket. As for your first question , you can find the file you need by cloning the following repository: https://github.com/GluuFederation/GluuRadiator As for your second concern, can you please save the output in a log file and attach it here ? In it's current format, I am finding it difficult to identify what the problem is. Sincerely, Rolain

By Andrew Cassera user 19 Jan 2021 at 11:31 a.m. CST

Andrew Cassera gravatar
Thank you for the response attached is the log.

By Dzouato Djeumen Rolain Bonaventure staff 19 Jan 2021 at 2:28 p.m. CST

Dzouato Djeumen Rolain Bonaventure gravatar
Hello sir, I could not find the logs attached to your last message. Please could you re-attach ? Thanks

By Andrew Cassera user 19 Jan 2021 at 9:35 p.m. CST

Andrew Cassera gravatar
Here is a pastebin https://pastebin.com/NECb07ey

By Dzouato Djeumen Rolain Bonaventure staff 20 Jan 2021 at 11:36 a.m. CST

Dzouato Djeumen Rolain Bonaventure gravatar
Hello sir, A quick fix would be to run `touch root/radiator_key.pem` before running the command that has been failing. It will create the file and the operation will now succeed. The issue has been noted though. Thanks for your patience.

By Andrew Cassera user 26 Jan 2021 at 8:56 p.m. CST

Andrew Cassera gravatar
I was able to get the Radiator and gluu radius configuration completed. I am testing and may have some question on the operation of radiator and gluu.