embedded tomcat error

241 views
Skip to first unread message

Mm Mm

unread,
Feb 7, 2024, 2:08:36 AM2/7/24
to CAS Community
when I run cas in embedded tomcat mode the following error appears when visiting the login page 

ERROR [org.apereo.cas.web.flow.executor.EncryptedTranscoder] - <java.security.InvalidAlgorithmParameterException: AlgorithmParameterSpec not of GCMParameterSpec

I am using cas7.0.0

any suggestions ?

Vaibhav GPT

unread,
Feb 12, 2024, 8:07:06 AM2/12/24
to CAS Community, Mm Mm
Hi try adding this in cas.properties and see if it helps

cas.webflow.crypto.enabled=false

Meysam Shirazi

unread,
Apr 9, 2024, 7:02:59 AM4/9/24
to CAS Community, Vaibhav GPT, Mm Mm
Hi
Define 128  key length to use GCMParameterSpec instead of IvParameterSpec:
cas.webflow.crypto.encryption.key-size:128

Christian

unread,
Jan 22, 2025, 6:22:44 AM1/22/25
to CAS Community, Meysam Shirazi, Vaibhav GPT, Mm Mm
Hi, I also have this same problem in version 7.1.1, did anyone find a solution to make it work properly?

Also, when I use the line
cas.webflow.crypto.enabled=false
and log in, the error continues to appear

<java.security.InvalidAlgorithmParameterException: AlgorithmParameterSpec not of GCMParameterSpec>
I started it in a completely empty instance of CAS from the Cas Initializr page

Andrew Tillinghast

unread,
Jan 22, 2025, 10:57:00 AM1/22/25
to cas-...@apereo.org, Meysam Shirazi, Vaibhav GPT, Mm Mm
cas.webflow.crypto.encryption.key-size:128
Worked for me.

--
- Website: https://apereo.github.io/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 visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/fd20e0ee-df99-4c15-bcb1-863db539230dn%40apereo.org.


--

Andrew Tillinghast
Sr. Tech Lead Identity and Access Management 
270 Mohegan Avenue
New London, CT 06320-4196
P Think before you print
CONFIDENTIALITY: This email (including any attachments) may contain confidential, proprietary and privileged information, and unauthorized disclosure or use is prohibited. If you received this email in error, please notify the sender and delete this email from your system.

Reply all
Reply to author
Forward
0 new messages