Generate Keys for Hazelcast Ticket Registry

52 views
Skip to first unread message

Adam Causey

unread,
Feb 2, 2018, 4:39:00 PM2/2/18
to cas-...@apereo.org
I am using Hazelcast for my ticket registry, but would like to encrypt the traffic using AES. The CAS properties list these:

cas.ticket.registry.hazelcast.crypto.signing.key=
cas.ticket.registry.hazelcast.crypto.signing.keySize=512
cas.ticket.registry.hazelcast.crypto.encryption.key=
cas.ticket.registry.hazelcast.crypto.encryption.keySize=16
cas.ticket.registry.hazelcast.crypto.alg=AES

However, I am not sure how to create keys. Does anyone know the best way to go about this?

Thank you,
Adam



Man H

unread,
Feb 2, 2018, 4:43:33 PM2/2/18
to cas-...@apereo.org

--
- 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+unsubscribe@apereo.org.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAN6MV5PmU-mSeqtzwxMtRSdkd5bWww97GGjx0kygiR_hhAa4pA%40mail.gmail.com.

David Curry

unread,
Feb 2, 2018, 4:45:40 PM2/2/18
to cas-...@apereo.org
I'm not using Hazelcast, but given the property names and key sizes, I'm guessing it's the same way you generate them for the ticket granting cookie encryption and Spring Webflow encryption properties.

See:


and


There's also official CAS documentation on it somewhere (I'm sure I've seen it), but I can't seem to find it right this minute.

--Dave


--

DAVID A. CURRY, CISSP
DIRECTOR OF INFORMATION SECURITY
INFORMATION TECHNOLOGY

71 FIFTH AVE., 9TH FL., NEW YORK, NY 10003
+1 212 229-5300 x4728david...@newschool.edu

The New School


Reply all
Reply to author
Forward
0 new messages