TGC invalid after cas server restart

61 views
Skip to first unread message

Sayan Saha

unread,
Apr 24, 2021, 11:51:15 PM4/24/21
to CAS Community

Is it possible to login into the cas server after restarting it?

I am using jpa ticket registry for the TGTs and also have extended the lifetime of the TGC cookie.
But, after restarting cas still redirects me to the login page even though I can see that the TGC cookie is present in the network tab.

Please

King, Robert

unread,
Apr 26, 2021, 8:39:44 AM4/26/21
to cas-...@apereo.org

Do you have the CAS tgc encryption and signing keys defined for your ticket registry?  If you do not define them, CAS will automatically generate a new set on startup.  This behavior will render previous TGCs in your jpa registry as useless.

 

cas.tgc.crypto.encryption.key=

cas.tgc.crypto.signing.key=

 

https://apereo.github.io/cas/6.3.x/configuration/Configuration-Properties.html#signing--encryption-4

https://apereo.github.io/cas/6.3.x/configuration/Configuration-Properties-Common.html#signing--encryption

--
- 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 cas-user+u...@apereo.org.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/d9f19fbe-0bd3-48f5-b039-5257681036b8n%40apereo.org.

Sayan Saha

unread,
Apr 26, 2021, 4:20:53 PM4/26/21
to CAS Community, ro...@mun.ca
Thank you so much. Setting those properties resolved it.
Reply all
Reply to author
Forward
0 new messages