BaseStringCipherExecutor Exception

183 views
Skip to first unread message

Sankalp Sharma

unread,
Apr 27, 2016, 7:27:34 AM4/27/16
to CAS Community
Hi there,

I am trying to setup cas 4.1.7 in my project, but even after defining 

# The encryption secret key. By default, must be a octet string of size 256.
 webflow.encryption.key=K_JTCq8uRbvugXAOjPLqxPbNcpMYmxbpkqG6Th1nfSo

# The signing secret key. By default, must be a octet string of size 512.
 webflow.signing.key=chgXCqVshPIGkeBR8E1UukR6HBGPY9-NfsxtyYslgB_4tobs3uRmDnqKCOuhUuRS633cmFZsbRDqL4g_eQTlMQ

I got the following error :-

2016-04-27 16:49:32,886 WARN [org.jasig.cas.util.BaseStringCipherExecutor] - <Secret key for encryption is not defined. CAS will attempt to auto-generate the encryption key>
2016-04-27 16:49:32,894 WARN [org.jasig.cas.util.BaseStringCipherExecutor] - <Generated encryption key zDmd-ou74WWVJ53raNUDCBPAeQb7ic8bwJLqqTNcDyk of size 256. The generated key MUST be added to CAS settings.>
2016-04-27 16:49:32,895 WARN [org.jasig.cas.util.BaseStringCipherExecutor] - <Secret key for signing is not defined. CAS will attempt to auto-generate the signing key>
2016-04-27 16:49:32,895 WARN [org.jasig.cas.util.BaseStringCipherExecutor] - <Generated signing key 1lLqD8Gu8tkcYA3RtI4zucsXt-gQuKU0PmMzOcc-dk8i4Tu8RD8GSRs6Ln_Dje-cEt0vuaBH8EYXE0wrCQWBog of size 512. The generated key MUST be added to CAS settings.>
2016-04-27 16:49:34,799 INFO [org.jasig.cas.util.AutowiringSchedulerFactoryBean] - <Starting Quartz Scheduler now>


Can anyone help me in rectifying the error :-

Best Regards,
Sankalp

Misagh Moayyed

unread,
Apr 27, 2016, 3:35:00 PM4/27/16
to CAS Community

Did you define the TGC keys too?

 

--
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+u...@apereo.org.
To post to this group, send email to cas-...@apereo.org.
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/60c20166-3322-45d0-b269-8dd1a6afe79c%40apereo.org.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.

Reply all
Reply to author
Forward
0 new messages