Author Topic: RCS start  (Read 725 times)

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7131
  • Karma: 56330
RCS start
« on: October 30, 2018, 07:25:10 AM »
Hi guys
I am migrating a GIR server (services totally down) and at new server when I start RCS (windows server) I get the following error:


Code: [Select]
2018-10-29T20:18:37.875 Trc 09900 com.genesyslab.rcs.model.RcsModel Keystore path is: keystore.bin
2018-10-29T20:18:37.876 Trc 09900 com.genesyslab.rcs.model.RcsModel Exception reading keystore: Exception: class java.io.IOException / Error initialising store of key store: java.security.InvalidKeyException: Illegal key size
2018-10-29T20:18:37.878 Alr 09900 com.genesyslab.rcs.controller.RcsWebMvcConfiguration Fatal error - unable to initialize cryptography, exiting now! java.io.IOException: Error initialising store of key store: java.security.InvalidKeyException: Illegal key size


I know it has to do with encryption level but don't understand how to fix it. At install documentation can't find anything related to this. Only part I can think of is this:


Code: [Select]
Copy the Local_policy.jar and Us_export_policy.jar files to the JRE_HOME/lib/security directory. If there are already copies of these files in that directory, make backup copies of these existing files in case you want to revert the installation.

However I have searched those files and can't find them at the installation DVD or folder...


Can anyone suggest? Version is 8.5.0.8076 and java is 1.8.0_121


Regards

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2625
  • Karma: 41
Re: RCS start
« Reply #1 on: October 30, 2018, 06:16:44 PM »
Genesys certified professional consultant (GVP, SIP, GIR and Troubleshooting)

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7131
  • Karma: 56330
Re: RCS start
« Reply #2 on: October 31, 2018, 11:44:31 PM »
Thanks
Even after replacing the jars it won't start...there is nothing else to do right? Should be automatic

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2625
  • Karma: 41
Re: RCS start
« Reply #3 on: November 01, 2018, 01:36:30 AM »
Are you sure you update the JCE files in right Java? It seems like the Java is still using the old (limited) JCE policies
Genesys certified professional consultant (GVP, SIP, GIR and Troubleshooting)

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7131
  • Karma: 56330
Re: RCS start
« Reply #4 on: November 01, 2018, 01:40:59 AM »
I only have 1 Java 1.8 installed, so updated at both JDK and JRE, even made my JAVA_HOME to point to JRE folder

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2625
  • Karma: 41
Re: RCS start
« Reply #5 on: November 01, 2018, 01:47:10 AM »
Try to reinstall RCS and start it again. If I recall well, there is a limitation that the JCE policy has to be update before the RCS is start for first time. If you change the JCE after first start of RCS, then RCS will always fail.
Genesys certified professional consultant (GVP, SIP, GIR and Troubleshooting)

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7131
  • Karma: 56330
Re: RCS start
« Reply #6 on: November 01, 2018, 01:56:56 AM »
Ahhh quite a note...will do!
Thanks

Offline rohank85

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
Re: RCS start
« Reply #7 on: March 12, 2020, 11:50:47 AM »
@cavagnaro - Did you fix this issue and how?

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7131
  • Karma: 56330
Re: RCS start
« Reply #8 on: March 12, 2020, 11:58:56 AM »
Yes, as kubig mentioned. Don't start the RCS until you create the file. If you did, delete it and create again


Enviado de meu SM-N9600 usando o Tapatalk


Offline rohank85

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
Re: RCS start
« Reply #9 on: March 13, 2020, 04:30:23 AM »
Thanks guys  :)

Offline varadha1988

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
Re: RCS start
« Reply #10 on: March 19, 2020, 03:36:45 AM »
You tried renaming the keystore.bin file. Also check environment variables for java and jre in place


Sent from my iPhone using Tapatalk