Hi,
I'm trying to make CAS 5.0.2 works with maven overlay methods.
I am using memcached for ticket registry.
When using no signing key and no encryption key, it is working well. I can
authentifcate (/cas/login successfull) and reused TGC to be recognized
again (/cas/login successfull without entering login/password).
But when trying to set signing key and encryption key, I get errors :
2017-01-17 11:11:54,640 ERROR
> [org.apereo.cas.util.cipher.DefaultTicketCipherExecutor] -
> <org.jose4j.lang.JoseException: A JWS Compact Serialization must have
> exactly 3 parts separated by period ('.') characters>
> java.lang.RuntimeException: org.jose4j.lang.JoseException: A JWS Compact
> Serialization must have exactly 3 parts separated by period ('.') characters
>
>
My cas.properties configuration contains :
cas.ticket.registry.memcached.servers=localhost:11211
> cas.ticket.registry.memcached.locatorType=ARRAY_MOD
> cas.ticket.registry.memcached.failureMode=Redistribute
> cas.ticket.registry.memcached.hashAlgorithm=FNV1_64_HASH
>
>
> cas.ticket.registry.memcached.crypto.signing.key=GxAEeCbIFTxm5z3vFXUBl8lwu_ozJCfv4byZIjBBqCkFfbZfiSxdGmMVry0mEVvK0hODMcTH6EzTJjnekYx5TA
> cas.ticket.registry.memcached.crypto.signing.keySize=512
> cas.ticket.registry.memcached.crypto.encryption.key=xITjJFDMyCysgfld
> cas.ticket.registry.memcached.crypto.encryption.keySize=16
>
>
I am not sure I configured keys correctly. I wanted to use
json-web-key-generator, but I do not known which argument to use.
Can someone help me to configure memcached keys ?
Thanks
--
- CAS gitter chatroom: https://gitter.im/apereo/cas
- CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html
- CAS documentation website: https://apereo.github.io/cas
- CAS project website: https://github.com/apereo/cas
---
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/52b8f654-1b1a-43b5-9d90-cff9a79110ce%40apereo.org.