O'Reilly logo

OpenAM by Indira Thangasamy

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Configuring Tomcat in SSL using CA signed certificate

Let us learn together how quickly one can enable the SSL for the second Tomcat container you have configured in Chapter 2.

The first step in setting up the SSL is to create a JKS-based key store using the keytool command:

keytool -genkey -alias packt-cert -keystore packt-keystore.jks -keyalg RSA -dname "cn=opensso2.packt-services.net,ou=identity,o=packt services,l=livermore,c=US" -storepass mysecret -keypass mysecret

This step completes the key store creation with the name packt-keystore.jks with both key and store password set to mysecret. The cn value in the -dname option must match your OpenSSO web container's name to successfully perform the SSL server authentication. To show the OCSP ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required