July 2018
Intermediate to advanced
268 pages
7h 36m
English
Navigate to the cas-sample/server/src/main/resources/etc/cas folder in a shell and execute the following command:
keytool -genkey -keyalg RSA -alias thekeystore -keystore thekeystore -storepass password -validity 360 -keysize 2048
The following figure shows the successful execution of the preceding command in a command prompt window:

It's important to note that for the SSL handshake to work properly, most of the values while generating the keystore are put as localhost. This is an important step and needs to be followed without fail.
Read now
Unlock full access