So i'm trying to automate the generation and persistence of the cas.tgc.crypto and cas.webflow.crypto encryption and signing keys.
I'm using the jwk-gen.jar, and when i store the key in cas.properties, i end up with "Invalid AES key length: 43 bytes" when trying to access the login page. If I let CAS generate a key, its the same exact string length (43 bytes). What is different between my key versus cas's generated keys? Then i'm extracting the k value from the json, and inserting it into my cas.properties. java -jar jwk-gen.jar -t oct 256 -o tgc-enc.jwks java -jar jwk-gen.jar -t oct 512 -o tgc-sig.jwks java -jar jwk-gen.jar -t oct 256 -o webflow-enc.jwks java -jar jwk-gen.jar -t oct 512 -o webflow-sig.jwks -- - 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/6cb360e9-214d-4659-9f0f-7e68b17dd3a4%40apereo.org.
