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
- 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/992fbe29-7615-4c43-aca7-b686d10d27f8%40apereo.org.