Have you had a chance to look through David Curry's guide? It's thorough and well laid out, and should get you on the road to successfully setting up CAS.
https://dacurry-tns.github.io/deploying-apereo-cas/introduction_overview.html [image: Aims Community College Top Work Places 2018 - The Denver Post] Matt Uribe Programmer Analyst II Information Technology Aims Community College 970.339.6375 [email protected] 5401 W. 20th Street <https://maps.google.com/?q=5401+W.+20th+Street+Greeley,+CO,+80634&entry=gmail&source=g> Greeley, CO, 80634 <https://maps.google.com/?q=5401+W.+20th+Street+Greeley,+CO,+80634&entry=gmail&source=g> www.aims.edu <https://www.aims.edu/about/social-media/> *IT staff will never ask you for your username and password. * *Always decline to provide the information and report such attempts to the Help Desk (x6380).* On Fri, Sep 14, 2018 at 12:35 PM, Zach Tackett <[email protected]> wrote: > I am completely new to CAS, server side management. New job, boss asked me > to setup CAS on a CentOS 7 server > > Installed Java8, tomcat, cloned down the cas-overlay-template (maven) > > I am getting stuck at this point. I have went back into the logs and set > the values it is issuing warnings on, and it still comes up with the > warnings for the signing and encryption keys. All of the documentation I > have been able to find and understand is old, or useless > > [INFO] Scanning for projects... > [INFO] > [INFO] Using the MultiThreadedBuilder implementation with a thread count > of 5 > [INFO] > [INFO] ------------------------------------------------------------ > ------------ > [INFO] Building cas-overlay 1.0 > [INFO] ------------------------------------------------------------ > ------------ > [INFO] > [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cas-overlay --- > [INFO] Deleting /home/entapps/cas-overlay-template/target > [INFO] > [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ > cas-overlay --- > [INFO] Using 'UTF-8' encoding to copy filtered resources. > [INFO] skip non existing resourceDirectory /home/entapps/cas-overlay- > template/src/main/resources > [INFO] > [INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ > cas-overlay --- > [INFO] No sources to compile > [INFO] > [INFO] --- maven-resources-plugin:2.6:testResources > (default-testResources) @ cas-overlay --- > [INFO] Using 'UTF-8' encoding to copy filtered resources. > [INFO] skip non existing resourceDirectory /home/entapps/cas-overlay- > template/src/test/resources > [INFO] > [INFO] --- maven-compiler-plugin:3.3:testCompile (default-testCompile) @ > cas-overlay --- > [INFO] No sources to compile > [INFO] > [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ cas-overlay > --- > [INFO] No tests to run. > [INFO] > [INFO] --- maven-war-plugin:2.6:war (default-war) @ cas-overlay --- > [INFO] Packaging webapp > [INFO] Assembling webapp [cas-overlay] in [/home/entapps/cas-overlay- > template/target/cas] > [info] Copying manifest... > [INFO] Processing war project > [INFO] Processing overlay [ id org.apereo.cas:cas-server-webapp-tomcat] > [INFO] Webapp assembled in [1278 msecs] > [INFO] Building war: /home/entapps/cas-overlay-template/target/cas.war > [INFO] > [INFO] --- spring-boot-maven-plugin:1.5.12.RELEASE:repackage (default) @ > cas-overlay --- > [INFO] Layout: WAR > [INFO] ------------------------------------------------------------ > ------------ > [INFO] BUILD SUCCESS > [INFO] ------------------------------------------------------------ > ------------ > [INFO] Total time: 7.112 s (Wall Clock) > [INFO] Finished at: 2018-09-14T14:28:55-04:00 > [INFO] Final Memory: 13M/39M > [INFO] ------------------------------------------------------------ > ------------ > > __ ____ _ ____ __ > / / / ___| / \ / ___| \ \ > | | | | / _ \ \___ \ | | > | | | |___ / ___ \ ___) | | | > | | \____| /_/ \_\ |____/ | | > \_\ /_/ > > CAS Version: 5.2.6 > CAS Commit Id: f5118fffa39b90da780500631d1dffcc296bbc08 > CAS Build Date/Time: 2018-09-14T18:28:54Z > Spring Boot Version: 1.5.12.RELEASE > ------------------------------------------------------------ > Java Home: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.181-3.b13.el7_5. > x86_64/jre > Java Vendor: Oracle Corporation > Java Version: 1.8.0_181 > JVM Free Memory: 7 MB > JVM Maximum Memory: 444 MB > JVM Total Memory: 39 MB > JCE Installed: Yes > ------------------------------------------------------------ > OS Architecture: amd64 > OS Name: Linux > OS Version: 3.10.0-862.11.6.el7.x86_64 > OS Date/Time: 2018-09-14T14:29:07.867 > OS Temp Directory: /tmp > ------------------------------------------------------------ > Apache Tomcat Version: Apache Tomcat/8.5.31 > ------------------------------------------------------------ > > > 2018-09-14 14:29:08,185 INFO [org.apereo.cas.configuration.config. > CasCoreBootstrapStandaloneConfiguration] - <Configuration files found at > [/etc/cas/config] are [[/etc/cas/config/application.yml, > /etc/cas/config/cas.properties]]> > 2018-09-14 14:29:08,285 INFO [org.apereo.cas.configuration.config. > CasCoreBootstrapStandaloneConfiguration] - <Found and loaded [38] > setting(s) from [/etc/cas/config]> > 2018-09-14 14:29:08,286 INFO [org.springframework.cloud.bootstrap.config. > PropertySourceBootstrapConfiguration] - <Located property source: > PropertiesPropertySource {name='standaloneCasConfigService'}> > 2018-09-14 14:29:17,050 WARN > [org.apereo.cas.config.CasCoreTicketsConfiguration] > - <Runtime memory is used as the persistence storage for retrieving and > managing tickets. Tickets that are issued during runtime will be LOST upon > container restarts. This MAY impact SSO functionality.> > 2018-09-14 14:30:10,002 WARN > [org.apereo.cas.config.CasCoreServicesConfiguration] > - <Runtime memory is used as the persistence storage for retrieving and > persisting service definitions. Changes that are made to service > definitions during runtime WILL be LOST upon container restarts. Ideally > for production, you need to choose a storage option (JDBC, etc) to store > and track service definitions.> > 2018-09-14 14:30:11,016 WARN > [org.apereo.cas.util.cipher.BaseStringCipherExecutor] > - <Secret key for encryption is not defined for [Ticket-granting Cookie]; > CAS will attempt to auto-generate the encryption key> > 2018-09-14 14:30:11,031 WARN > [org.apereo.cas.util.cipher.BaseStringCipherExecutor] > - <Generated encryption key [ntYWaumohB2mKgvNtQIkjfYil25I8DedEd4br8emuAw] > of size [256] for [Ticket-granting Cookie]. The generated key MUST be added > to CAS settings under setting [cas.tgc.crypto.encryption.key].> > 2018-09-14 14:30:11,032 WARN > [org.apereo.cas.util.cipher.BaseStringCipherExecutor] > - <Secret key for signing is not defined for [Ticket-granting Cookie]. CAS > will attempt to auto-generate the signing key> > 2018-09-14 14:30:11,032 WARN > [org.apereo.cas.util.cipher.BaseStringCipherExecutor] > - <Generated signing key [RF62Dz4ixiuuRDPnzC352_ > lK7zOG5SU8edMNiy4ZoCTIfL3ry5mJrK2ThHXKTTcC2COj95UALR3K3fFJ_Rgo6Q] of size > [512] for [Ticket-granting Cookie]. The generated key MUST be added to CAS > settings under setting [cas.tgc.crypto.signing.key].> > 2018-09-14 14:30:12,166 WARN > [org.apereo.cas.util.cipher.BaseBinaryCipherExecutor] > - <Secret key for signing is not defined under > [cas.webflow.crypto.signing.key]. > CAS will attempt to auto-generate the signing key> > 2018-09-14 14:30:12,167 WARN > [org.apereo.cas.util.cipher.BaseBinaryCipherExecutor] > - <Generated signing key [ecLjAaJ21svS7ZBCAjEAvRcXVK7N8- > B4BKhhoMBDkdtTURknEvCFBidNx21e3aS3JHcrYHMpsqH9IjtNwxYhGg] of size [512]. > The generated key MUST be added to CAS settings under setting > [cas.webflow.crypto.signing.key].> > 2018-09-14 14:30:12,167 WARN > [org.apereo.cas.util.cipher.BaseBinaryCipherExecutor] > - <Secret key for encryption is not defined under > [cas.webflow.crypto.encryption.key]. > CAS will attempt to auto-generate the encryption key> > 2018-09-14 14:30:12,169 WARN > [org.apereo.cas.util.cipher.BaseBinaryCipherExecutor] > - <Generated encryption key [QuIZQQ5PQFcLtPPQiiOEGw] of size [16]. The > generated key MUST be added to CAS settings under setting > [cas.webflow.crypto.encryption.key].> > > Can someone please point me in the right direction? > > -- > - Website: https://apereo.github.io/cas > <https://urldefense.proofpoint.com/v2/url?u=https-3A__apereo.github.io_cas&d=DwMFaQ&c=spdyCQlbcMzVK9-MvWb-WQ&r=auWoa16BPqAWqsx-0-lnCDVAVu-ZWi_vyIfKhfMtR_E&m=izb3aTXxtrRKPM5fPbme95xOyhKJBShIMDwoJ2v8UKQ&s=Yvb2qbm_2qSAQjhEq1ao6GbwkeSohZfk0XjeEuzlW6Y&e=> > - Gitter Chatroom: https://gitter.im/apereo/cas > <https://urldefense.proofpoint.com/v2/url?u=https-3A__gitter.im_apereo_cas&d=DwMFaQ&c=spdyCQlbcMzVK9-MvWb-WQ&r=auWoa16BPqAWqsx-0-lnCDVAVu-ZWi_vyIfKhfMtR_E&m=izb3aTXxtrRKPM5fPbme95xOyhKJBShIMDwoJ2v8UKQ&s=BjJcmhUBMhmtEK0AQ-0nZ7lTfbpcpgUJs6vSTgK4HcA&e=> > - List Guidelines: https://goo.gl/1VRrw7 > <https://urldefense.proofpoint.com/v2/url?u=https-3A__goo.gl_1VRrw7&d=DwMFaQ&c=spdyCQlbcMzVK9-MvWb-WQ&r=auWoa16BPqAWqsx-0-lnCDVAVu-ZWi_vyIfKhfMtR_E&m=izb3aTXxtrRKPM5fPbme95xOyhKJBShIMDwoJ2v8UKQ&s=MgfHxaE0i1nd0c33x19Ue1dLOvyGQAjT4bjvf-KmXL0&e=> > - Contributions: https://goo.gl/mh7qDG > <https://urldefense.proofpoint.com/v2/url?u=https-3A__goo.gl_mh7qDG&d=DwMFaQ&c=spdyCQlbcMzVK9-MvWb-WQ&r=auWoa16BPqAWqsx-0-lnCDVAVu-ZWi_vyIfKhfMtR_E&m=izb3aTXxtrRKPM5fPbme95xOyhKJBShIMDwoJ2v8UKQ&s=b3jiv_W17x9XyjKFREZ1rs-p5D_Ba5RDc3xwENeYGEk&e=> > --- > 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 [email protected]. > To view this discussion on the web visit https://groups.google.com/a/ > apereo.org/d/msgid/cas-user/992fbe29-7615-4c43-aca7- > b686d10d27f8%40apereo.org > <https://urldefense.proofpoint.com/v2/url?u=https-3A__groups.google.com_a_apereo.org_d_msgid_cas-2Duser_992fbe29-2D7615-2D4c43-2Daca7-2Db686d10d27f8-2540apereo.org-3Futm-5Fmedium-3Demail-26utm-5Fsource-3Dfooter&d=DwMFaQ&c=spdyCQlbcMzVK9-MvWb-WQ&r=auWoa16BPqAWqsx-0-lnCDVAVu-ZWi_vyIfKhfMtR_E&m=izb3aTXxtrRKPM5fPbme95xOyhKJBShIMDwoJ2v8UKQ&s=aqvV7W2PHWDAkAwdXXTu6cjhtz3igAkN5v11qboRTuo&e=> > . > -- - 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 [email protected]. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/CA%2Bdxy9e026gmpGMA%3DSUJyTLHQN4_sEiT7YaP33fwHb5C4z48MA%40mail.gmail.com.
