By: Thomas Friedl user 27 Jul 2022 at 2 a.m. CDT

4 Responses
Thomas Friedl gravatar
I can't get the Radius server to work - all authentication requests to it fail. It's a fresh install. The radius logs show the following: ``` [INFO ] 2022-07-27 06:44:15.545 [main] ServerEntry - [INFO ] 2022-07-27 06:44:15.563 [main] ServerEntry - [INFO ] 2022-07-27 06:44:15.564 [main] ServerEntry - +---------------------------------------------------------+ [INFO ] 2022-07-27 06:44:15.564 [main] ServerEntry - + Gluu Radius Server + [INFO ] 2022-07-27 06:44:15.564 [main] ServerEntry - + Copyright (c) Gluu Inc. + [INFO ] 2022-07-27 06:44:15.565 [main] ServerEntry - +---------------------------------------------------------+ [INFO ] 2022-07-27 06:44:15.565 [main] ServerEntry - Starting application in server mode. Configuration file: /etc/gluu/conf/radius/gluu-radius.properties [INFO ] 2022-07-27 06:44:15.566 [main] ServerEntry - Initializing security components [INFO ] 2022-07-27 06:44:15.879 [main] ServerEntry - Security components initialization successful [INFO ] 2022-07-27 06:44:15.879 [main] ServerEntry - Registering bootstrap configuration service [INFO ] 2022-07-27 06:44:15.903 [main] ServerEntry - Bootstrap configuration service registered [INFO ] 2022-07-27 06:44:15.903 [main] ServerEntry - Initializing persistence layer [INFO ] 2022-07-27 06:44:16.114 [main] Reflections - Reflections took 136 ms to scan 11 urls, producing 41 keys and 130 values [INFO ] 2022-07-27 06:44:16.146 [main] PersistanceFactoryService - Found '5' PersistenceEntryManagerFactory [INFO ] 2022-07-27 06:44:16.146 [main] PersistanceFactoryService - Found PersistenceEntryManagerFactory 'class org.gluu.orm.couchbase.impl.CouchbaseEntryManagerFactory' [INFO ] 2022-07-27 06:44:16.178 [main] PersistanceFactoryService - Found PersistenceEntryManagerFactory 'class org.gluu.persist.sql.impl.SqlEntryManagerFactory' [INFO ] 2022-07-27 06:44:16.179 [main] PersistanceFactoryService - Found PersistenceEntryManagerFactory 'class org.gluu.orm.hybrid.impl.HybridEntryManagerFactory' [INFO ] 2022-07-27 06:44:16.179 [main] PersistanceFactoryService - Found PersistenceEntryManagerFactory 'class org.gluu.persist.ldap.impl.LdapEntryManagerFactory' [INFO ] 2022-07-27 06:44:16.180 [main] PersistanceFactoryService - Found PersistenceEntryManagerFactory 'class org.gluu.persist.cloud.spanner.impl.SpannerEntryManagerFactory' [INFO ] 2022-07-27 06:44:16.477 [main] LdapConnectionProvider - Attempting to create connection pool: 1 [INFO ] 2022-07-27 06:44:17.274 [main] LdapConnectionProvider - Attempting to create connection pool: 1 [INFO ] 2022-07-27 06:44:17.603 [main] LdapConnectionProvider - Attempting to create connection pool: 1 [INFO ] 2022-07-27 06:44:18.235 [main] LdapEntryManagerFactory - Created LdapEntryManager: org.gluu.persist.ldap.operation.impl.LdapOperationServiceImpl@1b29d52b [INFO ] 2022-07-27 06:44:18.236 [main] ServerEntry - Persistence layer initialization successful [INFO ] 2022-07-27 06:44:18.237 [main] ServerEntry - Registering clients service [INFO ] 2022-07-27 06:44:18.238 [main] ServerEntry - Clients service registration successful [INFO ] 2022-07-27 06:44:18.241 [main] ServerEntry - Registering server configuration service [INFO ] 2022-07-27 06:44:18.242 [main] ServerEntry - Server configuration service registration failed [INFO ] 2022-07-27 06:44:18.249 [main] ServerEntry - Registering OpenID configuration service [INFO ] 2022-07-27 06:44:19.157 [main] ServerEntry - OpenID configuration service registration successful [INFO ] 2022-07-27 06:44:19.157 [main] ServerEntry - Registering cryptographic service [ERROR] 2022-07-27 06:44:19.167 [main] ServerEntry - Security Mode wasn't initialized. Call installBCProvider() before java.security.InvalidParameterException: Security Mode wasn't initialized. Call installBCProvider() before at org.gluu.oxauth.model.crypto.OxAuthCryptoProvider.solveKeyStorageType(OxAuthCryptoProvider.java:560) ~[oxauth-model-4.4.0.Final.jar:?] at org.gluu.oxauth.model.crypto.OxAuthCryptoProvider.<init>(OxAuthCryptoProvider.java:104) ~[oxauth-model-4.4.0.Final.jar:?] at org.gluu.oxauth.model.crypto.OxAuthCryptoProvider.<init>(OxAuthCryptoProvider.java:94) ~[oxauth-model-4.4.0.Final.jar:?] at org.gluu.oxauth.model.crypto.OxAuthCryptoProvider.<init>(OxAuthCryptoProvider.java:90) ~[oxauth-model-4.4.0.Final.jar:?] at org.gluu.radius.service.CryptoService.<init>(CryptoService.java:63) ~[super-gluu-radius-server.jar:?] at org.gluu.radius.ServerEntry.registerCryptoService(ServerEntry.java:355) ~[super-gluu-radius-server.jar:?] at org.gluu.radius.ServerEntry.main(ServerEntry.java:145) ~[super-gluu-radius-server.jar:?] [ERROR] 2022-07-27 06:44:19.172 [main] ServerEntry - Cryptographic service registration failed ``` I also posted it here https://support.gluu.org/outages/7549/gluu-radius-failed/ but I realised the ticket is closed - sorry for any inconvenience.

By Dzouato Djeumen Rolain Bonaventure staff 27 Jul 2022 at 2:19 a.m. CDT

Dzouato Djeumen Rolain Bonaventure gravatar
Hello Thomas, What version of Gluu exactly are you using ?

By Thomas Friedl user 27 Jul 2022 at 2:29 a.m. CDT

Thomas Friedl gravatar
4.4.0.Final

By Dzouato Djeumen Rolain Bonaventure staff 27 Jul 2022 at 3:07 a.m. CDT

Dzouato Djeumen Rolain Bonaventure gravatar
Hello Thomas, This bug has been recently fixed but it will require you patching your installation. Download the file at [this link](https://jenkins.gluu.org/maven/org/gluu/super-gluu-radius-server/4.4.0.Final/super-gluu-radius-server-4.4.0.Final.jar). Then replace the file `/opt/gluu/radius/super-gluu-radius-server.jar` with it. Make sure it has the same file name as the old file , i.e. `super-gluu-radius-server.jar`. Restart radius with `service gluu-radius stop` then `service gluu-radius start`. That should do it.

By Thomas Friedl user 16 Aug 2022 at 1:43 a.m. CDT

Thomas Friedl gravatar
Worked. Thanks