typo in the key name. It worked perfectly for me once i generated the
value with openssl instead of jwk-gen.jar
--
Curtis Ruck
On Fri, Sep 14, 2018 at 2:47 PM Zach Tackett wrote:
> I tried this and it still says
>
> [cas.webflow.crypto.encryption.key]. CAS will attempt to auto-generate the
I believe this is the detail that is missing. I was following
the
https://apereo.github.io/cas/5.3.x/installation/Configuration-Properties-Common.html#signing--encryption
documentation. Didn't see the line at webflow about "The encryption key
must be randomly-generated string of size f16.
The encryption key for Spring Webflow (cas.webflow.crypto.encryption.key)
is not a JSON Web Key. It's a randomly-generated string of 16 octets,
Base64-encoded. You can generate it with OpenSSL:
openssl rand -base64 16 > webflow-enc.txt
Also, I believe you need a '-s' in front of the size
and perhaps if you go through David’s step-by-step it will show you what is off
in your current approach.
From: cas-user@apereo.org [mailto:cas-user@apereo.org] On Behalf Of Curtis Ruck
Sent: Thursday, September 13, 2018 4:01 PM
To: CAS Community
Subject: [cas-user] Re: encryption and signing