Creating a local SSL keystore

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:

Figure 3: Creation of SSL keystore

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.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.218.8.225